{
	"maps": {
		"diffusion": {
			"fire-hazard": {
				"rate": 0.2,
				"min": 0.02,
				"decay": 0.001
			},
			"crime": {
				"rate": 0.25,
				"min": 0.1,
				"decay": 0.001
			}
		}
	},
	"sim": {
		"crimeMinResidentCount": 20,
		"crimeResWorkerRatioTrigger": 2,
		"residents": {
			"assignments": [
				{ "houses": [ "bldg-house-tent-1", "bldg-house-tent-2", "bldg-house-tent-3", "bldg-house-0-1", "bldg-house-1-1", "bldg-house-1-2" ],
				  "npcs": [ "npc-farmer", "npc-miner" ] },
				{ "houses": [ "bldg-house-2-1", "bldg-house-2-2" ],
				  "npcs": [ "npc-farmer", "npc-miner", "npc-shopkeep", "npc-trader", "npc-barkeep-walker" ] },
				{ "houses": [ "bldg-house-3-1", "bldg-house-3-2", "bldg-house-3-3" ],
				  "npcs": [ "npc-shopkeep", "npc-trader", "npc-barkeep-walker", "npc-lady" ] },
				{ "houses": [ "" ],
				  "npcs": [ "npc-unemployed" ] }
			]
		}
	},
	"tutorials": {
		"contextual": [{
			"name": "help-pop",
			"message": "dialog.pophelp.pop",
			"icon": "help_house.png",
			"goals": [
				{
					"_type": "somasim.game.goals::GoalHavePopulation",
					"id": "help-pop-goal-1",
					"residents": 15
				}
			]
		},	 {
			"name": "help-unemployment",
			"message": "dialog.pophelp.unemployment",
			"icon": "help_unemployed.png",
			"tickerwarn": true,
			"goals": [
				{
					"_type": "somasim.game.goals::GoalHaveUnemployment",
					"id": "help-unemployment-goal-1"
				}
			]
		}, {
			"name": "help-no-food",
			"message": "dialog.pophelp.no-food",
			"icon": "help_nofood.png",
			"tickerwarn": true,
			"goals": [
				{
					"_type": "somasim.game.goals::GoalHaveNoFood",
					"id": "help-no-food-goal-1"
				}
			]
		}, {
			"name": "help-move-out",
			"message": "dialog.pophelp.move-out",
			"tickerwarn": true,
			"icon": "help_leaving.png"
		}]
	},
	"allcities": [
		{ "name": "dayton", "x": 634, "y": 274 },
		{ "name": "washoecity", "x": 339, "y": 111 },
		{ "name": "silvercity", "x": 576, "y": 220 },
		{ "name": "goldhill", "x": 558, "y": 187 },
		{ "name": "virginiacity", "x": 562, "y": 148 },
		{ "name": "carsoncity", "x": 399, "y": 400 },
		{ "name": "_placerville", "x": 1, "y":  2 },
		{ "name": "_sonora", "x": 2, "y": 3 },
		{ "name": "_sacramento", "x": 3, "y": 4 },
		{ "name": "_sanfrancisco", "x": 5, "y": 6 }
	],
	"scoring": {
		"populationMultiplier": 50,
		"buildingsMultiplier": 100,
		"cashMultiplier": 1
	},
	"leaderboards": [
		{ 	"name": "scenario-ep1-1",
			"storycity": "dayton",
			"ids": { "play": "CgkIi7DpovgcEAIQLg", "ios": "dayton", "steam": "dayton", "amazon": "dayton" }
		},
		{ 	"name": "scenario-ep1-2",
			"storycity": "washoecity",
			"ids": { "play": "CgkIi7DpovgcEAIQLw", "ios": "washoecity", "steam": "washoecity", "amazon": "washoecity" }
		},
		{ 	"name": "scenario-ep1-3",
			"storycity": "silvercity",
			"ids": { "play": "CgkIi7DpovgcEAIQMA", "ios": "silvercity", "steam": "silvercity", "amazon": "silvercity" }
		},
		{ 	"name": "scenario-ep1-4",
			"storycity": "goldhill",
			"ids": { "play": "CgkIi7DpovgcEAIQMQ", "ios": "goldhill", "steam": "goldhill", "amazon": "goldhill" }
		},
		{ 	"name": "scenario-ep1-5",
			"storycity": "virginiacity",
			"ids": { "play": "CgkIi7DpovgcEAIQMg", "ios": "virginiacity", "steam": "virginiacity", "amazon": "virginiacity" }
		},
		{ 	"name": "scenario-ep1-6",
			"storycity": "carsoncity",
			"ids": { "play": "CgkIi7DpovgcEAIQMw", "ios": "carsoncity", "steam": "carsoncity", "amazon": "carsoncity" }
		}
	],
	"achievements": [
		{
			"name": "ach-res-1",
			"goals": [
				{
					"_type": "somasim.game.goals::GoalHavePopulation",
					"id": "ach-res-1-goal-1",
					"residents": 50
				}
			],
			"ids": { "play": "CgkIi7DpovgcEAIQEQ", "ios": "ach_res_1", "steam": "ach_res_1", "amazon": "ach_res_1" }
		},
		{
			"name":"ach-res-2",
			"goals": [
				{
					"_type": "somasim.game.goals::GoalHavePopulation",
					"id": "ach-res-2-goal-1",
					"residents": 200
				}
			],
			"ids": { "play": "CgkIi7DpovgcEAIQFQ", "ios": "ach_res_2", "steam": "ach_res_2", "amazon": "ach_res_2" }
		},
		{
			"name": "ach-res-3",
			"goals": [
				{
					"_type": "somasim.game.goals::GoalHavePopulation",
					"id": "ach-res-3-goal-1",
					"residents": 300
				}
			],
			"ids": { "play": "CgkIi7DpovgcEAIQFw", "ios": "ach_res_3", "steam": "ach_res_3", "amazon": "ach_res_3" }
		},
		{
			"name": "ach-res-4",
			"goals": [
				{
					"_type": "somasim.game.goals::GoalHavePopulation",
					"id": "ach-res-4-goal-1",
					"residents": 100
				}
			],
			"ids": { "play": "CgkIi7DpovgcEAIQEw", "ios": "ach_res_4", "steam": "ach_res_4", "amazon": "ach_res_4" }
		},
		{
			"name": "ach-items-1",
			"goals": [
				{
					"_type": "somasim.game.goals::GoalHaveResource",
					"id": "ach-items-1-goal-1",
					"resource": "gold",
					"amount": 1000
				}
			],
			"ids": { "play": "CgkIi7DpovgcEAIQDA", "ios": "ach_items_1", "steam": "ach_items_1", "amazon": "ach_items_1" }
		},
		{ 	"name": "ach-city-ep1-1",
		  	"goals": [
				{
					"_type": "somasim.game.goals::GoalHaveCompletedNamedCity",
					"id": "ach-city-ep1-1-goal-1",
					"name": "dayton"
				}
			],
			"ids": { "play": "CgkIi7DpovgcEAIQNA", "ios": "ach_city_ep1_1", "steam": "ach_city_ep1_1", "amazon": "ach_city_ep1_1" }
		},
		{ 	"name": "ach-city-ep1-2",
		  	"goals": [
				{
					"_type": "somasim.game.goals::GoalHaveCompletedNamedCity",
					"id": "ach-city-ep1-2-goal-1",
					"name": "washoecity"
				}
			],
			"ids": { "play": "CgkIi7DpovgcEAIQNQ", "ios": "ach_city_ep1_2", "steam": "ach_city_ep1_2", "amazon": "ach_city_ep1_2" }
		},
		{ 	"name": "ach-city-ep1-3",
		  	"goals": [
				{
					"_type": "somasim.game.goals::GoalHaveCompletedNamedCity",
					"id": "ach-city-ep1-3-goal-1",
					"name": "silvercity"
				}
			],
			"ids": { "play": "CgkIi7DpovgcEAIQNg", "ios": "ach_city_ep1_3", "steam": "ach_city_ep1_3", "amazon": "ach_city_ep1_3" }
		},
		{ 	"name": "ach-city-ep1-4",
		  	"goals": [
				{
					"_type": "somasim.game.goals::GoalHaveCompletedNamedCity",
					"id": "ach-city-ep1-4-goal-1",
					"name": "goldhill"
				}
			],
			"ids": { "play": "CgkIi7DpovgcEAIQNw", "ios": "ach_city_ep1_4", "steam": "ach_city_ep1_4", "amazon": "ach_city_ep1_4" }
		},
		{ 	"name": "ach-city-ep1-5",
		  	"goals": [
				{
					"_type": "somasim.game.goals::GoalHaveCompletedNamedCity",
					"id": "ach-city-ep1-5-goal-1",
					"name": "virginiacity"
				}
			],
			"ids": { "play": "CgkIi7DpovgcEAIQOA", "ios": "ach_city_ep1_5", "steam": "ach_city_ep1_5", "amazon": "ach_city_ep1_5" }
		},
		{ 	"name": "ach-city-ep1-6",
		  	"goals": [
				{
					"_type": "somasim.game.goals::GoalHaveCompletedNamedCity",
					"id": "ach-city-ep1-6-goal-1",
					"name": "carsoncity"
				}
			],
			"ids": { "play": "CgkIi7DpovgcEAIQOQ", "ios": "ach_city_ep1_6", "steam": "ach_city_ep1_6", "amazon": "ach_city_ep1_6" }
		},
		{
			"name": "ach-project-ep1-1",
			"goals": [
				{
					"_type": "somasim.game.goals::GoalHaveBuildings",
					"id": "ach-project-ep1-1-goal-1",
					"buildings": [ "bldg-map-project-rail" ],
					"total": 1
				}
			],
			"ids": { "play": "CgkIi7DpovgcEAIQOg", "ios": "ach_project_ep1_1", "steam": "ach_project_ep1_1", "amazon": "ach_project_ep1_1" }
		},
		{
			"name": "ach-project-ep1-2",
			"goals": [
				{
					"_type": "somasim.game.goals::GoalHaveBuildings",
					"id": "ach-project-ep1-2-goal-1",
					"buildings": [ "bldg-map-project-capitol" ],
					"total": 1
				}
			],
			"ids": { "play": "CgkIi7DpovgcEAIQOw", "ios": "ach_project_ep1_2", "steam": "ach_project_ep1_2", "amazon": "ach_project_ep1_2" }
		},
		{
			"name": "ach-carson-quest-1",
			"goals": [
			],
			"ids": { "play": "CgkIi7DpovgcEAIQPA", "ios": "ach_carson_quest_1", "steam": "ach_carson_quest_1", "amazon": "ach_carson_quest_1" }
		},
		{
			"name": "ach-carson-quest-2",
			"goals": [
			],
			"ids": { "play": "CgkIi7DpovgcEAIQPQ", "ios": "ach_carson_quest_2", "steam": "ach_carson_quest_2", "amazon": "ach_carson_quest_2" }
		}
	],
	"terrain": {
		"heightstencils": {
			"stencil-rock-1": {
				"x": [ 0.0,  0.3, 0.6, 1.0 ],
				"y": [ 0.02, 0.05, 0.2, 0.1 ]
			},
			"stencil-rock-2": {
				"x": [ 0.0,  0.3, 0.6, 1.0 ],
				"y": [ 0.02, 0.07, 0.05, 0.1 ]
			},
			"stencil-rock-3": {
				"x": [ 0.0,  0.3, 0.6, 1.0 ],
				"y": [ 0.0, 0.1, 0.3, 0.2 ]
			},
			"stencil-boulder-1": {
				"x": [ 0.0,  0.5, 0.8, 1.0 ],
				"y": [ 0.0, 0.01, 0.1, 0.2 ]
			},
			"stencil-boulder-2": {
				"x": [ 0.0,  0.5, 0.8, 1.0 ],
				"y": [ 0.01, 0.02, 0.05, 0.05 ]
			}
		},
		"hdstencils": {
			"stencil-tree-sage-1": {
				"x": "0.5", "y": "0.5", "r": "0.7", "h": 0.5
			},
			"stencil-tree-sage-2": {
				"x": "0.1", "y": "0.7", "r": "0.5", "h": 0.5
			},
			"stencil-tree-sage-3": {
				"x": "0.3", "y": "0.5", "r": "0.4", "h": 0.5
			},
			"stencil-tree-sage-c1": {
				"x": "0.2", "y": "0.7", "r": "0.4", "h": 0.5
			},
			"stencil-tree-sage-c2": {
				"x": "0.1", "y": "0.7", "r": "0.4", "h": 0.5
			},
			"stencil-tree-birch-1": {
				"x": "0.2", "y": "0.3", "r": "0.4", "h": 0.5
			},
			"stencil-tree-birch-2": {
				"x": "0.2", "y": "0.3", "r": "0.4", "h": 0.5
			},
			"stencil-tree-birch-3": {
				"x": "0.2", "y": "0.3", "r": "0.4", "h": 0.5
			},
			"stencil-tree-birch-c1": {
				"x": "0.2", "y": "0.3", "r": "0.4", "h": 0.5
			},
			"stencil-tree-birch-c2": {
				"x": "0.2", "y": "0.3", "r": "0.4", "h": 0.5
			},
			"stencil-tree-dead-1": {
				"x": "0.4", "y": "0.0", "r": "0.6", "h": 0.01
			},
			"stencil-tree-dead-2": {
				"x": "0.4", "y": "0.0", "r": "0.6", "h": 0.01
			},
			"stencil-tree-dead-3": {
				"x": "0.4", "y": "0.0", "r": "0.6", "h": 0.01
			},
			"stencil-tree-dead-4": {
				"x": "0.4", "y": "0.0", "r": "0.6", "h": 0.01
			}
		},
		"colors": {
			"xs": 		[     0.0,       1.0 ],
			"colors": 	[ "edce8c", "f8dcad" ]
		},
		"heightdarkness": {
			"x": [ 0.0,  0.5,  1.0 ],
			"y": [ 0.0, -0.1, -0.2 ]
		}
	},
	"scengen": {
		"metalmap": {
			"x": [ 0.0, 0.01,   0.6,   1.0 ],
			"y": [   0,    0,   500,  2000 ]
		},
		"crudemap": {
			"x": [  0.0, 0.3 ],
			"y": [    0,   0 ]
		},
		"citymapsize": {
			"x": [  0,  1 ],
			"y": [ 14, 30 ]
		},
		"ressizemultiplier": {
			"x": [ 0, 1 ],
			"y": [ 1, 1 ]
		},
		"basetrade": [
			{
				"city": "_sanfrancisco",
				"cost": 0,
				"days": 53,
				"prices": [
					{ "name": "fabric", "buy": 5, "carunits": 100 },
					{ "name": "steel-cable", "buy": 20, "carunits": 10 },
					{ "name": "furniture", "buy": 15, "carunits": 40 },
					{ "name": "gold", "sell": 50, "carunits": 20 },
					{ "name": "silver", "sell": 40, "carunits": 30 },
					{ "name": "quicksilver", "sell": 8, "carunits": 20 }
				]
			},
			{
				"city": "washoecity",
				"cost": 0,
				"days": 16,
				"prices": [
					{ "name": "stone", "buy": 4, "carunits": 50 },
					{ "name": "lumber", "buy": 2, "carunits": 100 },
					{ "name": "iron-ore","buy": 5, "carunits": 40 },
					{ "name": "brandy", "sell": 6, "carunits": 50 },
					{ "name": "coal", "sell": 7, "carunits": 50 },
					{ "name": "gold-quartz", "sell": 5, "carunits": 40 }
				]
			},
			{
				"city": "_sacramento",
				"cost": 0,
				"days": 41, 
				"prices": [
					{ "name": "meat", "buy": 2, "carunits": 100 },
					{ "name": "leather", "buy": 5, "carunits": 75 },
					{ "name": "pickaxes", "buy": 50, "carunits": 15 },
					{ "name": "silver-ore", "sell": 4, "carunits": 50 },
					{ "name": "fruit", "sell": 2, "carunits": 100 },
					{ "name": "whiskey", "sell": 5, "carunits": 60 }
				]
			}
		], 
		"baseprices": [
			{ "name": "wheat",  		"buy": 10,	"sell": 5,	"carunits": 20 },
			{ "name": "barley",  		"buy": 10,	"sell": 5,	"carunits": 20 },
			{ "name": "cotton",  		"buy": 10,	"sell": 5,	"carunits": 20 },
			{ "name": "olives",  		"buy": 10,	"sell": 5,	"carunits": 20 },
			{ "name": "fruit",  		"buy": 10,	"sell": 5,	"carunits": 20 },
			{ "name": "grapes",  		"buy": 10,	"sell": 5,	"carunits": 20 },
			{ "name": "meat",  			"buy": 20,	"sell": 10,	"carunits": 20 },
			{ "name": "cheese",  		"buy": 20,	"sell": 10,	"carunits": 20 },
			{ "name": "leather",  		"buy": 20,	"sell": 10,	"carunits": 20 },
			{ "name": "salt",  			"buy": 20,	"sell": 10,	"carunits": 20 },
			{ "name": "lumber",  		"buy": 20,	"sell": 10,	"carunits": 20 },
			{ "name": "gold",  			"buy": 200,	"sell": 100, "carunits": 10 },
			{ "name": "silver",  		"buy": 140,	"sell": 70,	"carunits": 10 },
			{ "name": "iron-ore",  		"buy": 60,	"sell": 30,	"carunits": 10 },
			{ "name": "stone",  		"buy": 20,	"sell": 10,	"carunits": 10 },
			{ "name": "crude",  		"buy": 20,	"sell": 10,	"carunits": 10 },
			{ "name": "wine",  			"buy": 20,	"sell": 10,	"carunits": 20 },
			{ "name": "beer",  			"buy": 20,	"sell": 10,	"carunits": 20 },
			{ "name": "brandy",  		"buy": 20,	"sell": 10,	"carunits": 20 },
			{ "name": "whiskey",  		"buy": 20,	"sell": 10,	"carunits": 20 },
			{ "name": "bread",  		"buy": 20,	"sell": 10,	"carunits": 20 },
			{ "name": "olive-oil",  	"buy": 20,	"sell": 10,	"carunits": 10 },
			{ "name": "fabric",  		"buy": 20,	"sell": 10,	"carunits": 10 },
			{ "name": "canned-fish",	"buy": 40,	"sell": 20,	"carunits": 10 },
			{ "name": "canned-meat",	"buy": 40,	"sell": 20,	"carunits": 10 },
			{ "name": "shoes",  		"buy": 40,	"sell": 20,	"carunits": 10 },
			{ "name": "boards",  		"buy": 40,	"sell": 20,	"carunits": 10 },
			{ "name": "paper",  		"buy": 40,	"sell": 20,	"carunits": 10 },
			{ "name": "stone-bricks",	"buy": 40,	"sell": 20,	"carunits": 10 },
			{ "name": "iron",  			"buy": 60,	"sell": 30,	"carunits": 10 },
			{ "name": "furniture",		"buy": 60,	"sell": 30,	"carunits": 10 },
			{ "name": "newspapers",		"buy": 60,	"sell": 30,	"carunits": 10 },
			{ "name": "fine-clothes",	"buy": 60,	"sell": 30,	"carunits": 10 },
			{ "name": "pickaxes",		"buy": 100,	"sell": 50, "carunits": 20 }
		],
		"startupgrants": [
			{
				"message": "scenario.sandbox.startup-1",
				"events": [
					"_ e-grant-resource day 0 name cash amount 5000 message none",
					"_ e-grant-resource day 0 name meat amount 250 message none",
					"_ e-grant-resource day 0 name lumber amount 100 message none",
					"_ e-grant-resource day 0 name wine amount 100 message none"
				]
			},
			{
				"message": "scenario.sandbox.startup-2",
				"events": [
					"_ e-grant-and-place-building day 0 name bldg-work-lv0-hunting-camp",
					"_ e-grant-and-place-building day 0 name bldg-work-lv1-sawmill",
					"_ e-grant-resource day 0 name cash amount 2000 message none",
					"_ e-grant-resource day 0 name meat amount 100 message none",
					"_ e-grant-resource day 0 name lumber amount 50 message none"
				]
			},
			{
				"message": "scenario.sandbox.startup-3",
				"events": [
					"_ e-grant-and-place-building day 0 name bldg-house-1-1",
					"_ e-grant-and-place-building day 0 name bldg-house-1-1",
					"_ e-grant-resource day 0 name cash amount 1000 message none",
					"_ e-grant-resource day 0 name meat amount 100 message none"
				]
			}
		],
		"heightobstacles": {
			"bldg-obstacle-rock": {
				"x": [ 0.0,  0.3, 0.6, 1.0 ],
				"y": [ 0.0, 0.1, 0.3, 0.2 ]
			},
			"bldg-obstacle-boulder": {
				"x": [ 0.0,  0.5, 0.8, 1.0 ],
				"y": [ 0.0, 0.01, 0.1, 0.2 ]
			}
		},
		"hdobstacles": {
			"bldg-obstacle-tree-birch": {
				"x": 0.3, "y": 0.3, "r": 0.7, "h": 1.0
			},
			"bldg-obstacle-tree-sage": {
				"x": 0.3, "y": 0.7, "r": 0.7, "h": 1.0
			},
			"bldg-obstacle-tree-dead": {
				"x": 0.9, "y": 0.1, "r": 0.7, "h": 0.3
			}
		},
		"quests": [
			{
				"id": "sandbox-quest-2",
				"descintro": "sandbox.quest-2.intro",
				"descshort": "sandbox.quest-2.short",
				"descdone": "sandbox.quest-2.done",
				"descexpired": "sandbox.quest-2.expired",
				"goals": [
					{ 
						"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
						"id": "quest-2-goal-1",
						"resource": "boards",
						"amount": 50						
					},
					{
						"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
						"id": "quest-2-goal-2",
						"resource": "lumber",
						"amount": 100

					}
				],
				"rewards": [
					"_ e-grant-resource day 0 name whiskey amount 144 message none"
				]
			},
			{
				"id": "sandbox-quest-3",
				"startday": 60,
				"endday": 120,
				"descintro": "sandbox.quest-3.intro",
				"descshort": "sandbox.quest-3.short",
				"descdone": "sandbox.quest-3.done",
				"descexpired": "sandbox.quest-3.expired",
				"goals": [
					{
						"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
						"id": "quest-3-goal-1",
						"resource": "lumber",
						"amount": 100
					}
				],
				"rewards": [
					"_ e-grant-resource day 0 name whiskey amount 144 message none"
				]
			},
			{
				"id": "sandbox-quest-4",
				"startday": 200,
				"endday": 290,
				"descintro": "sandbox.quest-4.intro",
				"descshort": "sandbox.quest-4.short",
				"descdone": "sandbox.quest-4.done",
				"descexpired": "sandbox.quest-4.expired",
				"goals": [
					{
						"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
						"id": "quest-4-goal-1",
						"resource": "pickaxes",
						"amount": 25
					}
				],
				"rewards": [
					"_ e-grant-resource day 0 repeatdays 30 name meat amount 20 message sandbox.quest-4.ticker ticker true"
				]
			},
			{
				"id": "sandbox.quest-6",
				"startday": 180,
				"endday": 300,
				"descintro": "sandbox.quest-6.intro",
				"descshort": "sandbox.quest-6.short",
				"descdone": "sandbox.quest-6.done",
				"descexpired": "sandbox.quest-6.expired",
				"goals": [
					{
						"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
						"id": "quest-6-goal-1",
						"resource": "gold",
						"amount": 50
					}
				],
				"rewards": [
					"_ e-grant-resource day 0 repeatdays 30 name canned-meat amount 30 message sandbox.quest-6.ticker-1 ticker true",
					"_ e-grant-resource day 0 repeatdays 30 name whiskey amount 30 message sandbox.quest-6.ticker-2 ticker true"
				]
			}
		]
	},
	"scenarios": [
		{
			"name": "scenario-ep1-1",
			"storycity": "dayton",
			"startdate": "8/1/1857",
			"startsong": "the_valley",
			"maptitle": "scenario.scenario-ep1-1.maptitle",
			"mapstory": "scenario.scenario-ep1-1.mapstory",
			"missionstory": "scenario.scenario-ep1-1.mission-story",
			"mapsize": 14,
			"trade": [
				{
					"city": "washoecity",
					"cost": 0,
					"days": 14,
					"prices": [
						{ "name": "boards", "sell": 10, "carunits": 25 },
						{ "name": "beer", "buy": 8, "carunits": 20 },
						{ "name": "meat", "sell": 10, "carunits": 25 },
						{ "name": "iron-ore", "buy": 10, "carunits": 15 },
						{ "name": "lumber", "buy": 4, "carunits": 25 },
						{ "name": "leather", "sell": 5, "carunits": 40 }
					]
				},
				{
					"city": "_placerville",
					"cost": 0,
					"days": 45,
					"prices": [
						{ "name": "gold-quartz", "sell": 50, "carunits": 15 },
						{ "name": "fabric", "buy": 10, "carunits": 40 },
						{ "name": "cheese", "sell": 8, "carunits": 50 },
						{ "name": "stone", "sell": 5, "carunits": 10 },
						{ "name": "stone-bricks", "buy": 10, "carunits": 25 },
						{ "name": "canned-meat", "buy": 10, "carunits": 40 }
					]
				}
			], 
			"startupgrants": [
				{
					"message": "scenario.scenario-ep1-1.startup-1",
					"events": [
						"_ e-grant-resource day 0 name cash amount 2000 message none"
					]
				},
				{
					"message": "scenario.scenario-ep1-1.startup-2",
					"events": [
						"_ e-grant-and-place-building day 0 name bldg-work-lv0-farm-wheat",
						"_ e-grant-and-place-building day 0 name bldg-work-lv1-distillery",
						"_ e-grant-resource day 0 name cash amount 1200 message none"
					]
				},
				{
					"message": "scenario.scenario-ep1-1.startup-3",
					"events": [
						"_ e-grant-and-place-building day 0 name bldg-work-lv0-ranch",
						"_ e-grant-resource day 0 name cash amount 1500 message none"
					]
				}
			],
			"startup": {
				"meat": 100,
				"leather": 10
			},
			"mapresources": {
			},
			"missions": [
				{
					"level": 1,
					"desc": "scenario.scenario-ep1-1.mission-1",
					"goals": [
						{ 
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-1-goal-1",
							"city": "washoecity",
							"resource": "boards",
							"amount": -300
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-1-goal-2",
							"buildings": [ "bldg-work-lv1-sawmill" ],
							"total": 2
						}
					]
				},
				{
					"level": 2,
					"desc": "scenario.scenario-ep1-1.mission-2",
					"visible": false,
					"goals": [
						{ 
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-1",
							"city": "washoecity",
							"resource": "boards",
							"amount": -300
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-2-goal-2",
							"buildings": [ "bldg-work-lv1-sawmill" ],
							"total": 2
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-3",
							"city": "_placerville",
							"resource": "gold-quartz",
							"amount": -150
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-2-goal-4",
							"buildings": [ "bldg-work-lv0-ranch" ],
							"total": 3
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-5",
							"city": "washoecity",
							"resource": "meat",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-6",
							"city": "_placerville",
							"resource": "cheese",
							"amount": -200
						}
					]
				},
				{
					"level": 3,
					"desc": "scenario.scenario-ep1-1.mission-3",
					"visible": false,
					"goals": [
						{ 
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-1",
							"city": "washoecity",
							"resource": "boards",
							"amount": -300
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-3-goal-2",
							"buildings": [ "bldg-work-lv1-sawmill" ],
							"total": 2
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-3",
							"city": "_placerville",
							"resource": "gold-quartz",
							"amount": -150
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-3-goal-4",
							"buildings": [ "bldg-work-lv0-ranch" ],
							"total": 3
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-5",
							"city": "washoecity",
							"resource": "meat",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-6",
							"city": "_placerville",
							"resource": "cheese",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveResource",
							"id": "level-3-goal-7",
							"resource": "pickaxes",
							"amount": 100
						},
						{
							"_type": "somasim.game.goals::GoalHaveResource",
							"id": "level-3-goal-8",
							"resource": "stone-bricks",
							"amount": 200
						}
					]
				}
			],
			"events": [
				"_ e-show-mission day 150 level 2 visible true message scenario.scenario-ep1-1.gold then missions-dialog",
				"_ e-show-mission day 150 level 3 visible true",
				"_ e-refresh-store day 150",
				"_ e-grant-map-resource day 150 name gold-quartz inriver true amount 750 message none"
			],
			"quests": [
				{
					"id": "quest-1",
					"startday": 300,
					"endday": 623,
					"descintro": "scenario.scenario-ep1-1.quest-1.intro",
					"descshort": "scenario.scenario-ep1-1.quest-1.short",
					"descdone": "scenario.scenario-ep1-1.quest-1.done",
					"descexpired": "scenario.scenario-ep1-1.quest-1.expired",
					"goals": [
						{ 
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-1",
							"resource": "fabric",
							"amount": 100						
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-2",
							"resource": "iron",
							"amount": 100

						}
					],
					"rewards": [
						"_ e-grant-workplace-upgrade day 1 name bldg-work-lv0-ranch upgrade mod2 forever true"
					]
				},
				{
					"id": "quest-2",
					"startday": 400,
					"endday": 750,
					"descintro": "scenario.scenario-ep1-1.quest-2.intro",
					"descshort": "scenario.scenario-ep1-1.quest-2.short",
					"descdone": "scenario.scenario-ep1-1.quest-2.done",
					"descexpired": "scenario.scenario-ep1-1.quest-2.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "quest-2-goal-1",
							"buildings": [ "bldg-house-3-3" ],
							"total": 7
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "quest-2-goal-2",
							"buildings": [ "bldg-map-casino" ],
							"total": 2
						}
					],
					"rewards": [
						"_ e-grant-workplace-upgrade day 1 name bldg-work-lv0-gold-panning upgrade mod1 forever true",
						"_ e-grant-workplace-upgrade day 1 name bldg-work-lv0-gold-panning upgrade mod2 forever true"
					]
				}

			],
			"flags": [ 
					],
			"bldgwhitelist": [
				"bldg-trade-store",
				"bldg-house-0-1",
				"bldg-house-1-1",
				"bldg-house-2-1",
				"bldg-house-3-1",
				"bldg-work-lv0-farm-wheat",
				"bldg-work-lv0-orchard",
				"bldg-work-lv0-gold-panning",
				"bldg-work-lv0-ranch",
				"bldg-work-lv0-quarry",
				"bldg-work-lv1-sawmill",
				"bldg-work-lv1-distillery",
				"bldg-work-lv1-baker",
				"bldg-work-lv1-smelter",
				"bldg-work-lv2-blacksmith",
				"bldg-map-casino",
				"bldg-map-sheriff",
				"bldg-map-fire",
				"bldg-map-jail",
				"road-base",
				"prop-lamp-1",
				"prop-lamp-2",
				"prop-hitching-post",
				"prop-trough",
				"prop-skull",
				"prop-wheel"
			],
			"terrain": {
				"mainseed": 2,
				"height": 0.4,
				"dryness": 0.0,
				"train": true,
				"river": true,
				"rivertiles": 3,
				"buildings": [ "bldg-house-1-2", "bldg-house-1-2", "bldg-work-lv0-hunting-camp" ]
			}
		},
		{
			"name": "scenario-ep1-2",
			"startdate": "1/1/1858",
			"storycity": "washoecity",
			"maptitle": "scenario.scenario-ep1-2.maptitle",
			"mapstory": "scenario.scenario-ep1-2.mapstory",
			"missionstory": "scenario.scenario-ep1-2.mission-story",
			"mapsize": 14,
			"trade": [
				{
					"city": "_sonora",
					"cost": 0,
					"days": 28,
					"prices": [
						{ "name": "lumber", "buy": 5, "carunits": 50 },
						{ "name": "bread", "buy": 4, "carunits": 50 },
						{ "name": "beer", "buy": 6, "carunits": 40 },
						{ "name": "coal", "sell": 25, "carunits": 20 },
						{ "name": "leather", "sell": 7, "carunits": 35 },
						{ "name": "pickaxes", "sell": 30, "carunits": 15 }
					]
				},
				{
					"city": "_sacramento",
					"cost": 0,
					"days": 45,
					"prices": [
						{ "name": "wine", "buy": 10, "carunits": 30 },
						{ "name": "paper", "buy": 20, "carunits": 10 },
						{ "name": "fabric", "buy": 10, "carunits": 40 },
						{ "name": "quicksilver", "sell": 30, "carunits": 10 },
						{ "name": "iron", "sell": 8, "carunits": 25 },
						{ "name": "boards", "sell": 7, "carunits": 50 }
					]
				}
			], 
			"startupgrants": [
				{
					"message": "scenario.scenario-ep1-2.startup-1",
					"events": [
						"_ e-grant-resource day 0 name pickaxes amount 25 message none",
						"_ e-grant-resource day 0 name cash amount 3000 message none"
					]
				},
				{
					"message": "scenario.scenario-ep1-2.startup-2",
					"events": [
						"_ e-grant-resource day 0 name pickaxes amount 5 repeatdays 30 message scenario.scenario-ep1-2.pickaxes ticker true",
						"_ e-grant-resource day 0 name cash amount 1500 message none"
					]
				},
				{
					"message": "scenario.scenario-ep1-2.startup-3",
					"events": [
						"_ e-grant-resource day 0 name lumber amount 20 repeatdays 30 message scenario.scenario-ep1-2.passes ticker true",
						"_ e-grant-resource day 0 name beer amount 20 repeatdays 30 message none",
						"_ e-grant-resource day 0 name pickaxes amount 25 message none",
						"_ e-grant-resource day 0 name cash amount 1000 message none"
					]
				}
			],
			"startup": {
				"meat": 50
			},
			"missions": [
				{
					"level": 1,
					"desc": "scenario.scenario-ep1-2.mission-1",
					"goals": [
						{ 
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-1-goal-1",
							"residents": 125
						}
					]
				},
				{
					"level": 2,
					"desc": "scenario.scenario-ep1-2.mission-2",
					"goals": [
						{ 
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-2-goal-1",
							"residents": 125
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-2",
							"city": "_sacramento",
							"resource": "quicksilver",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-3",
							"city": "_sonora",
							"resource": "coal",
							"amount": -400
						}
					]
				},
				{
					"level": 3,
					"desc": "scenario.scenario-ep1-2.mission-3",
					"goals": [
						{ 
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-3-goal-1",
							"residents": 125
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-2",
							"city": "_sacramento",
							"resource": "quicksilver",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-3",
							"city": "_sonora",
							"resource": "coal",
							"amount": -400
						},
						{
							"_type": "somasim.game.goals::GoalHaveResource",
							"id": "level-3-goal-4",
							"resource": "stone-bricks",
							"amount": 200
						},
						{
							"_type": "somasim.game.goals::GoalHaveResource",
							"id": "level-3-goal-5",
							"resource": "pickaxes",
							"amount": 100
						},
						{
							"_type": "somasim.game.goals::GoalHaveResource",
							"id": "level-3-goal-6",
							"resource": "paper",
							"amount": 50
						}
					]
				}
			],
			"events": [
				"_ e-grant-map-resource day 0 name iron-ore amount 1200 extrarandom 933 message none"
			],
			"quests": [
				{
					"id": "quest-1",
					"startday": 320,
					"endday": 720,
					"descintro": "scenario.scenario-ep1-2.quest-1.intro",
					"descshort": "scenario.scenario-ep1-2.quest-1.short",
					"descdone": "scenario.scenario-ep1-2.quest-1.done",
					"descexpired": "scenario.scenario-ep1-2.quest-1.expired",
					"goals": [
						{ 
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-1",
							"resource": "pickaxes",
							"amount": 50						
						}
					],
					"rewards": [
						"_ e-grant-map-resource day 1 name quicksilver amount 200 message none",
						"_ e-grant-map-resource day 1 name coal amount 200 message none"
					]
				},
				{
					"id": "quest-2",
					"startday": 180,
					"endday": 540,
					"descintro": "scenario.scenario-ep1-2.quest-2.intro",
					"descshort": "scenario.scenario-ep1-2.quest-2.short",
					"descdone": "scenario.scenario-ep1-2.quest-2.done",
					"descexpired": "scenario.scenario-ep1-2.quest-2.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-1",
							"resource": "boards",
							"amount": 200
						}
					],
					"rewards": [
						"_ e-grant-workplace-upgrade day 1 name bldg-work-lv0-ranch upgrade mod1 forever true",
						"_ e-grant-workplace-upgrade day 1 name bldg-work-lv0-ranch upgrade mod2 forever true"
					]
				}

			],
			"flags": [ 
					],
			"mapresources": {
				"quicksilver": 1200,
				"coal": 1200,
				"iron-ore": 3500
			},
			"bldgwhitelist": [
				"bldg-trade-store",
				"bldg-house-0-1",
				"bldg-house-1-1",
				"bldg-house-2-1",
				"bldg-house-3-1",
				"bldg-work-lv0-hunting-camp",
				"bldg-work-lv0-ranch",
				"bldg-work-lv1-smelter",
				"bldg-work-lv2-blacksmith",
				"bldg-work-lv1-sawmill",
				"bldg-work-lv3-iron-mine",
				"bldg-work-lv3-quicksilver-mine",
				"bldg-work-lv3-coal-mine",
				"bldg-work-lv1-stonemason",
				"bldg-work-lv0-quarry",
				"bldg-map-casino",
				"bldg-map-sheriff",
				"bldg-map-fire",
				"bldg-map-jail",
				"road-base",
				"prop-lamp-1",
				"prop-lamp-2",
				"prop-hitching-post",
				"prop-trough",
				"prop-skull",
				"prop-wheel"
			],
			"terrain": {
				"mainseed": 2222,
				"height": 0.1,
				"dryness": 0.8,
				"river": false,
				"train": true,
				"buildings": [ ]
			}
		},
		
		{
			"name": "scenario-ep1-3",
			"startdate": "5/27/1859",
			"storycity": "silvercity",
			"maptitle": "scenario.scenario-ep1-3.maptitle",
			"mapstory": "scenario.scenario-ep1-3.mapstory",
			"missionstory": "scenario.scenario-ep1-3.mission-story",
			"mapsize": 16,
			"trade": [
				{
					"city": "_sanfrancisco",
					"cost": 0,
					"days": 40,
					"prices": [
						{ "name": "steel-cable", "buy": 50, "carunits": 5 },
						{ "name": "fabric", "buy": 8, "carunits": 100 },
						{ "name": "beer", "buy": 5, "carunits": 50 },
						{ "name": "silver-ore", "sell": 20, "carunits": 40 },
						{ "name": "cheese", "sell": 5, "carunits": 100 },
						{ "name": "leather", "sell": 8, "carunits": 50 }
					]
				},
				{
					"city": "washoecity",
					"cost": 0,
					"days": 24,
					"prices": [
						{ "name": "coal", "buy": 50, "carunits": 5 },
						{ "name": "iron-ore", "buy": 15, "carunits": 10 },
						{ "name": "wheat", "buy": 5, "carunits": 50 },
						{ "name": "whiskey", "sell": 8, "carunits": 25 },
						{ "name": "lumber", "sell": 5, "carunits": 100 },
						{ "name": "meat", "sell": 4, "carunits": 50 }
					]

				}
			], 
			"mapresources": {
				"silver-ore": 50
			},
			"startup": {
				
			},
			"startupgrants": [
				{
					"message": "scenario.scenario-ep1-3.startup-1",
					"events": [
						"_ e-grant-resource day 0 name canned-meat amount 40 repeatdays 30 message scenario.scenario-ep1-3.food ticker true",
						"_ e-grant-resource day 0 name brandy amount 30 repeatdays 30 message none",
						"_ e-grant-resource day 0 name cash amount 1500 message none"
					]
				},
				{
					"message": "scenario.scenario-ep1-3.startup-2",
					"events": [
						"_ e-grant-resource day 0 name lumber amount 30 repeatdays 30 message scenario.scenario-ep1-3.lumberandstone ticker true",
						"_ e-grant-resource day 0 name stone amount 20 repeatdays 30 message none",
						"_ e-grant-resource day 0 name cash amount 1500 message none",
						"_ e-grant-resource day 0 name meat amount 50 message none"
					]
				},
				{
					"message": "scenario.scenario-ep1-3.startup-3",
					"events": [
						"_ e-grant-resource day 0 name iron amount 20 repeatdays 30 message scenario.scenario-ep1-3.ironandfabric ticker true",
						"_ e-grant-resource day 0 name fabric amount 30 repeatdays 30 message none",
						"_ e-grant-resource day 0 name cash amount 1500 message none",
						"_ e-grant-resource day 0 name meat amount 50 message none"
					]
				}
			],
			"missions": [
				{
					"level": 1,
					"desc": "scenario.scenario-ep1-3.mission-1",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-1-goal-1",
							"city": "_sanfrancisco",
							"resource": "silver-ore",
							"amount": -500
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-1-goal-2",
							"buildings": [ "bldg-work-lv3-silver-mine" ],
							"total": 2
						}
					]
				},
				{
					"level": 2,
					"desc": "scenario.scenario-ep1-3.mission-2",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-1",
							"city": "_sanfrancisco",
							"resource": "silver-ore",
							"amount": -500
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-2-goal-2",
							"buildings": [ "bldg-work-lv3-silver-mine" ],
							"total": 2
						},
						{
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-2-goal-3",
							"residents": 200
						}
					]
				},
				{
					"level": 3,
					"desc": "scenario.scenario-ep1-3.mission-3",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-1",
							"city": "_sanfrancisco",
							"resource": "silver-ore",
							"amount": -500
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-3-goal-2",
							"buildings": [ "bldg-work-lv3-silver-mine" ],
							"total": 2
						},
						{
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-3-goal-3",
							"residents": 200
						},
						{ 
							"_type": "somasim.game.goals::GoalHaveReachedStage",
							"id": "level-3-goal-4",
							"buildings": [ "bldg-work-lv3-silver-mine" ],
							"minstage": 3
						}						
					]
				}
			],
			"events": [
				"_ e-grant-map-resource day 0 name silver-ore amount 50 message none extrarandom 788",
				"_ e-grant-map-resource day 14 name silver-ore amount 50 message scenario.scenario-ep1-3.moresilver extrarandom 899"
			],
			"quests": [
				{
					"id": "quest-1",
					"startday": 250,
					"endday": 710,
					"descintro": "scenario.scenario-ep1-3.quest-1.intro",
					"descshort": "scenario.scenario-ep1-3.quest-1.short",
					"descdone": "scenario.scenario-ep1-3.quest-1.done",
					"descexpired": "scenario.scenario-ep1-3.quest-1.expired",
					"goals": [
						{ 
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-1",
							"resource": "stone-bricks",
							"amount": 100						
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-2",
							"resource": "pickaxes",
							"amount": 100

						}
					],
					"rewards": [
						"_ e-grant-resource day 0 name wheat amount 30 repeatdays 30 message scenario.scenario-ep1-3.wheat ticker true",
						"_ e-grant-resource day 0 name fish amount 15 repeatdays 30 message none"
					]
				},
				{
					"id": "quest-2",
					"startday":150,
					"endday": 610,
					"descintro": "scenario.scenario-ep1-3.quest-2.intro",
					"descshort": "scenario.scenario-ep1-3.quest-2.short",
					"descdone": "scenario.scenario-ep1-3.quest-2.done",
					"descexpired": "scenario.scenario-ep1-3.quest-2.expired",
					"goals": [
						{ 
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-1",
							"resource": "cash",
							"amount": 2000						
						}
					],
					"rewards": [
						"_ e-grant-workplace-upgrade day 0 name bldg-work-lv2-blacksmith upgrade mod1 forever true",
						"_ e-grant-workplace-upgrade day 0 name bldg-work-lv2-blacksmith upgrade mod2 forever true"
					]
				}
			],
			"flags": [ 
			],
			"bldgwhitelist": [
				"bldg-trade-store",
				"bldg-house-0-1",
				"bldg-house-1-1",
				"bldg-house-2-1",
				"bldg-house-3-1",
				"bldg-work-lv0-logging-camp",
				"bldg-work-lv0-ranch",
				"bldg-work-lv1-sawmill",
				"bldg-work-lv1-distillery",
				"bldg-work-lv1-baker",
				"bldg-work-lv1-smelter",
				"bldg-work-lv2-blacksmith",
				"bldg-construction-lv3-silver-mine",
				"bldg-work-lv1-stonemason",
				"bldg-work-lv0-quarry",
				"bldg-map-casino",
				"bldg-map-sheriff",
				"bldg-map-fire",
				"bldg-map-school",
				"bldg-map-church",
				"bldg-map-bank",
				"bldg-map-jail",
				"road-base",
				"prop-lamp-1",
				"prop-lamp-2",
				"prop-hitching-post",
				"prop-trough",
				"prop-skull",
				"prop-wheel"
			],
			"terrain": {
				"mainseed": 9998,
				"height": 0.1,
				"dryness": 0.1,
				"river": false,
				"train": true,
				"buildings": [ "bldg-house-0-1", "bldg-house-0-1" ]
			}
		},

		{
			"name": "scenario-ep1-4",
			"startdate": "6/12/1862",
			"storycity": "goldhill",
			"maptitle": "scenario.scenario-ep1-4.maptitle",
			"mapstory": "scenario.scenario-ep1-4.mapstory",
			"missionstory": "scenario.scenario-ep1-4.mission-story",
			"mapsize": 17,
			"trade": [
				{
					"city": "_sanfrancisco",
					"cost": 0,
					"days": 47,
					"prices": [
						{ "name": "steel-cable", "buy": 50, "carunits": 10 },
						{ "name": "quicksilver", "buy": 15, "carunits": 10 },
						{ "name": "fabric", "buy": 10, "carunits": 75 },
						{ "name": "gold", "sell": 100, "carunits": 15 },
						{ "name": "cheese", "sell": 5, "carunits": 50 },
						{ "name": "iron", "sell": 15, "carunits": 30 }
					]
				},
				{
					"city": "carsoncity",
					"cost": 0,
					"days": 21,
					"prices": [
						{ "name": "coal", "buy": 10, "carunits": 40 },
						{ "name": "lumber", "buy": 5, "carunits": 100 },
						{ "name": "beer", "buy": 6, "carunits": 50 },
						{ "name": "silver", "sell": 75, "carunits": 20 },
						{ "name": "leather", "sell": 7, "carunits": 40 },
						{ "name": "fruit", "sell": 4, "carunits": 100 }
					]
				}
			], 
			"mapresources": {
				"gold-quartz": 100,
				"silver-ore": 100,
				"iron-ore": 2500
			},
			"startup": {
				"lumber": 100,
				"meat": 100,
				"pickaxes": 20
			},
			"startupgrants": [
				{
					"message": "scenario.scenario-ep1-4.startup-1",
					"events": [
						"_ e-grant-resource day 0 name cash amount 3000 message none"
					]
				},
				{
					"message": "scenario.scenario-ep1-4.startup-2",
					"events": [
						"_ e-grant-resource day 0 name coal amount 10 repeatdays 30 message event.resource-ticker ticker true",
						"_ e-grant-resource day 0 name quicksilver amount 5 repeatdays 30 message event.resource-ticker ticker true",
						"_ e-grant-resource day 0 name cash amount 1000 message none"
					]
				},
				{
					"message": "scenario.scenario-ep1-4.startup-3",
					"events": [
						"_ e-grant-and-place-building day 0 name bldg-work-lv3-iron-mine mapresource iron-ore amount 1250",
						"_ e-grant-resource day 0 name pickaxes amount 20 message none",
						"_ e-grant-resource day 0 name cash amount 1000 message none"
					]
				}
			],
			"missions": [
				{
					"level": 1,
					"desc": "scenario.scenario-ep1-4.mission-1",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-1-goal-1",
							"buildings": [ "bldg-work-lv3-gold-mine" ],
							"total": 1
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-1-goal-2",
							"buildings": [ "bldg-work-lv1-stampmill-gold" ],
							"total": 1
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-1-goal-3",
							"city": "_sanfrancisco",
							"resource": "gold",
							"amount": -150
						}
					]
				}, 
				{
					"level": 2,
					"desc": "scenario.scenario-ep1-4.mission-2",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-2-goal-1",
							"buildings": [ "bldg-work-lv3-gold-mine" ],
							"total": 1
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-2-goal-2",
							"buildings": [ "bldg-work-lv1-stampmill-gold" ],
							"total": 1
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-3",
							"city": "_sanfrancisco",
							"resource": "gold",
							"amount": -150
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-2-goal-4",
							"buildings": [ "bldg-work-lv3-silver-mine" ],
							"total": 2
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-2-goal-5",
							"buildings": [ "bldg-work-lv1-stampmill-silver" ],
							"total": 1
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-6",
							"city": "carsoncity",
							"resource": "silver",
							"amount": -300
						}
					]
				}, 
				{
					"level": 3,
					"desc": "scenario.scenario-ep1-4.mission-3",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-3-goal-1",
							"buildings": [ "bldg-work-lv3-gold-mine" ],
							"total": 1
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-3-goal-2",
							"buildings": [ "bldg-work-lv1-stampmill-gold" ],
							"total": 1
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-3",
							"city": "_sanfrancisco",
							"resource": "gold",
							"amount": -150
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-3-goal-4",
							"buildings": [ "bldg-work-lv3-silver-mine" ],
							"total": 2
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-3-goal-5",
							"buildings": [ "bldg-work-lv1-stampmill-silver" ],
							"total": 1
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-6",
							"city": "carsoncity",
							"resource": "silver",
							"amount": -300
						},
						{
							"_type": "somasim.game.goals::GoalHaveResource",
							"id": "level-3-goal-8",
							"resource": "stone",
							"amount": 250
						},
						{
							"_type": "somasim.game.goals::GoalHaveResource",
							"id": "level-3-goal-9",
							"resource": "boards",
							"amount": 250
						}
					]
				}
			],
			"events": [
				"_ e-grant-map-resource day 0 name gold-quartz amount 100 message none extrarandom 3571",
				"_ e-grant-map-resource day 0 name silver-ore amount 100 message none extrarandom 3115"
			],
			"quests": [
				{
					"id": "quest-1",
					"startday": 221,
					"endday": 732,
					"descintro": "scenario.scenario-ep1-4.quest-1.intro",
					"descshort": "scenario.scenario-ep1-4.quest-1.short",
					"descdone": "scenario.scenario-ep1-4.quest-1.done",
					"descexpired": "scenario.scenario-ep1-4.quest-1.expired",
					"goals": [
						{ 
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-1",
							"resource": "cash",
							"amount": 2000						
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-2",
							"resource": "iron",
							"amount": 50
						}
					],
					"rewards": [
						"_ e-grant-resource day 0 name fabric amount 50 repeatdays 30 message scenario.scenario-ep1-4.fabric ticker true",
						"_ e-grant-resource day 0 name cash amount 100 repeatdays 30 message none"
					]
				},
				{
					"id": "quest-2",
					"startday": 30,
					"endday": 554,
					"descintro": "scenario.scenario-ep1-4.quest-2.intro",
					"descshort": "scenario.scenario-ep1-4.quest-2.short",
					"descdone": "scenario.scenario-ep1-4.quest-2.done",
					"descexpired": "scenario.scenario-ep1-4.quest-2.expired",
					"goals":[
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-1",
							"resource": "stone",
							"amount": 50
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-2",
							"resource": "boards",
							"amount": 100
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-3",
							"resource": "cash",
							"amount": 1500
						}
					],
					"rewards": [
						"_ e-grant-resource day 0 name wine amount 40 repeatdays 30 message scenario.scenario-ep1-4.wine ticker true"
					]
				}
			],
			"bldgwhitelist": [
				"bldg-trade-store",
				"bldg-house-0-1",
				"bldg-house-1-1",
				"bldg-house-2-1",
				"bldg-house-3-1",
				"bldg-work-lv0-farm-wheat",
				"bldg-work-lv0-orchard",
				"bldg-work-lv0-hunting-camp",
				"bldg-work-lv0-ranch",
				"bldg-work-lv1-sawmill",
				"bldg-work-lv1-distillery",
				"bldg-work-lv1-baker",
				"bldg-work-lv1-smelter",
				"bldg-work-lv2-blacksmith",
				"bldg-work-lv3-iron-mine",
				"bldg-construction-lv3-gold-mine",
				"bldg-construction-lv3-silver-mine",
				"bldg-construction-lv1-stampmill-silver",
				"bldg-construction-lv1-stampmill-gold",
				"bldg-work-lv0-quarry",
				"bldg-work-lv1-stonemason",
				"bldg-map-casino",
				"bldg-map-sheriff",
				"bldg-map-fire",
				"bldg-map-school",
				"bldg-map-church",
				"bldg-map-bank",
				"bldg-map-jail",
				"road-base",
				"prop-lamp-1",
				"prop-lamp-2",
				"prop-hitching-post",
				"prop-trough",
				"prop-skull",
				"prop-wheel"
			],
			"terrain": {
				"mainseed": 392906,
				"height": 0.3,
				"dryness": 0.1,
				"river": false,
				"buildings": [ "bldg-house-0-1", "bldg-work-lv0-logging-camp" ],
				"train": true
			}
		},

		{
			"name": "scenario-ep1-5",
			"startdate": "1/23/1863",
			"storycity": "virginiacity",
			"maptitle": "scenario.scenario-ep1-5.maptitle",
			"mapstory": "scenario.scenario-ep1-5.mapstory",
			"missionstory": "scenario.scenario-ep1-5.mission-story",
			"mapsize": 18,
			"trade": [
				{
					"city": "carsoncity",
					"cost": 0,
					"days": 17,
					"prices": [
						{ "name": "beer", "buy": 4, "carunits": 50 },
						{ "name": "fabric", "buy": 8, "carunits": 50 },
						{ "name": "lumber", "buy": 4, "carunits": 75 },
						{ "name": "gold", "sell": 75, "carunits": 20 },
						{ "name": "silver", "sell": 50, "carunits": 20 },
						{ "name": "coal", "sell": 7, "carunits": 50 }
					]
				},
				{
					"city": "_sacramento",
					"cost": 0,
					"days": 41,
					"prices": [
						{ "name": "paper", "buy": 12, "carunits": 10 },
						{ "name": "steel-cable", "buy": 18, "carunits": 5 },
						{ "name": "whiskey", "buy": 6, "carunits": 50 },
						{ "name": "gold-quartz", "sell": 10, "carunits": 50 },
						{ "name": "cheese", "sell": 6, "carunits": 75 }
					]
				},
				{
					"city": "_sonora",
					"cost": 0,
					"days": 27,
					"prices": [
						{ "name": "boards", "buy": 7, "carunits": 25 },
						{ "name": "canned-fish", "buy": 4, "carunits": 75 },
						{ "name": "iron-ore", "buy": 5, "carunits": 40 },
						{ "name": "silver-ore", "sell": 10, "carunits": 50  },
						{ "name": "quicksilver", "sell": 8, "carunits": 15 },
						{ "name": "iron", "sell": 6, "carunits": 40 }

					]
				}
			], 
			"mapresources": {
				"quicksilver": 1900,
				"coal": 1200,
				"silver-ore": 100,
				"gold-quartz": 100
			},
			"startup": {
				"bread": 50
			},
			"startupgrants": [
				{
					"message": "scenario.scenario-ep1-5.startup-1",
					"events": [
						"_ e-grant-resource day 0 name cash amount 5000 message none"
					]
				},
				{
					"message": "scenario.scenario-ep1-5.startup-2",
					"events": [
						"_ e-grant-and-place-building name bldg-house-2-2 day 0",
						"_ e-grant-and-place-building name bldg-house-2-2 day 0",
						"_ e-grant-and-place-building name bldg-map-casino day 0",
						"_ e-grant-resource name lumber amount 50 day 0 message none",
						"_ e-grant-resource name whiskey amount 70 day 0 message none",
						"_ e-grant-resource day 0 name cash amount 2500 message none"
					]
				},
				{
					"message": "scenario.scenario-ep1-5.startup-3",
					"events": [
						"_ e-grant-resource day 0 name brandy amount 15 repeatdays 30 message scenario.scenario-ep1-5.booze ticker true",
						"_ e-grant-resource day 0 name beer amount 15 repeatdays 30 message none",
						"_ e-grant-resource day 0 name cash amount 2500 message none"
					]
				}
			],
			"missions": [
				{
					"level": 1,
					"desc": "scenario.scenario-ep1-5.mission-1",
					"goals": [
						{ 
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-1-goal-1",
							"buildings": [ "bldg-work-lv3-gold-mine" ],
							"total": 1
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-1-goal-2", 
							"buildings": [ "bldg-work-lv3-silver-mine" ],
							"total": 1
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-1-goal-3",
							"buildings": [ "bldg-work-lv1-stampmill-gold" ],
							"total": 1
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-1-goal-4",
							"buildings": [ "bldg-work-lv1-stampmill-silver" ],
							"total": 1
						}
					]
				},
				{
					"level": 2,
					"desc": "scenario.scenario-ep1-5.mission-2",
					"goals": [
						{ 
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-2-goal-1",
							"buildings": [ "bldg-work-lv3-gold-mine" ],
							"total": 1
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-2-goal-2", 
							"buildings": [ "bldg-work-lv3-silver-mine" ],
							"total": 1
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-2-goal-3",
							"buildings": [ "bldg-work-lv1-stampmill-gold" ],
							"total": 1
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-2-goal-4",
							"buildings": [ "bldg-work-lv1-stampmill-silver" ],
							"total": 1
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-2-goal-5",
							"buildings": [ "bldg-map-project-rail" ],
							"total": 1
						}
					]
				},
				{
					"level": 3,
					"desc": "scenario.scenario-ep1-5.mission-3",
					"goals": [
						{ 
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-3-goal-1",
							"buildings": [ "bldg-work-lv3-gold-mine" ],
							"total": 1
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-3-goal-2", 
							"buildings": [ "bldg-work-lv3-silver-mine" ],
							"total": 1
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-3-goal-3",
							"buildings": [ "bldg-work-lv1-stampmill-gold" ],
							"total": 1
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-3-goal-4",
							"buildings": [ "bldg-work-lv1-stampmill-silver" ],
							"total": 1
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-3-goal-5",
							"buildings": [ "bldg-map-project-rail" ],
							"total": 1
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-6",
							"city": "carsoncity",
							"resource": "silver",
							"amount": -150
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-7",
							"city": "carsoncity",
							"resource": "gold",
							"amount": -90
						}
					]
				}				
			],
			"events": [
				"_ e-grant-map-resource day 0 name silver-ore amount 100 message none extrarandom 773"
			],
			"quests": [
				{
					"id": "quest-1",
					"startday": 80,
					"endday": 1900,
					"descintro": "scenario.scenario-ep1-5.quest-1.intro",
					"descshort": "scenario.scenario-ep1-5.quest-1.short",
					"descdone": "scenario.scenario-ep1-5.quest-1.done",
					"descexpired": "scenario.scenario-ep1-5.quest-1.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveReachedStage",
							"id": "quest-1-goal-1",
							"buildings": [ "bldg-work-lv3-silver-mine" ],
							"minstage": 5
						}
					],
					"rewards": [
						"_ e-grant-workplace-upgrade day 0 name bldg-work-lv3-silver-mine upgrade mod1 forever true",
						"_ e-grant-workplace-upgrade day 0 name bldg-work-lv3-silver-mine upgrade mod2 forever true",
						"_ e-grant-workplace-upgrade day 0 name bldg-work-lv3-gold-mine upgrade mod1 forever true",
						"_ e-grant-workplace-upgrade day 0 name bldg-work-lv3-gold-mine upgrade mod2 forever true"
					]

				},
				{
					"id": "quest-2",
					"startday": 500,
					"endday": 965,
					"descintro": "scenario.scenario-ep1-5.quest-2.intro",
					"descshort": "scenario.scenario-ep1-5.quest-2.short",
					"descdone": "scenario.scenario-ep1-5.quest-2.done",
					"descexpired": "scenario.scenario-ep1-5.quest-2.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-1",
							"resource": "stone",
							"amount": 100

						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-2",
							"resource": "boards",
							"amount": 200
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-3",
							"resource": "pickaxes",
							"amount": 50
						}
					],
					"rewards": [
						"_ e-grant-resource day 0 name cash amount 500 repeatdays 30 message scenario.scenario-ep1-5.waterpayment ticker true"
					]
				}
			],
			"bldgwhitelist": [
				"bldg-trade-store",
				"bldg-house-0-1",
				"bldg-house-1-1",
				"bldg-house-2-1",
				"bldg-house-3-1",
				"bldg-work-lv0-farm-wheat",
				"bldg-work-lv0-ranch",
				"bldg-work-lv0-quarry",
				"bldg-work-lv1-sawmill",
				"bldg-work-lv1-baker",
				"bldg-work-lv1-smelter",
				"bldg-work-lv2-blacksmith",
				"bldg-work-lv3-quicksilver-mine",
				"bldg-work-lv3-coal-mine",
				"bldg-construction-lv3-gold-mine",
				"bldg-construction-lv3-silver-mine",
				"bldg-construction-lv1-stampmill-gold",
				"bldg-construction-lv1-stampmill-silver",
				"bldg-work-lv0-logging-camp",
				"bldg-construction-project-rail",
				"bldg-work-lv1-stonemason",
				"bldg-map-casino",
				"bldg-map-sheriff",
				"bldg-map-fire",
				"bldg-map-school",
				"bldg-map-church",
				"bldg-map-bank",
				"bldg-map-jail",
				"road-base",
				"prop-lamp-1",
				"prop-lamp-2",
				"prop-hitching-post",
				"prop-trough",
				"prop-skull",
				"prop-wheel"



			],
			"terrain": {
				"mainseed": 987455,
				"height": 0.1,
				"dryness": 0.4,
				"river": false,
				"train": true,
				"obstacles": {
					"seed": 192,
					"details": [
						{ "item": "bldg-obstacle-tree-birch", "count": 10, "repeatx": 2 }
					]
				},
				"buildings": [  ]
			}
		},
		{
			"name": "scenario-ep1-6",
			"startdate": "10/31/1864",
			"storycity": "carsoncity",
			"maptitle": "scenario.scenario-ep1-6.maptitle",
			"mapstory": "scenario.scenario-ep1-6.mapstory",
			"missionstory": "scenario.scenario-ep1-6.mission-story",
			"mapsize": 20,
			"trade": [
				{
					"city": "_sanfrancisco",
					"cost": 0,
					"days": 53,
					"prices": [
						{ "name": "fabric", "buy": 5, "carunits": 100 },
						{ "name": "steel-cable", "buy": 20, "carunits": 10 },
						{ "name": "furniture", "buy": 15, "carunits": 40 },
						{ "name": "gold", "sell": 50, "carunits": 20 },
						{ "name": "silver", "sell": 40, "carunits": 30 },
						{ "name": "quicksilver", "sell": 8, "carunits": 20 }
					]
				},
				{
					"city": "washoecity",
					"cost": 0,
					"days": 16,
					"prices": [
						{ "name": "stone", "buy": 4, "carunits": 50 },
						{ "name": "lumber", "buy": 2, "carunits": 100 },
						{ "name": "iron-ore","buy": 5, "carunits": 40 },
						{ "name": "brandy", "sell": 6, "carunits": 50 },
						{ "name": "coal", "sell": 7, "carunits": 50 },
						{ "name": "gold-quartz", "sell": 5, "carunits": 40 }
					]
				},
				{
					"city": "_sacramento",
					"cost": 0,
					"days": 41, 
					"prices": [
						{ "name": "meat", "buy": 2, "carunits": 100 },
						{ "name": "leather", "buy": 5, "carunits": 75 },
						{ "name": "paper", "buy": 6, "carunits": 25 },
						{ "name": "silver-ore", "sell": 4, "carunits": 50 },
						{ "name": "fruit", "sell": 2, "carunits": 100 },
						{ "name": "whiskey", "sell": 5, "carunits": 60 }
					]
				}
			], 
			"mapresources": {
				"quicksilver": 8500,
				"coal": 8500,
				"iron-ore": 500,
				"silver-ore": 100,
				"gold-quartz": 100
			},
			"startup": {
				"bread": 50
			},
			"startupgrants": [
				{
					"message": "scenario.scenario-ep1-6.startup-1",
					"events": [
						"_ e-grant-resource day 0 name canned-meat amount 30 repeatdays 30 message scenario.scenario-ep1-6.california ticker true",
						"_ e-grant-resource day 0 name beer amount 20 repeatdays 30 message none",
						"_ e-grant-resource day 0 name cash amount 2500 message none"
					]
				},
				{
					"message": "scenario.scenario-ep1-6.startup-2",
					"events": [
						"_ e-grant-resource day 0 name lumber amount 25 repeatdays 30 message scenario.scenario-ep1-6.depot ticker true",
						"_ e-grant-resource day 0 name leather amount 15 repeatdays 30 message none",
						"_ e-grant-resource day 0 name cash amount 2500 message none"
					]
				},
				{
					"message": "scenario.scenario-ep1-6.startup-3",
					"events": [
						"_ e-grant-resource day 0 name pickaxes amount 10 repeatdays 60 message scenario.scenario-ep1-6.mining ticker true",
						"_ e-grant-resource day 0 name steel-cable amount 5 repeatdays 60 message none",
						"_ e-grant-resource day 0 name cash amount 2500 message none"
					]
				}
			],
			"missions": [
				{
					"level": 1,
					"desc": "scenario.scenario-ep1-6.mission-1",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-1-goal-1",
							"buildings": [ "bldg-work-lv3-silver-mine" ],
							"total": 2
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-1-goal-2",
							"buildings": [ "bldg-work-lv1-stampmill-silver" ],
							"total": 2
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-1-goal-3",
							"buildings": [ "bldg-work-lv3-gold-mine" ],
							"total": 2
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-1-goal-4",
							"buildings": [ "bldg-work-lv1-stampmill-gold" ],
							"total": 2
						}
					]
				},
				{
					"level": 2,
					"desc": "scenario.scenario-ep1-6.mission-2",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-2-goal-1",
							"residents": 250
						}
					]
				},
				{
					"level": 3,
					"desc": "scenario.scenario-ep1-6.mission-3",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-3-goal-6",
							"buildings": [ "bldg-map-project-capitol" ],
							"total": 1 
						}
					]
				}				
			],
			"events": [
				"_ e-grant-map-resource day 0 name gold-quartz amount 100 message none extrarandom 3322",
				"_ e-grant-map-resource day 0 name silver-ore amount 100 message none extrarandom 5643"
			],
			"quests": [
				{
					"id": "quest-1",
					"startday": 80,
					"endday": 9000,
					"descintro": "scenario.scenario-ep1-6.quest-1.intro",
					"descshort": "scenario.scenario-ep1-6.quest-1.short",
					"descdone": "scenario.scenario-ep1-6.quest-1.done",
					"descexpired": "scenario.scenario-ep1-6.quest-1.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-1",
							"resource": "cash",
							"amount": 7500
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-2",
							"resource": "fabric",
							"amount": 1500
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-3",
							"resource": "boards",
							"amount": 1500
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-4",
							"resource": "whiskey",
							"amount": 500
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-6",
							"resource": "meat",
							"amount": 1000
						}
					],
					"rewards": [
						"_ e-grant-achievement day 1 name ach-carson-quest-1"						
					]

				},
				{
					"id": "quest-2",
					"startday": 100,
					"endday": 9650,
					"descintro": "scenario.scenario-ep1-6.quest-2.intro",
					"descshort": "scenario.scenario-ep1-6.quest-2.short",
					"descdone": "scenario.scenario-ep1-6.quest-2.done",
					"descexpired": "scenario.scenario-ep1-6.quest-2.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveReachedStage",
							"id": "quest-2-goal-1",
							"buildings": [ "bldg-work-lv3-silver-mine" ],
							"minstage": 7
						}
					],
					"rewards": [
						"_ e-grant-achievement day 1 name ach-carson-quest-2"					
					]
				}
			],
			"bldgwhitelist": [
				"bldg-trade-store",
				"bldg-house-0-1",
				"bldg-house-1-1",
				"bldg-house-2-1",
				"bldg-house-3-1",
				"bldg-work-lv0-farm-wheat",
				"bldg-work-lv0-orchard",
				"bldg-work-lv1-sawmill",
				"bldg-work-lv1-distillery",
				"bldg-work-lv1-baker",
				"bldg-work-lv1-smelter",
				"bldg-work-lv2-blacksmith",
				"bldg-work-lv3-iron-mine",
				"bldg-work-lv3-quicksilver-mine",
				"bldg-work-lv3-coal-mine",
				"bldg-work-lv1-stonemason",
				"bldg-construction-project-capitol",
				"bldg-map-casino",
				"bldg-construction-lv3-gold-mine",
				"bldg-construction-lv3-silver-mine",
				"bldg-construction-lv1-stampmill-silver",
				"bldg-construction-lv1-stampmill-gold",
				"bldg-map-sheriff",
				"bldg-map-fire",
				"bldg-map-school",
				"bldg-map-church",
				"bldg-map-bank",
				"bldg-map-jail",
				"road-base",
				"prop-lamp-1",
				"prop-lamp-2",
				"prop-hitching-post",
				"prop-trough",
				"prop-skull",
				"prop-wheel"
			],
			"terrain": {
				"mainseed": 3636,
				"height": 0.1,
				"dryness": 0.4,
				"train": true,
				"obstacles": {
					"seed": 192,
					"details": [
						{ "item": "bldg-obstacle-tree-birch", "count": 6, "repeatx": 2 }
					]
				},
				"buildings": [  ]
			}
		}


	]
}