put YAMG as a map generator rather than as a scenario generator

this way is a lot less buggy, the other way seems to cause
mysterious crashes
This commit is contained in:
Chris Beck 2014-11-05 14:39:53 -05:00
parent 43e3d37a21
commit e85eb66f5b

View file

@ -5,26 +5,8 @@
id=multiplayer_Random_YAMG_Map
name= _ "Random map by YAMG"
description= _ "Randomly generated map. Note: random maps are often unbalanced, but if you have time, you can regenerate them until you get a good one."
scenario_generation=yamg
map_generation=yamg
[generator]
[scenario]
name= _ "Random map"
id=multiplayer_Random_Map
{DEFAULT_MUSIC_PLAYLIST}
{DEFAULT_SCHEDULE}
[event]
name=prestart
{SCATTER_EMBELLISHMENTS G* ^Efm 7}
{SCATTER_EMBELLISHMENTS Re,Rb,Gd ^Gvs 5}
{SCATTER_EMBELLISHMENTS G*,D*,R*,Uu*,Ur* ^Es 2}
{SCATTER_EMBELLISHMENTS G*,R*,Uu*,Ur* ^Em 2}
{SCATTER_EMBELLISHMENTS Uu* ^Emf 2}
{SCATTER_EMBELLISHMENTS D* ^Edp 2}
{SCATTER_EMBELLISHMENTS G*,R* ^Wm 0.25}
[/event]
[/scenario]
name=default
map_width=40
map_height=40
@ -256,4 +238,18 @@
[/village_naming]
[/generator]
#undef MIN_COST_ROAD
{DEFAULT_MUSIC_PLAYLIST}
{DEFAULT_SCHEDULE}
[event]
name=prestart
{SCATTER_EMBELLISHMENTS G* ^Efm 7}
{SCATTER_EMBELLISHMENTS Re,Rb,Gd ^Gvs 5}
{SCATTER_EMBELLISHMENTS G*,D*,R*,Uu*,Ur* ^Es 2}
{SCATTER_EMBELLISHMENTS G*,R*,Uu*,Ur* ^Em 2}
{SCATTER_EMBELLISHMENTS Uu* ^Emf 2}
{SCATTER_EMBELLISHMENTS D* ^Edp 2}
{SCATTER_EMBELLISHMENTS G*,R* ^Wm 0.25}
[/event]
[/multiplayer]