{
	"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" ] },
				{ "houses": [ "bldg-house-4-1", "bldg-house-4-2", "bldg-house-4-3" ],
				  "npcs": [ "npc-teacher", "npc-clerk", "npc-trader" ] },
				{ "houses": [ "bldg-house-5-1", "bldg-house-5-2", "bldg-house-5-3" ],
				  "npcs": [ "npc-teacher", "npc-clerk", "npc-lady", "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-pop-2",
			"message": "dialog.pophelp.pop-2",
			"icon": "help_house.png",
			"goals": [
				{
					"_type": "somasim.game.goals::GoalHavePopulation",
					"id": "help-pop-2-goal-1",
					"residents": 40
				}
			]
		}, {
			"name": "help-tent",
			"message": "dialog.pophelp.tents",
			"icon": "help_tent.png",
			"tickerwarn": true,
			"goals": [
				{
					"_type": "somasim.game.goals::GoalHaveBuildings",
					"id": "help-tent-goal-1",
					"buildings": [ "bldg-house-tent-1", "bldg-house-tent-2", "bldg-house-tent-3" ],
					"total": 1
				}
			]
		},{
			"name": "help-farms",
			"message": "dialog.pophelp.farms",
			"goals": [
				{
					"_type": "somasim.game.goals::GoalHaveBuildings",
					"id": "help-farms-1",
					"buildings": [ "bldg-work-lv0-vineyard", "bldg-work-lv0-farm-wheat" ],
					"total": 1
				}
			]
		},	 {
			"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"
		}, {
			"name": "help-ftue-intro",
			"message": "dialog.pophelp.ftue-intro",
			"icon": "help_house.png",
			"ftue": true,
			"ticker": false
		}],
		"scripts": [{
			"name": "tut-ftue",
			"actions": [
				{ "_type": "somasim.pandora.actions.ftue::AStatStat", "params": [ "1", "start" ] },
				{ "_type": "somasim.pandora.actions.ftue::ATutSimpleAction", "name": "disableAutosave" },
				{ "_type": "somasim.pandora.actions.ftue::ATutSimpleAction", "name": "setTradeThreshold" },
				{ "_type": "somasim.pandora.actions.ftue::ATutWaitForVisible", "target": "missions-menu", "expected": false },
				{ "_type": "somasim.pandora.actions.ftue::ATutShowHide", "target": "topleft", "visible": false, "instant": true },

				{ "_type": "somasim.pandora.actions.ftue::ATutPause", "seconds": 2 },
				{ "_type": "somasim.pandora.actions.ftue::AShowIntro", "name": "help-ftue-intro" },
				{ "_type": "somasim.pandora.actions::ASpawnWalkerEntering", "npc": "npc-resident", "to": "bldg-trade-store" },
				{ "_type": "somasim.pandora.actions.ftue::AShowTut", 
				  "toptext": "ftue.1.top", "bottomtext": "ftue.1.bottom", 
				  "icon": "coin_build.png", "iconscale": 0.5
				},
				{ "_type": "somasim.pandora.actions.ftue::ATutWaitForVisible", "target": "build-menu", "expected": true },
				{ "_type": "somasim.pandora.actions.ftue::AHideTut" },
				{ "_type": "somasim.pandora.actions.ftue::ATutPause", "seconds": 0.3 },
				{ "_type": "somasim.pandora.actions.ftue::AShowTut", 
				  "toptext": "ftue.2.top", "bottomtext": "ftue.2.bottom", 
				  "icon": "help_house_foundations.png"
				},
				{ "_type": "somasim.pandora.actions.ftue::ATutCountBuildings", "buildings": [ "bldg-house-0-1" ], "expected": 1, "check": "ge" },
				{ "_type": "somasim.pandora.actions.ftue::AHideTut" },
				{ "_type": "somasim.pandora.actions.ftue::AStatStat", "params": [ "2", "house 1" ] },

				{ "_type": "somasim.pandora.actions.ftue::ATutPause", "seconds": 1 },
				{ "_type": "somasim.pandora.actions.ftue::AShowTut", 
				  "toptext": "ftue.3.top"
				},
				{ "_type": "somasim.pandora.actions::ASpawnWalkerEntering", "npc": "npc-resident", "to": "bldg-trade-store" },
				{ "_type": "somasim.pandora.actions.ftue::ATutCountBuildings", "buildings": [ "bldg-house-1-1", "bldg-house-1-2", "bldg-house-2-1", "bldg-house-2-2" ], "expected": 2, "check": "ge" },
				{ "_type": "somasim.pandora.actions.ftue::AHideTut" },
				{ "_type": "somasim.pandora.actions.ftue::AStatStat", "params": [ "3", "house 2" ] },

				{ "_type": "somasim.pandora.actions.ftue::ATutShowHide", "target": "topleft", "visible": true, "instant": false },
				{ "_type": "somasim.pandora.actions.ftue::ATutPause", "seconds": 0.5 },
				{ "_type": "somasim.pandora.actions.ftue::ATutShowHide", "target": "leftshelves", "visible": false, "instant": true },
				{ "_type": "somasim.pandora.actions.ftue::AShowTut", 
				  "toptext": "ftue.4.top", "offsety": 50, "inhibitinfo": true,
				  "icon": "icon-arrow-up.png", "iconx": 38, "icony": 20 
				},
				{ "_type": "somasim.pandora.actions.ftue::ATutWaitForVisible", "target": "missions-menu", "expected": true },
				{ "_type": "somasim.pandora.actions.ftue::AHideTut" },
				{ "_type": "somasim.pandora.actions.ftue::ATutPause", "seconds": 1 },
				{ "_type": "somasim.pandora.actions.ftue::ATutWaitForVisible", "target": "missions-menu", "expected": false },
				{ "_type": "somasim.pandora.actions.ftue::AShowTut", 
				  "toptext": "ftue.5.top", "showok": true
				},
				{ "_type": "somasim.pandora.actions.ftue::ATutCountBuildings", "buildings": [ "bldg-house-1-1", "bldg-house-1-2", "bldg-house-2-1", "bldg-house-2-2" ], "expected": 3, "check": "ge" },
				{ "_type": "somasim.pandora.actions.ftue::AHideTut" },
				{ "_type": "somasim.pandora.actions.ftue::AStatStat", "params": [ "4", "house 3" ] },

				{ "_type": "somasim.pandora.actions.ftue::ATutPause", "seconds": 0.5 },
				{ "_type": "somasim.pandora.actions.ftue::ATutWaitForVisible", "target": "missions-menu", "expected": false },
				{ "_type": "somasim.pandora.actions.ftue::AShowTut", 
				  "toptext": "ftue.6.top", "showok": true
				},
				{ "_type": "somasim.pandora.actions.ftue::ATutWaitForVisible", "target": "tutorial", "expected": false },
				{ "_type": "somasim.pandora.actions.ftue::AShowTut", 
				  "toptext": "ftue.7.top",
				  "icon": "help_hunting_camp.png"
				},
				{ "_type": "somasim.pandora.actions.ftue::ATutWaitForVisible", "target": "build-menu", "expected": true },
				{ "_type": "somasim.pandora.actions.ftue::AHideTut" },
				{ "_type": "somasim.pandora.actions.ftue::AShowTut", 
				  "toptext": "ftue.8.top", "inhibitinfo": true, "anchor": "top-right", "offsetx": -435, "offsety": 160,
				  "icon": "icon-arrow-right.png", "iconx": 234, "icony": 80 
				},
				{ "_type": "somasim.pandora.actions.ftue::ATutSimpleWait", "name": "storeFoodTabVisible" },
				{ "_type": "somasim.pandora.actions.ftue::AHideTut" },
				{ "_type": "somasim.pandora.actions.ftue::AStatStat", "params": [ "5", "camp 1" ] },
				{ "_type": "somasim.pandora.actions.ftue::AShowTut", 
				  "toptext": "ftue.8b.top",
				  "icon": "help_hunting_camp.png"
				},
				{ "_type": "somasim.pandora.actions.ftue::ATutCountBuildings", "buildings": [ "bldg-work-lv0-hunting-camp" ], "expected": 1, "check": "ge" },
				{ "_type": "somasim.pandora.actions.ftue::AHideTut" },
				{ "_type": "somasim.pandora.actions.ftue::AStatStat", "params": [ "6", "camp 2" ] },
				{ "_type": "somasim.pandora.actions.ftue::ATutPause", "seconds": 2 },


				{ "_type": "somasim.pandora.actions.ftue::ATutShowHide", "target": "leftshelves", "visible": false, "instant": true },
				{ "_type": "somasim.pandora.actions.ftue::ATutShowHide", "target": "topshelves", "visible": false, "instant": true },
				{ "_type": "somasim.pandora.actions.ftue::ATutShowHide", "target": "topleft", "visible": true, "instant": false },
				{ "_type": "somasim.pandora.actions.ftue::AShowTut", 
				  "toptext": "ftue.9.top", "offsety": 50, "inhibitinfo": true,
				  "icon": "icon-arrow-up.png", "iconx": 38, "icony": 20 
				},
				{ "_type": "somasim.pandora.actions.ftue::ATutWaitForVisible", "target": "missions-menu", "expected": true },
				{ "_type": "somasim.pandora.actions.ftue::AHideTut" },
				{ "_type": "somasim.pandora.actions.ftue::ATutPause", "seconds": 1 },
				{ "_type": "somasim.pandora.actions.ftue::ATutWaitForVisible", "target": "missions-menu", "expected": false },



				{ "_type": "somasim.pandora.actions.ftue::AShowTut", 
				  "toptext": "ftue.10.top", "showok": true
				},
				{ "_type": "somasim.pandora.actions.ftue::ATutWaitForVisible", "target": "tutorial", "expected": false },
				{ "_type": "somasim.pandora.actions.ftue::AHideTut" },
				{ "_type": "somasim.pandora.actions.ftue::ATutShowHide", "target": "leftshelves", "visible": false, "instant": false },
				{ "_type": "somasim.pandora.actions.ftue::AShowTut", 
				  "toptext": "ftue.11.top", "bottomtext": "ftue.11.bottom", 
				  "icon": "coin_trade.png", "iconscale": 0.75
				},
				{ "_type": "somasim.pandora.actions.ftue::ATutWaitForVisible", "target": "trade-menu", "expected": true },
				{ "_type": "somasim.pandora.actions.ftue::AHideTut" },
				{ "_type": "somasim.pandora.actions.ftue::AStatStat", "params": [ "7", "trade 1" ] },
				{ "_type": "somasim.pandora.actions.ftue::AShowTut", 
				  "toptext": "ftue.12.top", "anchor": "center-center", "offsety": 55
				},
				{ "_type": "somasim.pandora.actions.ftue::ATutWaitForVisibleFlashDialog", "target": "trade-map", "expected": true },
				{ "_type": "somasim.pandora.actions.ftue::AHideTut" },
				{ "_type": "somasim.pandora.actions.ftue::ATutPause", "seconds": 0 },
				{ "_type": "somasim.pandora.actions.ftue::ATutWaitForVisibleFlashDialog", "target": "trade-map", "expected": false },
				{ "_type": "somasim.pandora.actions.ftue::AShowTut", 
				  "toptext": "ftue.13.top", "anchor": "center-center", "offsety": 55
				},
				{ "_type": "somasim.pandora.actions.ftue::ATutCountResource", "resource": "lumber", "expected": 20 },
				{ "_type": "somasim.pandora.actions.ftue::AHideTut" },
				{ "_type": "somasim.pandora.actions.ftue::AStatStat", "params": [ "8", "trade 2" ] },
				{ "_type": "somasim.pandora.actions.ftue::AShowTut", 
				  "toptext": "ftue.14.top", 
				  "icon": "help_house_cabin_1.png"
				},
				{ "_type": "somasim.pandora.actions.ftue::ATutCountBuildings", "buildings": [ "bldg-house-2-1", "bldg-house-2-2" ], "expected": 2, "check": "ge" },
				{ "_type": "somasim.pandora.actions.ftue::AHideTut" },
				{ "_type": "somasim.pandora.actions.ftue::ATutPause", "seconds": 1 },
				{ "_type": "somasim.pandora.actions.ftue::ATutWaitForVisible", "target": "missions-menu", "expected": false },



				{ "_type": "somasim.pandora.actions.ftue::ATutShowHide", "target": "leftshelves", "visible": false, "instant": false },
				{ "_type": "somasim.pandora.actions.ftue::AShowTut", 
				  "toptext": "ftue.15.top", "bottomtext": "ftue.15.bottom", 
				  "icon": "coin_inventory.png", "iconscale": 0.5
				},
				{ "_type": "somasim.pandora.actions.ftue::ATutWaitForVisible", "target": "inventory-menu", "expected": true },
				{ "_type": "somasim.pandora.actions.ftue::AStatStat", "params": [ "9", "inventory 1" ] },
				{ "_type": "somasim.pandora.actions.ftue::AShowTut", 
				  "toptext": "ftue.16.top", "anchor": "center-center", "offsetx": 150, "offsety": 90, "showok": true
				},
				{ "_type": "somasim.pandora.actions.ftue::ATutWaitForVisible", "target": "tutorial", "expected": false },
				{ "_type": "somasim.pandora.actions.ftue::AShowTut", 
				  "toptext": "ftue.16b.top", "anchor": "center-center", "offsetx": 150, "offsety": 90
				},
				{ "_type": "somasim.pandora.actions.ftue::ATutWaitForVisible", "target": "inventory-menu", "expected": false },
				{ "_type": "somasim.pandora.actions.ftue::AHideTut" },
				{ "_type": "somasim.pandora.actions.ftue::AShowTut", 
				  "toptext": "ftue.17.top", "showok": true
				},
				{ "_type": "somasim.pandora.actions.ftue::ATutCountResource", "resource": "leather", "expected": 20 },
				{ "_type": "somasim.pandora.actions.ftue::AHideTut" },
				{ "_type": "somasim.pandora.actions.ftue::AStatStat", "params": [ "10", "inventory 2" ] },


				{ "_type": "somasim.pandora.actions.ftue::ATutShowHide", "target": "leftshelves", "visible": false, "instant": false },
				{ "_type": "somasim.pandora.actions.ftue::AShowTut", 
				  "toptext": "ftue.18.top", 
				  "icon": "coin_trade.png", "iconscale": 0.75
				},
				{ "_type": "somasim.pandora.actions.ftue::ATutWaitForVisible", "target": "trade-menu", "expected": true },
				{ "_type": "somasim.pandora.actions.ftue::AHideTut" },
				{ "_type": "somasim.pandora.actions.ftue::AStatStat", "params": [ "11", "sell 1" ] },
				{ "_type": "somasim.pandora.actions.ftue::ATutPause", "seconds": 0.5 },
				{ "_type": "somasim.pandora.actions.ftue::AShowTut", 
				  "toptext": "ftue.19.top", "anchor": "center-center", "offsetx": -120, "offsety": 130,
				  "icon": "icon-arrow-bottom.png", "iconx": 60, "icony": 160 
				},
				{ "_type": "somasim.pandora.actions.ftue::ATutSimpleWait", "name": "sellPageVisible" },
				{ "_type": "somasim.pandora.actions.ftue::AHideTut" },
				{ "_type": "somasim.pandora.actions.ftue::AStatStat", "params": [ "12", "sell 2" ] },
				{ "_type": "somasim.pandora.actions.ftue::AShowTut", 
				  "toptext": "ftue.20.top", "anchor": "center-center", "offsetx": -190, "offsety": 60
				},
				{ "_type": "somasim.pandora.actions.ftue::ATutWaitForVisible", "target": "trade-menu", "expected": false },
				{ "_type": "somasim.pandora.actions.ftue::AHideTut" },

				{ "_type": "somasim.pandora.actions.ftue::ATutSimpleAction", "name": "clearTradeThreshold" },
				{ "_type": "somasim.pandora.actions.ftue::ATutSimpleAction", "name": "enableAutosave" },
				{ "_type": "somasim.pandora.actions.ftue::AStatStat", "params": [ "13", "done" ] },
				{ "_type": "somasim.pandora.actions.ftue::ATutSimpleAction", "name": "makeTutorialDone" },


				{ "_type": "somasim.pandora.actions.ftue::ATutPause", "seconds": 0 }
			]
		}]
	},
	"allcities": [
		{ "name": "marin", "x": 313, "y": 294 },
		{ "name": "sanjoaquin", "x": 527, "y": 338 },
		{ "name": "sacramento", "x": 453, "y": 240 },
		{ "name": "eldorado", "x": 606, "y": 205 },
		{ "name": "sutter", "x": 442, "y": 130 },
		{ "name": "santaclara", "x": 405, "y": 438 },
		{ "name": "tuolumne", "x": 604, "y": 369 },
		{ "name": "calaveras", "x": 584, "y": 260 },
		{ "name": "napa", "x": 326, "y": 221 },
		{ "name": "mendocino", "x": 272, "y": 120 },
		{ "name": "solano", "x": 369, "y": 292 },
		{ "name": "yuba", "x": 475, "y": 123 },
		{ "name": "contracosta", "x": 361, "y": 319 },
		{ "name": "sonoma", "x": 295, "y": 214 },
		{ "name": "colusa", "x": 404, "y": 124 },
		{ "name": "butte", "x": 432, "y": 34 },
		{ "name": "mariposa", "x": 694, "y": 457 },
		{ "name": "sanfrancisco", "x": 323, "y": 359 },
		{ "name": "yolo", "x": 437, "y": 182 },
		{ "name": "upstreamdams", "x": 605, "y": 514, "skipsandbox": true },
		{ "name": "construction1", "x": 453, "y": 240, "skipsandbox": true },
		{ "name": "construction2", "x": 340, "y": 355, "skipsandbox": true },
		{ "name": "construction3", "x": 532, "y": 429, "skipsandbox": true },
		{ "name": "outpost1", "x": 613, "y": 30, "skipsandbox": true },
		{ "name": "outpost2", "x": 306, "y": 96, "skipsandbox": true },
		{ "name": "mint", "x": 620, "y": 341, "skipsandbox": true },
		{ "name": "monterey", "x": 411, "y": 564 }
	],
	"scoring": {
		"populationMultiplier": 50,
		"buildingsMultiplier": 100,
		"cashMultiplier": 1
	},
	"leaderboards": [
		{ 	"name": "scenario-2",
			"storycity": "sanjoaquin",
			"ids": { "play": "CgkIi7DpovgcEAIQGQ", "ios": "sanjoaquin", "steam": "sanjoaquin", "amazon": "sanjoaquin" }
		},
		{
			"name": "scenario-3",
			"storycity": "sacramento",
			"ids": { "play": "CgkIi7DpovgcEAIQGg", "ios": "sacramento", "steam": "sacramento", "amazon": "sacramento" }
		},
		{
			"name": "scenario-4",
			"storycity": "eldorado",
			"ids": { "play": "CgkIi7DpovgcEAIQGw", "ios": "eldorado", "steam": "eldorado", "amazon": "eldorado" }
		},
		{
			"name": "scenario-5",
			"storycity": "sutter",
			"ids": { "play": "CgkIi7DpovgcEAIQHA", "ios": "sutter", "steam": "sutter", "amazon": "sutter" }
		},
		{
			"name": "scenario-6",
			"storycity": "santaclara",
			"ids": { "play": "CgkIi7DpovgcEAIQHQ", "ios": "santaclara", "steam": "santaclara", "amazon": "santaclara" }
		},
		{
			"name": "scenario-7",
			"storycity": "yuba",
			"ids": { "play": "CgkIi7DpovgcEAIQHg", "ios":"yuba", "steam": "yuba", "amazon": "yuba" }
		},
		{
			"name": "scenario-8",
			"storycity": "calaveras",
			"ids": { "play": "CgkIi7DpovgcEAIQHw", "ios": "calaveras", "steam": "calaveras", "amazon": "calaveras" }
		},
		{
			"name": "scenario-9",
			"storycity": "napa",
			"ids": { "play": "CgkIi7DpovgcEAIQIA", "ios": "napa", "steam": "napa", "amazon": "napa" }
		},
		{
			"name": "scenario-9a",
			"storycity": "monterey",
			"ids": { "play": "CgkIi7DpovgcEAIQIQ", "ios": "monterey", "steam": "monterey", "amazon": "monterey" }
		},
		{
			"name": "scenario-10",
			"storycity": "mendocino",
			"ids": { "play": "CgkIi7DpovgcEAIQIg", "ios": "mendocino", "steam": "mendocino", "amazon": "mendocino" }
		},
		{
			"name": "scenario-11",
			"storycity": "solano",
			"ids": { "play": "CgkIi7DpovgcEAIQIw", "ios": "solano", "steam": "solano", "amazon": "solano" }
		},
		{
			"name": "scenario-12",
			"storycity": "tuolumne",
			"ids": { "play": "CgkIi7DpovgcEAIQJA", "ios": "tuolumne", "steam": "tuolumne", "amazon": "tuolumne" }
		},
		{
			"name": "scenario-13",
			"storycity": "contracosta",
			"ids": { "play": "CgkIi7DpovgcEAIQJQ", "ios": "contracosta", "steam": "contracosta", "amazon": "contracosta" }
		},
		{
			"name": "scenario-14",
			"storycity": "sonoma",
			"ids": { "play": "CgkIi7DpovgcEAIQJg", "ios": "sonoma", "steam": "sonoma", "amazon": "sonoma" }
		},
		{
			"name": "scenario-15",
			"storycity": "colusa",
			"ids": { "play": "CgkIi7DpovgcEAIQJw", "ios": "colusa", "steam": "colusa", "amazon": "colusa" }
		},
		{
			"name": "scenario-16",
			"storycity": "yolo",
			"ids": { "play": "CgkIi7DpovgcEAIQKA", "ios": "yolo", "steam": "yolo", "amazon": "yolo" }
		},
		{
			"name": "scenario-17",
			"storycity": "butte",
			"ids": { "play": "CgkIi7DpovgcEAIQKQ", "ios": "butte", "steam": "butte", "amazon": "butte" }
		},
		{
			"name": "scenario-18",
			"storycity": "mariposa",
			"ids": { "play": "CgkIi7DpovgcEAIQKg", "ios": "mariposa", "steam": "mariposa", "amazon": "mariposa" }
		},
		{
			"name": "scenario-19",
			"storycity": "sanfrancisco",
			"ids": { "play": "CgkIi7DpovgcEAIQKw", "ios": "sanfrancisco", "steam": "sanfrancisco", "amazon": "sanfrancisco" }
		}
	],
	"achievements": [
		{ 	"name": "ach-special",
		  	"goals": [
				{
					"_type": "somasim.game.goals::GoalHaveCompletedCities",
					"id": "ach-special-goal-1",
					"cities": 2000
				}
			],
			"ids": { "play": "CgkIi7DpovgcEAIQAA", "ios": "ach_special", "steam": "ach_special", "amazon": "ach_special" }
		},
		{ 	"name": "ach-cash",
		  	"goals": [
				{
					"_type": "somasim.game.goals::GoalHaveResource",
					"id": "ach-cash-goal-1",
					"resource": "cash",
					"amount": 10000
				}
			],
			"ids": { "play": "CgkIi7DpovgcEAIQCA", "ios": "ach_cash", "steam": "ach_cash", "amazon": "ach_cash" }
		},
		{ 	"name": "ach-cities-3",
		  	"goals": [
				{
					"_type": "somasim.game.goals::GoalHaveCompletedCities",
					"id": "ach-cities-3-goal-1",
					"cities": 3
				}
			],
			"ids": { "play": "CgkIi7DpovgcEAIQCg", "ios": "ach_cities_3", "steam": "ach_cities_3", "amazon": "ach_cities_3" }
		},
		{ 	"name": "ach-cities-5",
		  	"goals": [
				{
					"_type": "somasim.game.goals::GoalHaveCompletedCities",
					"id": "ach-cities-5-goal-1",
					"cities": 5
				}
			],
			"ids": { "play": "CgkIi7DpovgcEAIQCw", "ios": "ach_cities_5", "steam": "ach_cities_5", "amazon": "ach_cities_5" }
		},
		{ 	"name": "ach-cities-10",
		  	"goals": [
				{
					"_type": "somasim.game.goals::GoalHaveCompletedCities",
					"id": "ach-cities-10-goal-1",
					"cities": 10
				}
			],
			"ids": { "play": "CgkIi7DpovgcEAIQFA", "ios": "ach_cities_10", "steam": "ach_cities_10", "amazon": "ach_cities_10" }
		},
		{ 	"name": "ach-cities-15",
		  	"goals": [
				{
					"_type": "somasim.game.goals::GoalHaveCompletedCities",
					"id": "ach-cities-15-goal-1",
					"cities": 15
				}
			],
			"ids": { "play": "CgkIi7DpovgcEAIQFg", "ios": "ach_cities_15", "steam": "ach_cities_15", "amazon": "ach_cities_15" }
		},
		{ 	"name": "ach-cities-20",
		  	"goals": [
				{
					"_type": "somasim.game.goals::GoalHaveCompletedCities",
					"id": "ach-cities-20-goal-1",
					"cities": 20
				}
			],
			"ids": { "play": "CgkIi7DpovgcEAIQGA", "ios": "ach_cities_20", "steam": "ach_cities_20", "amazon": "ach_cities_20" }
		},
		{ 	"name": "ach-b-1",
		  	"goals": [
				{
					"_type": "somasim.game.goals::GoalHaveBuildings",
					"id": "ach-b-1-goal-1",
					"buildings": [ "bldg-map-sheriff" ],
					"total": 1
				},
				{
					"_type": "somasim.game.goals::GoalHaveBuildings",
					"id": "ach-b-1-goal-2",
					"buildings": [ "bldg-map-saloon" ],
					"total": 1
				},
				{
					"_type": "somasim.game.goals::GoalHaveBuildings",
					"id": "ach-b-1-goal-3",
					"buildings": [ "bldg-map-fire" ],
					"total": 1
				},
				{
					"_type": "somasim.game.goals::GoalHaveBuildings",
					"id": "ach-b-1-goal-4",
					"buildings": [ "bldg-map-school" ],
					"total": 1
				},
				{
					"_type": "somasim.game.goals::GoalHaveBuildings",
					"id": "ach-b-1-goal-5",
					"buildings": [ "bldg-map-church" ],
					"total": 1
				},
				{
					"_type": "somasim.game.goals::GoalHaveBuildings",
					"id": "ach-b-1-goal-6",
					"buildings": [ "bldg-map-jail" ],
					"total": 1
				}
			],
			"ids": { "play": "CgkIi7DpovgcEAIQDQ", "ios": "ach_b_1", "steam": "ach_b_1", "amazon": "ach_b_1" }
		},
		{
			"name": "ach-b-2",
			"goals": [
				{
					"_type": "somasim.game.goals::GoalHaveBuildings",
					"id": "ach-b-2-goal-1",
					"buildings": [ "bldg-work-lv3-gold-mine", "bldg-work-lv3-silver-mine", "bldg-work-lv3-iron-mine", "bldg-work-lv0-oil-rig" ],
					"total": 8
				}
			],
			"ids": { "play": "CgkIi7DpovgcEAIQDg", "ios": "ach_b_2", "steam": "ach_b_2", "amazon": "ach_b_2" }
		},
		{
			"name": "ach-b-3",
			"goals": [
				{
					"_type": "somasim.game.goals::GoalHaveBuildings",
					"id": "ach-b-3-goal-1",
					"buildings": [ "bldg-work-lv0-farm-barley", "bldg-work-lv0-farm-wheat", "bldg-work-lv0-vineyard", "bldg-work-lv0-farm-cotton", "bldg-work-lv0-farm-olive", "bldg-work-lv0-orchard" ],
					"total": 10
				}
			],
			"ids": { "play": "CgkIi7DpovgcEAIQDw", "ios": "ach_b_3", "steam": "ach_b_3", "amazon": "ach_b_3" }
		},
		{
			"name": "ach-b-4",
			"goals": [
				{
					"_type": "somasim.game.goals::GoalHaveBuildings",
					"id": "ach-b-4-goal-1",
					"buildings": [ "bldg-work-lv1-brewery", "bldg-work-lv1-distillery", "bldg-work-lv1-winemaker" ],
					"total": 6
				}
			],
			"ids": { "play": "CgkIi7DpovgcEAIQEg", "ios": "ach_b_4", "steam": "ach_b_4", "amazon": "ach_b_4" }
		},
		{
			"name": "ach-b-5",
			"goals": [
				{
					"_type": "somasim.game.goals::GoalHaveBuildings",
					"id": "ach-b-5-goal-1",
					"buildings": [ "bldg-work-lv0-hunting-camp", "bldg-work-lv0-logging-camp" ],
					"total": 5
				}
			],
			"ids": { "play": "CgkIi7DpovgcEAIQEA", "ios": "ach_b_5", "steam": "ach_b_5", "amazon": "ach_b_5" }
		},
		{
			"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-sf-quest-1",
			"goals": [
			],
			"ids": { "play": "CgkIi7DpovgcEAIQLA", "ios": "ach_sf_quest_1", "steam": "ach_sf_quest_1", "amazon": "ach_sf_quest_1" }
		},
		{
			"name": "ach-sf-quest-2",
			"goals": [
			],
			"ids": { "play": "CgkIi7DpovgcEAIQLQ", "ios": "ach_sf_quest_2", "steam": "ach_sf_quest_2", "amazon": "ach_sf_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-pine-1": {
				"x": "0.5", "y": "0.5", "r": "0.7", "h": 0.3
			},
			"stencil-tree-pine-2": {
				"x": "0.1", "y": "0.7", "r": "0.5", "h": 0.5
			},
			"stencil-tree-pine-3": {
				"x": "0.3", "y": "0.5", "r": "0.4", "h": 1.0
			},
			"stencil-tree-pine-c1": {
				"x": "0.2", "y": "0.7", "r": "0.4", "h": 1.0
			},
			"stencil-tree-pine-c2": {
				"x": "0.1", "y": "0.7", "r": "0.4", "h": 1.0
			},
			"stencil-tree-birch-1": {
				"x": "0.2", "y": "0.3", "r": "0.4", "h": 1.0
			},
			"stencil-tree-birch-2": {
				"x": "0.2", "y": "0.3", "r": "0.4", "h": 1.0
			},
			"stencil-tree-birch-3": {
				"x": "0.2", "y": "0.3", "r": "0.4", "h": 1.0
			},
			"stencil-tree-birch-c1": {
				"x": "0.2", "y": "0.3", "r": "0.4", "h": 1.0
			},
			"stencil-tree-birch-c2": {
				"x": "0.2", "y": "0.3", "r": "0.4", "h": 1.0
			},
			"stencil-tree-dead-1": {
				"x": "0.4", "y": "0.0", "r": "0.6", "h": 0.1
			},
			"stencil-tree-dead-2": {
				"x": "0.4", "y": "0.0", "r": "0.6", "h": 0.1
			},
			"stencil-tree-dead-3": {
				"x": "0.4", "y": "0.0", "r": "0.6", "h": 0.1
			},
			"stencil-tree-dead-4": {
				"x": "0.4", "y": "0.0", "r": "0.6", "h": 0.1
			}
		},
		"colors": {
			"xs": 		[     0.0,      0.8,      1.0  ],
			"colors": 	[ "5b9225", "e2c381", "f4d9aa" ]
		},
		"heightdarkness": {
			"x": [ 0.0,  0.5,  1.0 ],
			"y": [ 0.0, -0.1, -0.2 ]
		}
	},
	"scengen": {
		"metalmap": {
			"x": [ 0.0, 0.25,   0.6,   1.0 ],
			"y": [   0,    0, 10000, 30000 ]
		},
		"crudemap": {
			"x": [ 0.0, 0.3 ],
			"y": [ 2000,   0 ]
		},
		"citymapsize": {
			"x": [ 0, 0.5, 0.5, 1 ],
			"y": [ 14, 26, 60, 60 ]
		},
		"ressizemultiplier": {
			"x": [    0,  0.5, 0.5, 1 ],
			"y": [ 0.05, 0.15,   1, 1 ]
		},
		"baseprices": [
			{ "name": "wheat",  		"buy": 10,	"sell": 5 },
			{ "name": "barley",  		"buy": 10,	"sell": 5 },
			{ "name": "cotton",  		"buy": 10,	"sell": 5 },
			{ "name": "olives",  		"buy": 10,	"sell": 5 },
			{ "name": "fruit",  		"buy": 10,	"sell": 5 },
			{ "name": "grapes",  		"buy": 10,	"sell": 5 },
			{ "name": "meat",  			"buy": 20,	"sell": 10 },
			{ "name": "cheese",  		"buy": 20,	"sell": 10 },
			{ "name": "leather",  		"buy": 20,	"sell": 10 },
			{ "name": "salt",  			"buy": 20,	"sell": 10 },
			{ "name": "lumber",  		"buy": 20,	"sell": 10 },
			{ "name": "gold",  			"buy": 200,	"sell": 100 },
			{ "name": "silver",  		"buy": 140,	"sell": 70 },
			{ "name": "iron-ore",  		"buy": 60,	"sell": 30 },
			{ "name": "stone",  		"buy": 20,	"sell": 10 },
			{ "name": "crude",  		"buy": 20,	"sell": 10 },
			{ "name": "wine",  			"buy": 20,	"sell": 10 },
			{ "name": "beer",  			"buy": 20,	"sell": 10 },
			{ "name": "brandy",  		"buy": 20,	"sell": 10 },
			{ "name": "whiskey",  		"buy": 20,	"sell": 10 },
			{ "name": "bread",  		"buy": 20,	"sell": 10 },
			{ "name": "olive-oil",  	"buy": 20,	"sell": 10 },
			{ "name": "fabric",  		"buy": 20,	"sell": 10 },
			{ "name": "canned-fish",	"buy": 40,	"sell": 20 },
			{ "name": "canned-meat",	"buy": 40,	"sell": 20 },
			{ "name": "shoes",  		"buy": 40,	"sell": 20 },
			{ "name": "boards",  		"buy": 40,	"sell": 20 },
			{ "name": "paper",  		"buy": 40,	"sell": 20 },
			{ "name": "stone-bricks",	"buy": 40,	"sell": 20 },
			{ "name": "iron",  			"buy": 60,	"sell": 30 },
			{ "name": "furniture",		"buy": 60,	"sell": 30 },
			{ "name": "newspapers",		"buy": 60,	"sell": 30 },
			{ "name": "fine-clothes",	"buy": 60,	"sell": 30 },
			{ "name": "pickaxes",		"buy": 100,	"sell": 50 }
		],
		"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-farm-wheat",
					"_ e-grant-and-place-building day 0 name bldg-work-lv0-hunting-camp",
					"_ e-grant-and-place-building day 0 name bldg-work-lv0-logging-camp",
					"_ 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-pine": {
				"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-1",
				"descintro": "sandbox.quest-1.intro",
				"descshort": "sandbox.quest-1.short",
				"descdone": "sandbox.quest-1.done",
				"descexpired": "sandbox.quest-1.expired",
				"goals": [
					{ 
						"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
						"id": "quest-1-goal-1",
						"resource": "boards",
						"amount": 50						
					},
					{
						"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
						"id": "quest-1-goal-2",
						"resource": "bread",
						"amount": 50
					},
					{
						"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
						"id": "quest-1-goal-3",
						"resource": "brandy",
						"amount": 50
					}
				],
				"rewards": [
					"_ e-grant-resource day 0 name fabric amount 200 message none"
				]
			},
			{
				"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-5",
				"startday": 210,
				"endday": 300,
				"descintro": "sandbox.quest-5.intro",
				"descshort": "sandbox.quest-5.short",
				"descdone": "sandbox.quest-5.done",
				"descexpired": "sandbox.quest-5.expired",
				"goals": [
					{
						"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
						"id": "quest-5-goal-1",
						"resource": "pickaxes",
						"amount": 75
					}
				],
				"rewards": [
					"_ e-grant-map-resource day 0 name gold amount 800 inriver false"
				]
			},
			{
				"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-1",
			"storycity": "marin",
			"startdate": "8/1/1847",
			"startsong": "the_valley",
			"maptitle": "scenario.scenario-1.maptitle",
			"mapstory": "scenario.scenario-1.mapstory",
			"missionstory": "scenario.scenario-1.mission-story",
			"mapsize": 5,
			"tutorial": "tut-ftue",
			"trade": [
				{ 
					"city": "sanfrancisco",
					"cost": 500,
					"prices": [
						{ "name": "leather", "sell": 5 }
					]
				},
				{ 
					"city": "mendocino",
					"cost": 500,
					"prices": [
						{ "name": "lumber", "buy": 10 }
					]
				}
			], 
			"startup": {
				"cash": 2500,
				"meat": 100,
				"leather": 10
			},
			"mapresources": {
			},
			"missions": [
				{
					"level": 1,
					"desc": "scenario.scenario-1.mission-1",
					"shownexttown": false,
					"goals": [
						{ 
							"_type": "somasim.game.goals::GoalHaveHouses",
							"id": "level-1-goal-1",
							"total": 3
						}
					]
				},
				{
					"level": 2,
					"desc": "scenario.scenario-1.mission-2",
					"shownexttown": false,
					"goals": [
				
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-2-goal-1",
							"buildings": [ "bldg-house-2-1" ],
							"total": 2
						}
						
					]
				},
				{
					"level": 3,
					"desc": "scenario.scenario-1.mission-3",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-1",
							"city": "sanfrancisco",
							"resource": "leather",
							"amount": -20
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-3-goal-2",
							"buildings": [ "bldg-house-2-1" ],
							"total": 2
						}
					]
				}
			],
			"events": [
			],
			"flags": [ 
				"disable-fire", 
				"disable-crime" 
			],
			"bldgwhitelist": [
				"bldg-house-0-1",
				"bldg-house-0-2",
				"bldg-house-0-3",
				"bldg-house-1-1",
				"bldg-house-1-2",
				"bldg-house-2-1",
				"bldg-house-2-2",
				"bldg-work-lv0-hunting-camp",
				"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,
				"buildings": [ "bldg-house-1-1" ]
			}
		},
		{
			"name": "scenario-2",
			"startdate": "1/1/1848",
			"storycity": "sanjoaquin",
			"maptitle": "scenario.scenario-2.maptitle",
			"mapstory": "scenario.scenario-2.mapstory",
			"missionstory": "scenario.scenario-2.mission-story",
			"mapsize": 9,
			"trade": [
				{ 
					"city": "calaveras",
					"cost": 100,
					"prices": [
						{ "name": "lumber", "buy": 5 },
						{ "name": "bread", "sell": 5}						
					]
				},
				{
					"city": "sanfrancisco",
					"cost": 100,
					"prices": [
						{ "name": "wine", "sell": 10 }
					]
				} 
			], 
			"mapresources": {
			},
			"startup": {
				"meat": 50,
				"cash": 2500
			},
			"missions": [
				{
					"level": 1,
					"desc": "scenario.scenario-2.mission-1",
					"goals": [
						{ 
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-1-goal-1",
							"buildings": [ "bldg-work-lv0-farm-wheat" ],
							"total": 1
						},
						{ 
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-1-goal-2",
							"buildings": [ "bldg-work-lv1-baker" ],
							"total": 1
						}
					]
				},
				{
					"level": 2,
					"desc": "scenario.scenario-2.mission-2",
					"goals": [
						{ 
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-2-goal-1",
							"buildings": [ "bldg-work-lv0-farm-wheat" ],
							"total": 1
						},
						{ 
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-2-goal-2",
							"buildings": [ "bldg-work-lv1-baker" ],
							"total": 1
						},
						{ 
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-2-goal-3",
							"buildings": [ "bldg-work-lv0-vineyard" ],
							"total": 1
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-2-goal-4",
							"buildings": [ "bldg-work-lv1-winemaker" ],
							"total": 1

						}
					]
				},
				{
					"level": 3,
					"desc": "scenario.scenario-2.mission-3",
					"goals": [
						{ 
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-3-goal-1",
							"buildings": [ "bldg-work-lv0-farm-wheat" ],
							"total": 1
						},
						{ 
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-3-goal-2",
							"buildings": [ "bldg-work-lv1-baker" ],
							"total": 1
						},
						{ 
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-3-goal-3",
							"buildings": [ "bldg-work-lv0-vineyard" ],
							"total": 1
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-3-goal-4",
							"buildings": [ "bldg-work-lv1-winemaker" ],
							"total": 1

						},
						{
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-3-goal-6",
							"residents": 50
						}
					]
				}
			],
			"flags": [ 
				"disable-fire", 
				"disable-crime" 
			],
			"events": [
				"_ e-show-message day 1 message scenario.scenario-2.dynamic-story.0",
				"_ e-show-message day 14 message scenario.scenario-2.dynamic-story.2 ticker true",
				"_ e-show-message day 20 message scenario.scenario-2.dynamic-story.3 ticker true"
			],
			"bldgwhitelist": [
				"bldg-house-0-1",
				"bldg-house-0-2",
				"bldg-house-0-3",
				"bldg-house-1-1",
				"bldg-house-1-2",
				"bldg-house-2-1",
				"bldg-house-2-2",
				"bldg-house-3-1",
				"bldg-house-3-2",
				"bldg-work-lv0-farm-wheat",
				"bldg-work-lv0-vineyard",
				"bldg-work-lv1-winemaker",
				"bldg-work-lv0-ranch",
				"bldg-work-lv1-baker",
				"bldg-work-lv1-sawmill",
				"bldg-map-saloon",
				"road-base",
				"prop-lamp-1",
				"prop-lamp-2",
				"prop-hitching-post",
				"prop-trough",
				"prop-skull",
				"prop-wheel"
			],
			"terrain": {
				"mainseed": 2,
				"height": 0.1,
				"dryness": 0.8,
				"river": true,
				"buildings": [ "bldg-house-0-1", "bldg-house-0-1" ]
			}
		},
		
		{
			"name": "scenario-3",
			"startdate": "8/1/1848",
			"storycity": "sacramento",
			"maptitle": "scenario.scenario-3.maptitle",
			"mapstory": "scenario.scenario-3.mapstory",
			"missionstory": "scenario.scenario-3.mission-story",
			"mapsize": 12,
			"trade": [
				{ 
					"city": "sanjoaquin",
					"cost": 100,
					"prices": [
						{ "name": "beer", "buy": 2 },
						{ "name": "leather", "sell": 3}						
					]
				},
				{
					"city": "eldorado",
					"cost": 100,
					"prices": [
						{ "name": "lumber", "buy": 5},
						{ "name": "brandy", "sell": 7}
					]
				},
				{
					"city": "sanfrancisco",
					"cost": 200,
					"prices": [
						{ "name": "boards", "sell": 10 },
						{ "name": "fabric", "buy": 7 },
						{ "name": "cotton", "sell": 5},
						{ "name": "gold", "sell": 20 }
					]
				}
			], 
			"mapresources": {
			},
			"startup": {
				"meat": 50
			},
			"startupgrants": [
				{
					"message": "scenario.scenario-3.startup-1",
					"events": [
						"_ e-grant-resource day 0 name cash amount 3000 message none"
					]
				},
				{
					"message": "scenario.scenario-3.startup-2",
					"events": [
						"_ e-grant-trade-route day 0 city eldorado",
						"_ e-grant-resource day 0 name lumber amount 100 message none",
						"_ e-grant-resource day 0 name cash amount 1000 message none"
					]
				},
				{
					"message": "scenario.scenario-3.startup-3",
					"events": [
						"_ e-grant-and-place-building day 0 name bldg-work-lv0-orchard",
						"_ e-grant-and-place-building day 0 name bldg-work-lv0-ranch",
						"_ e-grant-resource day 0 name cash amount 1000 message none"
					]
				}
			],
			"missions": [
				{
					"level": 1,
					"desc": "scenario.scenario-3.mission-1",
					"goals": [
						{ 
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-1-goal-1",
							"residents": 75
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-1-goal-2",
							"buildings": [ "bldg-map-saloon" ],
							"total": 1
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-1-goal-3",
							"buildings": [ "bldg-map-sheriff" ],
							"total": 1
						}
					]
				},
				{
					"level": 2,
					"desc": "scenario.scenario-3.mission-2",
					"visible": false,
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-1",
							"city": "sanfrancisco",
							"resource": "gold",
							"amount": -75
						},
						{ 
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-2-goal-2",
							"residents": 75
						}
						
					]
				},
				{
					"level": 3,
					"desc": "scenario.scenario-3.mission-3",
					"visible": false,
					"goals": [
						{ 
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-3-goal-1",
							"residents": 100
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-2",
							"city": "eldorado",
							"resource": "brandy",
							"amount": -200
						}						
					]
				}
			],
			"events": [
				"_ e-show-mission day 60 level 3 visible true message scenario.scenario-3.dynamic-story.mission-3 then missions-dialog",
				"_ e-show-mission day 60 level 2 visible true" ,
				"_ e-grant-map-resource day 60 name gold amount 200 inriver true message none",
				"_ e-refresh-store day 60"
			],
			"quests": [
				{
					"id": "quest-1",
					"startday": 90,
					"endday": 423,
					"descintro": "scenario.scenario-3.quest-1.intro",
					"descshort": "scenario.scenario-3.quest-1.short",
					"descdone": "scenario.scenario-3.quest-1.done",
					"descexpired": "scenario.scenario-3.quest-1.expired",
					"goals": [
						{ 
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-1",
							"resource": "boards",
							"amount": 50						
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-2",
							"resource": "bread",
							"amount": 50

						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-3",
							"resource": "brandy",
							"amount": 50
						}
					],
					"rewards": [
						"_ e-grant-resource day 0 name fabric amount 200 message none"
					]
				}
			],
			"flags": [ 
				"disable-fire" 
			],
			"bldgwhitelist": [
				"bldg-house-0-1",
				"bldg-house-0-2",
				"bldg-house-0-3",
				"bldg-house-1-1",
				"bldg-house-1-2",
				"bldg-house-2-1",
				"bldg-house-2-2",
				"bldg-house-3-1",
				"bldg-house-3-2",
				"bldg-house-3-3",
				"bldg-work-lv0-farm-wheat",
				"bldg-work-lv0-orchard",
				"bldg-work-lv0-farm-cotton",
				"bldg-work-lv0-ranch",
				"bldg-work-lv0-gold-panning",
				"bldg-work-lv1-baker",
				"bldg-work-lv1-distillery",
				"bldg-work-lv1-sawmill",
				"bldg-map-saloon",
				"bldg-map-sheriff",
				"road-base",
				"prop-lamp-1",
				"prop-lamp-2",
				"prop-hitching-post",
				"prop-trough",
				"prop-skull",
				"prop-wheel"
			],
			"terrain": {
				"mainseed": 2,
				"height": 0.1,
				"dryness": 0.1,
				"river": true,
				"buildings": [ "bldg-house-0-1", "bldg-house-0-1" ]
			}
		},

		{
			"name": "scenario-4",
			"startdate": "9/1/1849",
			"storycity": "eldorado",
			"maptitle": "scenario.scenario-4.maptitle",
			"mapstory": "scenario.scenario-4.mapstory",
			"missionstory": "scenario.scenario-4.mission-story",
			"mapsize": 12,
			"trade": [
				{ 
					"city": "sacramento",
					"cost": 100,
					"prices": [
						{ "name": "brandy", "buy": 2 },
						{ "name": "gold", "sell": 16}						
					]
				},
				{
					"city": "yolo",
					"cost": 100,
					"prices": [
						{ "name": "pickaxes", "buy": 6},
						{ "name": "iron-ore", "sell": 4}
					]
				},
				{
					"city": "sanjoaquin",
					"cost": 100,
					"prices": [
						{ "name": "canned-meat", "buy": 2 },
						{ "name": "leather", "sell": 2 }
					]
				}
			], 
			"mapresources": {
				"gold": 1000,
				"rivergold": 500,
				"iron-ore": 1500
			},
			"startup": {
				"lumber": 100,
				"meat": 100,
				"pickaxes": 50
			},
			"startupgrants": [
				{
					"message": "scenario.scenario-4.startup-1",
					"events": [
						"_ e-grant-resource day 0 name cash amount 3000 message none"
					]
				},
				{
					"message": "scenario.scenario-4.startup-2",
					"events": [
						"_ e-grant-resource day 0 name whiskey amount 30 repeatdays 30 message event.resource-ticker ticker true",
						"_ e-grant-resource day 0 name meat amount 30 repeatdays 30 message event.resource-ticker ticker true",
						"_ e-grant-resource day 0 name cash amount 750 message none"
					]
				},
				{
					"message": "scenario.scenario-4.startup-3",
					"events": [
						"_ e-grant-and-place-building day 0 name bldg-work-lv3-gold-mine mapresource gold amount 250",
						"_ 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-4.mission-1",
					"goals": [
						{ 
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-1-goal-1",
							"city": "sacramento",
							"resource": "gold", 
							"amount": -100
						}
					]
				}, 
				{
					"level": 2,
					"desc": "scenario.scenario-4.mission-2",
					"goals": [
						{ 
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-1",
							"city": "sacramento",
							"resource": "gold", 
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveResource",
							"id": "level-2-goal-2",
							"resource": "pickaxes",
							"amount": 100
						}
					]
				}, 
				{
					"level": 3,
					"desc": "scenario.scenario-4.mission-3",
					"goals": [
						{ 
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-1",
							"city": "sacramento",
							"resource": "gold", 
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-3",
							"city": "yolo",
							"resource": "iron-ore",
							"amount": -100
						}
					]
				}
			],
			"events": [
				"_ e-earthquake day 230 howmany 0",
				"_ e-mine-collapse day 231",
				"_ e-earthquake day 300 howmany 0",
				"_ e-mine-collapse day 301"

			],
			"quests": [
				{
					"id": "quest-1",
					"startday": 195,
					"endday": 315,
					"descintro": "scenario.scenario-4.quest-1.intro",
					"descshort": "scenario.scenario-4.quest-1.short",
					"descdone": "scenario.scenario-4.quest-1.done",
					"descexpired": "scenario.scenario-4.quest-1.expired",
					"goals": [
						{ 
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-1",
							"resource": "boards",
							"amount": 50						
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-2",
							"resource": "lumber",
							"amount": 100

						}
					],
					"rewards": [
						"_ e-grant-resource day 0 name whiskey amount 144 message none"
					]
				},
				{
					"id": "quest-2",
					"startday": 121,
					"endday": 166,
					"descintro": "scenario.scenario-4.quest-2.intro",
					"descshort": "scenario.scenario-4.quest-2.short",
					"descdone": "scenario.scenario-4.quest-2.done",
					"descexpired": "scenario.scenario-4.quest-2.expired",
					"goals":[
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-1",
							"resource": "canned-meat",
							"amount": 50
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-2",
							"resource": "cash",
							"amount": 1000
						}
					],
					"rewards": [
						"_ e-grant-resource day 0 name gold amount 50 message none"
					]
				}
			],
			"bldgwhitelist": [
				"bldg-house-0-1",
				"bldg-house-0-2",
				"bldg-house-0-3",
				"bldg-house-1-1",
				"bldg-house-1-2",
				"bldg-house-2-1",
				"bldg-house-2-2",
				"bldg-house-3-1",
				"bldg-house-3-2",
				"bldg-map-saloon",
				"bldg-map-sheriff",
				"bldg-map-fire",
				"bldg-work-lv0-gold-panning",
				"bldg-work-lv3-gold-mine",
				"bldg-work-lv3-iron-mine",
				"bldg-work-lv0-hunting-camp",
				"bldg-work-lv0-logging-camp",
				"bldg-work-lv1-sawmill",
				"road-base",
				"prop-lamp-1",
				"prop-lamp-2",
				"prop-hitching-post",
				"prop-trough",
				"prop-skull",
				"prop-wheel"
			],
			"terrain": {
				"mainseed": 852,
				"height": 0.3,
				"dryness": 0.1,
				"river": true,
				"buildings": [ "bldg-house-0-1", "bldg-house-0-1" ]
			}
		},

		{
			"name": "scenario-5",
			"startdate": "2/1/1850",
			"storycity": "sutter",
			"maptitle": "scenario.scenario-5.maptitle",
			"mapstory": "scenario.scenario-5.mapstory",
			"missionstory": "scenario.scenario-5.mission-story",
			"mapsize": 16,
			"trade": [
				{ 
					"city": "sacramento",
					"cost": 250
,					"prices": [
						{ "name": "leather", "buy": 5 },
						{ "name": "olive-oil", "sell": 10}						
					]
				},
				{
					"city": "calaveras",
					"cost": 500,
					"prices": [
						{ "name": "boards", "buy": 8},
						{ "name": "wine", "sell": 5}
					]
				},
				{
					"city": "yolo",
					"cost": 1000,
					"prices": [
						{ "name": "stone", "sell": 10 },
						{ "name": "fabric", "buy": 7 }
					]
				}
			], 
			"mapresources": {
			},
			"startup": {
				"bread": 50
			},
			"startupgrants": [
				{
					"message": "scenario.scenario-5.startup-1",
					"events": [
						"_ e-grant-resource day 0 name cash amount 4000 message none"
					]
				},
				{
					"message": "scenario.scenario-5.startup-2",
					"events": [
						"_ e-grant-trade-route day 0 city sacramento",
						"_ e-grant-trade-route day 0 city calaveras",
						"_ e-grant-trade-route day 0 city yolo",
						"_ e-grant-resource day 0 name fabric amount 100 message none",
						"_ e-grant-resource day 0 name leather amount 100 message none",
						"_ e-grant-resource day 0 name cash amount 500 message none"
					]
				},
				{
					"message": "scenario.scenario-5.startup-3",
					"events": [
						"_ e-grant-and-place-building day 0 name bldg-work-lv0-farm-wheat",
						"_ e-grant-and-place-building day 0 name bldg-work-lv0-vineyard",
						"_ e-grant-and-place-building day 0 name bldg-work-lv0-logging-camp",
						"_ e-grant-resource day 0 name cash amount 500 message none"
					]
				}
			],
			"missions": [
				{
					"level": 1,
					"desc": "scenario.scenario-5.mission-1",
					"goals": [
						{ 
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-1-goal-1",
							"buildings": [ "bldg-house-4-1", "bldg-house-4-2", "bldg-house-4-3" ], 
							"total": 5
						}
					]
				},
				{
					"level": 2,
					"desc": "scenario.scenario-5.mission-2",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-2-goal-1",
							"buildings": [ "bldg-house-4-1", "bldg-house-4-2", "bldg-house-4-3" ],
							"total": 7
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-2",
							"city": "sacramento",
							"resource": "olive-oil",
							"amount": -200
						}
					]
				},
				{
					"level": 3,
					"desc": "scenario.scenario-5.mission-3",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-3-goal-1",
							"buildings": [ "bldg-house-4-1", "bldg-house-4-2", "bldg-house-4-3" ],
							"total": 7
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-2",
							"city": "sacramento",
							"resource": "olive-oil",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveResource",
							"id": "level-3-goal-3",
							"resource": "wine",
							"amount": 100
						}
					]
				}				
			],
			"quests": [
				{
					"id": "quest-1",
					"startday": 210,
					"endday": 300,
					"descintro": "scenario.scenario-5.quest-1.intro",
					"descshort": "scenario.scenario-5.quest-1.short",
					"descdone": "scenario.scenario-5.quest-1.done",
					"descexpired": "scenario.scenario-5.quest-1.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-1",
							"resource": "fabric",
							"amount": 100
						}
					],
					"rewards": [
						"_ e-grant-resource day 0 repeatdays 30 name leather amount 25 message scenario.scenario-5.quest-1.ticker ticker true"
					]

				},
				{
					"id": "quest-2",
					"startday": 300,
					"endday": 420,
					"descintro": "scenario.scenario-5.quest-2.intro",
					"descshort": "scenario.scenario-5.quest-2.short",
					"descdone": "scenario.scenario-5.quest-2.done",
					"descexpired": "scenario.scenario-5.quest-2.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "quest-2-goal-1",
							"city": "yolo",
							"resource": "stone",
							"amount": -50

						}
					],
					"rewards": [
						"_ e-grant-resource day 0 repeatdays 30 name fabric amount 30 message scenario.scenario-5.quest-2.ticker ticker true"
					]
				}
			],
			"bldgwhitelist": [
				"bldg-house-0-1",
				"bldg-house-1-1",
				"bldg-house-2-1",
				"bldg-house-3-1",
				"bldg-house-4-1",
				"bldg-work-lv0-farm-wheat",
				"bldg-work-lv0-farm-olive",
				"bldg-work-lv0-vineyard",
				"bldg-work-lv0-logging-camp",
				"bldg-work-lv0-quarry",
				"bldg-work-lv1-sawmill",
				"bldg-work-lv1-winemaker",
				"bldg-work-lv1-baker",
				"bldg-work-lv1-olive-press",
				"bldg-work-lv2-carpenter",
				"bldg-work-lv0-fishing-dock",
				"bldg-map-saloon",
				"bldg-map-sheriff",
				"bldg-map-fire",
				"bldg-map-school",
				"road-base",
				"prop-lamp-1",
				"prop-lamp-2",
				"prop-hitching-post",
				"prop-trough",
				"prop-skull",
				"prop-wheel"
			],
			"terrain": {
				"mainseed": 19131,
				"height": 0.1,
				"dryness": 0.4,
				"river": true,
				"obstacles": {
					"seed": 192,
					"details": [
						{ "item": "bldg-obstacle-tree-birch", "count": 6, "repeatx": 2 }
					]
				},
				"buildings": [ "bldg-house-0-1", "bldg-house-0-1" ]
			}
		},
		{
			"name": "scenario-6",
			"startdate": "6/1/1850",
			"storycity": "santaclara",
			"maptitle": "scenario.scenario-6.maptitle",
			"mapstory": "scenario.scenario-6.mapstory",
			"missionstory": "scenario.scenario-6.mission-story",
			"mapsize": 16,
			"trade": [
				{
					"city": "tuolumne",
					"cost": 500,
					"prices": [
						{ "name": "canned-meat", "sell": 7 },
						{ "name": "wine", "sell": 12 }
					]
				},
				{
					"city": "mariposa",
					"cost": 200,
					"prices": [
						{ "name": "lumber", "buy": 3 },
						{ "name": "cheese", "sell": 7 },
						{ "name": "fish", "sell": 2 }
					]
				},
				{
					"city": "sanfrancisco",
					"cost": 800,
					"prices": [
						{ "name": "fabric", "buy": 7 },
						{ "name": "leather", "sell": 4 }
					]
				},
				{
					"city": "monterey",
					"cost": 250,
					"prices": [
						{ "name": "stone", "buy": 5 },
						{ "name": "salt", "buy": 3 }
					]
				}
			],
			"mapresources": {},
			"startup": {
				"meat": 50
			},
			"startupgrants": [
				{
					"message": "scenario.scenario-6.startup-1",
					"events": [
						"_ e-grant-resource day 0 name cash amount 2000 message none"
					]
				},
				{
					"message": "scenario.scenario-6.startup-2",
					"events": [
						"_ e-grant-and-place-building day 0 name bldg-work-lv0-ranch",
						"_ e-grant-and-place-building day 0 name bldg-work-lv0-ranch",
						"_ e-grant-resource day 0 name cash amount 750 message none"
					]
				},
				{
					"message": "scenario.scenario-6.startup-3",
					"events": [
						"_ e-grant-resource day 0 repeatdays 30 name lumber amount 50 message event.resource-ticker ticker true",
						"_ e-grant-resource day 0 name cash amount 1000 message none"
					]
				}
			],
			"missions": [
				{
					"level": 1,
					"desc": "scenario.scenario-6.mission-1",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-1-goal-1",
							"city": "mariposa",
							"resource": "cheese",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-1-goal-2",
							"city": "mariposa",
							"resource": "fish",
							"amount": -200
						}
					]
				},
				{
					"level": 2,
					"desc": "scenario.scenario-6.mission-2",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-1",
							"city": "tuolumne",
							"resource": "canned-meat",
							"amount": -100
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-2",
							"city": "mariposa",
							"resource": "cheese",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-3",
							"city": "mariposa",
							"resource": "fish",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-4",
							"city": "tuolumne",
							"resource": "wine",
							"amount": -100
						}
					]
				},
				{
					"level": 3,
					"desc": "scenario.scenario-6.mission-3",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-1",
							"city": "tuolumne",
							"resource": "canned-meat",
							"amount": -100
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-2",
							"city": "mariposa",
							"resource": "cheese",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-3",
							"city": "mariposa",
							"resource": "fish",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-4",
							"city": "tuolumne",
							"resource": "wine",
							"amount": -100
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-3-goal-5",
							"buildings": [ "bldg-house-5-1", "bldg-house-5-2", "bldg-house-5-3" ],
							"total": 5
						},
						{
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-3-goal-6",
							"residents": 200
						}
					]
				}
			],
			"quests": [
				{
					"id": "quest-1",
					"startday": 360,
					"endday": 480,
					"descintro": "scenario.scenario-6.quest-1.intro",
					"descshort": "scenario.scenario-6.quest-1.short",
					"descdone": "scenario.scenario-6.quest-1.done",
					"descexpired": "scenario.scenario-6.quest-1.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-1",
							"resource": "canned-meat",
							"amount": 100
						}
					],
					"rewards": [
						"_ e-grant-resource day 0 name fabric amount 200 message none"
					]
				},
				{
					"id": "quest-2",
					"startday": 390,
					"endday": 560,
					"descintro": "scenario.scenario-6.quest-2.intro",
					"descshort": "scenario.scenario-6.quest-2.short",
					"descdone": "scenario.scenario-6.quest-2.done",
					"descexpired": "scenario.scenario-6.quest-2.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-1",
							"resource": "cheese",
							"amount": 100
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-2",
							"resource": "wine",
							"amount": 50
						}
					],
					"rewards": [
						"_ e-grant-resource day 0 name cash amount 1000 message none"
					]
				}
			],
			"bldgwhitelist": [
				"bldg-house-0-1",
				"bldg-house-1-1",
				"bldg-house-2-1",
				"bldg-house-3-1",
				"bldg-house-4-1",
				"bldg-house-5-1",
				"bldg-work-lv0-farm-wheat",
				"bldg-work-lv0-vineyard",
				"bldg-work-lv0-orchard",
				"bldg-work-lv0-salt-pan",
				"bldg-work-lv0-ranch",
				"bldg-work-lv0-fishing-dock",
				"bldg-work-lv1-sawmill",
				"bldg-work-lv1-winemaker",
				"bldg-work-lv1-distillery",
				"bldg-work-lv1-baker",
				"bldg-work-lv1-cannery",
				"bldg-work-lv1-cobbler",
				"bldg-work-lv1-stonemason",
				"bldg-work-lv2-carpenter",
				"bldg-work-lv2-tailor",
				"bldg-map-saloon",
				"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": 9,
				"height": 0.1,
				"dryness": 0.5,
				"river": true,
				"coast": true,
				"rivertiles": 3,
				"obstacles": {
					"seed": 1987,
					"details": [
						{ "item": "bldg-obstacle-rock", "count": 3 },
						{ "item": "bldg-obstacle-tree-dead", "count": 6, "repeaty": 2 }
					]
				},
				"buildings": [ "bldg-house-0-1", "bldg-house-0-1" ]
			}
		},
		{
			"name": "scenario-7",
			"startdate": "6/1/1850",
			"storycity": "yuba",
			"maptitle": "scenario.scenario-7.maptitle",
			"mapstory": "scenario.scenario-7.mapstory",
			"missionstory": "scenario.scenario-7.mission-story",
			"mapsize": 12,
			"trade": [
				{
					"city": "santaclara",
					"cost": 100,
					"prices": [
						{ "name": "canned-meat", "buy": 5 },
						{ "name": "brandy", "buy": 5 },
						{ "name": "lumber", "sell": 8 }
					]
				},
				{
					"city": "eldorado",
					"cost": 100,
					"prices": [
						{ "name": "meat", "buy": 8 },
						{ "name": "pickaxes", "sell": 12 }
					]
				},
				{
					"city": "sanfrancisco",
					"cost": 100,
					"prices": [
						{ "name": "iron", "sell": 15 },
						{ "name": "gold", "sell": 25 },
						{ "name": "crude", "sell": 15 },
						{ "name": "pickaxes", "buy": 200 }
					]
				}
			],
			"mapresources":{
				"gold": 100
			},
			"startup":{
				"brandy": 50,
				"canned-meat": 50,
				"pickaxes": 50,
				"lumber": 50
			},
			"startupgrants": [
				{
					"message": "scenario.scenario-7.startup-1",
					"events": [
						"_ e-grant-resource day 0 name cash amount 2000 message none"
					]
				},
				{
					"message": "scenario.scenario-7.startup-2",
					"events": [
						"_ e-grant-resource day 0 repeatdays 30 name canned-meat amount 50 message event.resource-ticker ticker true",
						"_ e-grant-resource day 0 repeatdays 30 name brandy amount 50 message event.resource-ticker ticker true",
						"_ e-grant-resource day 0 name cash amount 500 message none"
					]
				},
				{
					"message": "scenario.scenario-7.startup-3",
					"events": [
						"_ e-grant-and-place-building day 0 name bldg-work-lv0-hunting-camp",
						"_ e-grant-and-place-building day 0 name bldg-work-lv0-hunting-camp",
						"_ e-grant-resource day 0 name cash amount 500 message none"
					]
				}
			],
			"missions": [
				{
					"level": 1,
					"desc": "scenario.scenario-7.mission-1",
					"goals":[
						{
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-1-goal-1",
							"residents": 75
						}
					]
				},
				{
					"level": 2,
					"desc": "scenario.scenario-7.mission-2",
					"visible": false,
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-2-goal-1",
							"residents": 75
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-2",
							"city": "eldorado",
							"resource": "pickaxes",
							"amount": -100
						}						
					]
				},
				{
					"level": 3,
					"desc": "scenario.scenario-7.mission-3",
					"visible": false,
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-3-goal-1",
							"residents": 75
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-2",
							"city": "eldorado",
							"resource": "pickaxes",
							"amount": -100
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-3",
							"city": "sanfrancisco",
							"resource": "crude",
							"amount": -100
						}
					]
				}
			],
			"events": [
				"_ e-show-mission day 7 level 2 visible true message scenario.scenario-7.dynamic-story.1 then missions-dialog",
				"_ e-grant-map-resource day 7 name iron-ore amount 1800 message none",
				"_ e-refresh-store day 7",
				"_ e-show-mission day 35 level 3 visible true message scenario.scenario-7.dynamic-story.2 then missions-dialog",
				"_ e-grant-map-resource day 35 name crude amount 1800 message none",
				"_ e-refresh-store day 35"
			],
			"quests": [
				{
					"id": "quest-1",
					"startday": 60,
					"endday": 120,
					"descintro": "scenario.scenario-7.quest-1.intro",
					"descshort": "scenario.scenario-7.quest-1.short",
					"descdone": "scenario.scenario-7.quest-1.done",
					"descexpired": "scenario.scenario-7.quest-1.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-1",
							"resource": "lumber",
							"amount": 100
						}
					],
					"rewards": [
						"_ e-grant-resource day 0 name whiskey amount 144 message none"
					]
				},
				{
					"id": "quest-2",
					"startday": 200,
					"endday": 290,
					"descintro": "scenario.scenario-7.quest-2.intro",
					"descshort": "scenario.scenario-7.quest-2.short",
					"descdone": "scenario.scenario-7.quest-2.done",
					"descexpired": "scenario.scenario-7.quest-2.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-1",
							"resource": "pickaxes",
							"amount": 25
						}
					],
					"rewards": [
						"_ e-grant-resource day 0 repeatdays 30 name meat amount 23 message scenario.scenario-7.quest-2.ticker ticker true"
					]
				}
			],
			"bldgwhitelist": [
				"bldg-house-0-1",
				"bldg-house-1-1",
				"bldg-house-2-1",
				"bldg-house-3-1",
				"bldg-work-lv0-logging-camp",
				"bldg-work-lv0-oil-rig",
				"bldg-work-lv1-sawmill",
				"bldg-work-lv1-smelter",
				"bldg-work-lv2-blacksmith",
				"bldg-work-lv0-fishing-dock",
				"bldg-work-lv3-gold-mine",
				"bldg-work-lv3-iron-mine",
				"bldg-map-saloon",
				"bldg-map-sheriff",
				"bldg-map-fire",
				"road-base",
				"prop-lamp-1",
				"prop-lamp-2",
				"prop-hitching-post",
				"prop-trough",
				"prop-skull",
				"prop-wheel"
			],
			"terrain": {
				"mainseed": 1945,
				"height": 0.6,
				"dryness": 0.1,
				"river": true,
				"rivertiles": 1,
				"obstacles": {
					"seed": 7777,
					"details": [
						{ "item": "bldg-obstacle-boulder", "count": 8, "repeaty": 2, "repeatx": 2 }
					]
				},
				"buildings": [ "bldg-house-2-1", "bldg-house-2-1", "bldg-map-saloon", "bldg-work-lv0-logging-camp" ]
			}
		},
		{
			"name": "scenario-8",
			"startdate": "11/1/1850",
			"storycity": "calaveras",
			"maptitle": "scenario.scenario-8.maptitle",
			"mapstory": "scenario.scenario-8.mapstory",
			"missionstory": "scenario.scenario-8.mission-story",
			"mapsize": 16,
			"trade": [
				{
					"city": "sanjoaquin",
					"cost": 500,
					"prices": [
						{ "name": "beer", "buy": 5 },
						{ "name": "stone", "sell": 5 },
						{ "name": "lumber", "sell": 5  }
					]
				},
				{
					"city": "yuba",
					"cost": 500,
					"prices": [
						{ "name": "pickaxes", "buy": 12 },
						{ "name": "leather", "sell": 8 }
					]
				},
				{
					"city": "sanfrancisco",
					"cost": 500,
					"prices": [
						{ "name": "gold", "sell": 20 },
						{ "name": "silver", "sell": 15 },
						{ "name": "fabric", "buy": 10 }
					]
				}
			],
			"mapresources": {
				"gold": 600
			},
			"startup": {
				"meat": 50
			},
			"startupgrants": [
				{
					"message": "scenario.scenario-8.startup-1",
					"events": [
						"_ e-grant-resource day 0 name cash amount 3000 message none"
					]
				},
				{
					"message": "scenario.scenario-8.startup-2",
					"events":[
						"_ e-grant-resource day 0 name cash amount 1000 message none",
						"_ e-grant-and-place-building day 0 name bldg-work-lv3-gold-mine mapresource gold amount 900",
						"_ e-grant-resource day 0 name pickaxes amount 50 message none",
						"_ e-grant-and-place-building day 0 name bldg-map-fire"
					]
				},
				{
					"message": "scenario.scenario-8.startup-3",
					"events": [
						"_ e-grant-resource day 0 repeatdays 30 name wine amount 50 message event.resource-ticker ticker true",
						"_ e-grant-resource day 0 name cash amount 500 message none"
					]
				}
			],
			"missions": [
				{
					"level": 1,
					"desc": "scenario.scenario-8.mission-1",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-1-goal-1",
							"buildings": [ "bldg-house-4-1", "bldg-house-4-2", "bldg-house-4-3" ],
							"total": 5
						}
					]
				},
				{
					"level": 2,
					"desc": "scenario.scenario-8.mission-2",
					"visible": false,
					"goals":[
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-2-goal-1",
							"buildings": [ "bldg-house-4-1", "bldg-house-4-2", "bldg-house-4-3" ],
							"total": 5
						},						
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-3",
							"city": "sanfrancisco",
							"resource": "gold",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-4",
							"city": "sanfrancisco",
							"resource": "silver",
							"amount": -150
						}
					]
				},
				{
					"level": 3,
					"desc": "scenario.scenario-8.mission-3",
					"visible": false,
					"goals":[
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-3-goal-1",
							"buildings": [ "bldg-house-4-1", "bldg-house-4-2", "bldg-house-4-3" ],
							"total": 5
						},						
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-3",
							"city": "sanfrancisco",
							"resource": "gold",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-4",
							"city": "sanfrancisco",
							"resource": "silver",
							"amount": -150
						},
						{
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-3-goal-5",
							"residents": 200
						}						
					]
				}
			],
			"events": [
				"_ e-show-mission day 60 level 2 visible true message scenario.scenario-8.dynamic-story.1 then missions-dialog",
				"_ e-show-mission day 60 level 3 visible true",
				"_ e-grant-map-resource day 60 name silver amount 600 message none",
				"_ e-refresh-store day 60"
			],
			"quests": [
				{
					"id": "quest-1",
					"startday": 250,
					"endday": 380,
					"descintro": "scenario.scenario-8.quest-1.intro",
					"descshort": "scenario.scenario-8.quest-1.short",
					"descdone": "scenario.scenario-8.quest-1.done",
					"descexpired": "scenario.scenario-8.quest-1.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-1",
							"resource": "meat",
							"amount": 50
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-2",
							"resource": "leather",
							"amount": 100
						}
					],
					"rewards": [
						"_ e-grant-resource day 0 name brandy amount 144 message none"
					]
				},
				{
					"id": "quest-2",
					"startday": 300,
					"endday": 460,
					"descintro": "scenario.scenario-8.quest-2.intro",
					"descshort": "scenario.scenario-8.quest-2.short",
					"descdone": "scenario.scenario-8.quest-2.done",
					"descexpired": "scenario.scenario-8.quest-2.expired",
					"goals":[
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-1",
							"resource": "gold",
							"amount": 25
						},
						{
							"_type":"somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-2",
							"resource": "silver",
							"amount": 25
						}
					],
					"rewards": [
						"_ e-grant-resource day 0 name cash amount 1000 message none"
					]
				}
			],
			"bldgwhitelist": [
				"bldg-house-0-1",
				"bldg-house-1-1",
				"bldg-house-2-1",
				"bldg-house-3-1",
				"bldg-house-4-1",
				"bldg-work-lv0-hunting-camp",
				"bldg-work-lv0-logging-camp",
				"bldg-work-lv0-ranch",
				"bldg-work-lv0-quarry",
				"bldg-work-lv1-sawmill",
				"bldg-work-lv1-cobbler",
				"bldg-work-lv2-carpenter",
				"bldg-work-lv3-gold-mine",
				"bldg-work-lv3-silver-mine",
				"bldg-map-saloon",
				"bldg-map-sheriff",
				"bldg-map-fire",
				"bldg-map-school",
				"bldg-map-church",
				"road-base",
				"prop-lamp-1",
				"prop-lamp-2",
				"prop-hitching-post",
				"prop-trough",
				"prop-skull",
				"prop-wheel"

			],
			"terrain": {
				"mainseed": 71978,
				"height": 0.5,
				"dryness": 0.1,
				"river": false,
				"obstacles": {
					"seed": 1978,
					"details": [
						{ "item": "bldg-obstacle-rock", "count": 20, "repeatx": 3, "repeaty":3 },
						{ "item": "bldg-obstacle-tree-pine", "count": 5 }
					]
				},
				"buildings": [ "bldg-work-lv0-hunting-camp", "bldg-house-1-2" ]
			}
		},
		{
			"name": "scenario-9",
			"startdate": "4/1/1851",
			"storycity": "napa",
			"maptitle": "scenario.scenario-9.maptitle",
			"mapstory": "scenario.scenario-9.mapstory",
			"missionstory": "scenario.scenario-9.mission-story",
			"mapsize": 18,
			"trade": [
				{
					"city": "mendocino",
					"cost": 500,
					"prices": [
						{ "name": "lumber", "buy": 5 },
						{ "name": "bread", "sell": 3 },
						{ "name": "paper", "buy": 8 }
					]
				},
				{
					"city": "calaveras",
					"cost": 500,
					"prices":[
						{ "name": "leather", "buy": 4 },
						{ "name": "brandy", "sell": 6 }
					]
				},
				{
					"city": "sanfrancisco",
					"cost": 750,
					"prices": [
						{ "name": "wine", "sell": 10 },
						{ "name": "olive-oil", "sell": 6 }
					]
				}
			],
			"startup": {
				"bread": 50
			},
			"startupgrants": [
				{
					"message": "scenario.scenario-9.startup-1",
					"events": [
						"_ e-grant-resource day 0 name cash amount 3000 message none"
					]
				},
				{
					"message": "scenario.scenario-9.startup-2",
					"events": [
						"_ e-grant-resource day 0 repeatdays 30 name lumber amount 50 message event.resource-ticker ticker true",
						"_ e-grant-resource day 0 name cash amount 750 message none"
					]
				},
				{
					"message": "scenario.scenario-9.startup-3",
					"events": [
						"_ e-grant-and-place-building day 0 name bldg-work-lv0-vineyard",
						"_ e-grant-and-place-building day 0 name bldg-work-lv1-winemaker",
						"_ e-grant-trade-route day 0 city sanfrancisco",
						"_ e-grant-resource day 0 name cash amount 750 message none"
					]
				}
			],
			"missions": [
				{
					"level": 1,
					"desc": "scenario.scenario-9.mission-1",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-1-goal-1",
							"buildings": [ "bldg-work-lv0-vineyard" ],
							"total": 6
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-1-goal-2",
							"buildings": [ "bldg-work-lv1-winemaker" ],
							"total": 4
						}
					]
				},
				{
					"level": 2,
					"desc": "scenario.scenario-9.mission-2",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-2-goal-1",
							"buildings": [ "bldg-work-lv0-vineyard" ],
							"total": 6
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-2-goal-2",
							"buildings": [ "bldg-work-lv1-winemaker" ],
							"total": 4
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-3",
							"city": "sanfrancisco",
							"resource": "wine",
							"amount": -500
						}
					]
				},
				{
					"level": 3,
					"desc": "scenario.scenario-9.mission-3",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-3-goal-1",
							"buildings": [ "bldg-work-lv0-vineyard" ],
							"total": 6
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-3-goal-2",
							"buildings": [ "bldg-work-lv1-winemaker" ],
							"total": 4
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-3-goal-3",
							"buildings": [ "bldg-house-5-2", "bldg-house-5-3" ],
							"total": 7
						}
					]
				}
			],
			"quests": [
				{
					"id": "quest-1",
					"startday": 240,
					"endday": 420,
					"descintro": "scenario.scenario-9.quest-1.intro",
					"descshort": "scenario.scenario-9.quest-1.short",
					"descdone": "scenario.scenario-9.quest-1.done",
					"descexpired": "scenario.scenario-9.quest-1.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-1",
							"resource": "stone",
							"amount": 100
						}
					],
					"rewards": [
						"_ e-grant-resource day 0 repeatdays 30 name fabric amount 20 ticker true message scenario.scenario-9.quest-1.ticker"
					]
				},
				{
					"id": "quest-2",
					"startday": 410,
					"endday": 520,
					"descintro": "scenario.scenario-9.quest-2.intro",
					"descshort": "scenario.scenario-9.quest-2.short",
					"descdone": "scenario.scenario-9.quest-2.done",
					"descexpired": "scenario.scenario-9.quest-2.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-1",
							"resource": "wine",
							"amount": 100
						}
					]
				}
			],
			"bldgwhitelist": [
				"bldg-house-0-1",
				"bldg-house-1-1",
				"bldg-house-2-1",
				"bldg-house-3-1",
				"bldg-house-4-1",
				"bldg-house-5-1",
				"bldg-work-lv0-farm-wheat",
				"bldg-work-lv0-fishing-dock",
				"bldg-work-lv0-farm-cotton",
				"bldg-work-lv0-farm-olive",
				"bldg-work-lv0-vineyard",
				"bldg-work-lv0-orchard",
				"bldg-work-lv0-quarry",
				"bldg-work-lv1-sawmill",
				"bldg-work-lv1-winemaker",
				"bldg-work-lv1-distillery",
				"bldg-work-lv1-baker",
				"bldg-work-lv1-olive-press",
				"bldg-work-lv1-textile-mill",
				"bldg-work-lv1-cobbler",
				"bldg-work-lv1-stonemason",
				"bldg-work-lv2-carpenter",
				"bldg-work-lv2-newspaper",
				"bldg-work-lv2-tailor",
				"bldg-map-saloon",
				"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": 8675309,
				"height": 0.1,
				"dryness": 0.1,
				"river": true,
				"obstacles": {
					"seed": 16335,
					"details": [
						{ "item": "bldg-obstacle-tree-pine", "count": 8, "repeaty": 3, "repeatx": 3 },
						{ "item": "bldg-obstacle-tree-birch", "count": 8, "repeaty": 3, "repeatx": 3 }
					]
				},
				"rivertiles": 2
			}
		},
		{
			"name": "scenario-9a",
			"startdate": "8/1/1851",
			"storycity": "monterey",
			"maptitle": "scenario.scenario-9a.maptitle",
			"mapstory": "scenario.scenario-9a.mapstory",
			"missionstory": "scenario.scenario-9a.mission-story",
			"mapsize": 18,
			"trade": [
				{
					"city": "calaveras",
					"cost": 250,
					"prices": [
						{ "name": "lumber", "buy": 3 },
						{ "name": "wine", "sell": 8 }
					]
				},
				{
					"city": "sanfrancisco",
					"cost": 500,
					"prices": [
						{ "name": "shoes", "sell": 12 },
						{ "name": "stone-bricks", "sell": 10 },
						{ "name": "cheese", "sell": 5 },
						{ "name": "fabric", "buy": 5 }
					]
				},
				{
					"city": "santaclara",
					"cost": "250",
					"prices": [
						{ "name": "canned-meat", "sell": 5 },
						{ "name": "furniture", "buy": 9 }
					]
				}
			],
			"startup": {
				"meat": 100,
				"lumber": 50
			},
			"startupgrants": [
				{
					"message": "scenario.scenario-9a.startup-1",
					"events": [
						"_ e-grant-resource day 0 name cash amount 3000 message none"
					]
				},
				{
					"message": "scenario.scenario-9a.startup-2",
					"events": [
						"_ e-grant-resource day 0 name cash amount 1000 message none",
						"_ e-grant-resource day 0 name fish amount 15 repeatdays 30 message event.resource-ticker ticker true"
					]
				},
				{
					"message": "scenario.scenario-9a.startup-3",
					"events": [
						"_ e-grant-resource day 0 name cash amount 1000 message none",
						"_ e-grant-and-place-building day 0 name bldg-work-lv0-ranch",
						"_ e-grant-workplace-upgrade day 1 name bldg-work-lv0-ranch upgrade mod1",
						"_ e-grant-workplace-upgrade day 1 name bldg-work-lv0-ranch upgrade mod2"
					]
				}
			],
			"missions": [
				{
					"level": 1,
					"desc": "scenario.scenario-9a.mission-1",
					"goals": [
						
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-1-goal-1",
							"city": "calaveras",
							"resource": "wine",
							"amount": -150
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-1-goal-2",
							"city": "sanfrancisco",
							"resource": "cheese",
							"amount": -300
						},
						{
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-1-goal-3",
							"residents": 125
						}
					]
				},
				{
					"level": 2,
					"desc": "scenario.scenario-9a.mission-2",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-1",
							"city": "sanfrancisco",
							"resource": "shoes",
							"amount": -150
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-2",
							"city": "sanfrancisco",
							"resource": "stone-bricks",
							"amount": -150
						},
						{
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-2-goal-3",
							"residents": 125
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-4",
							"city": "calaveras",
							"resource": "wine",
							"amount": -150
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-5",
							"city": "sanfrancisco",
							"resource": "cheese",
							"amount": -300
						}
					]
				},
				{
					"level": 3,
					"desc": "scenario.scenario-9a.mission-3",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-1",
							"city": "sanfrancisco",
							"resource": "shoes",
							"amount": -150
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-2",
							"city": "sanfrancisco",
							"resource": "stone-bricks",
							"amount": -150
						},
						{
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-3-goal-3",
							"residents": 125
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-4",
							"city": "calaveras",
							"resource": "wine",
							"amount": -150
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-5",
							"city": "sanfrancisco",
							"resource": "cheese",
							"amount": -300
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-6",
							"city": "santaclara",
							"resource": "canned-meat",
							"amount": -150
						}
					]
				}				
			],
			"quests": [
				{
					"id": "quest-1",
					"startday": 180,
					"endday": 540,
					"descintro": "scenario.scenario-9a.quest-1.intro",
					"descshort": "scenario.scenario-9a.quest-1.short",
					"descdone": "scenario.scenario-9a.quest-1.done",
					"descexpired": "scenario.scenario-9a.quest-1.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-1",
							"resource": "boards",
							"amount": 100
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-2",
							"resource": "fabric",
							"amount": 50
						}
					],
					"rewards": [
						"_ e-grant-resource day 0 name fish amount 20 repeatdays 30 message scenario.scenario-9a.quest-1.ticker-1 ticker true",
						"_ e-grant-resource day 0 name salt amount 20 repeatdays 30 message scenario.scenario-9a.quest-1.ticker-2 ticker true"
					]
				},
				{
					"id": "quest-2",
					"startday": 210,
					"endday": 590,
					"descintro": "scenario.scenario-9a.quest-2.intro",
					"descshort": "scenario.scenario-9a.quest-2.short",
					"descdone": "scenario.scenario-9a.quest-2.done",
					"descexpired": "scenario.scenario-9a.quest-2.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "quest-2-goal-1",
							"buildings": [ "bldg-work-lv0-vineyard" ],
							"total": 5
						}
					],
					"rewards": [
						"_ e-grant-workplace-upgrade day 1 name bldg-work-lv0-vineyard upgrade mod2 forever true",
						"_ e-grant-workplace-upgrade day 1 name bldg-work-lv1-winemaker upgrade mod1 forever true"
					]
				}
			],
			"bldgwhitelist": [
				"bldg-house-0-1",
				"bldg-house-1-1",
				"bldg-house-2-1",
				"bldg-house-3-1",
				"bldg-house-4-1",
				"bldg-work-lv0-farm-wheat",
				"bldg-work-lv0-vineyard",
				"bldg-work-lv0-orchard",
				"bldg-work-lv0-ranch",
				"bldg-work-lv0-fishing-dock",
				"bldg-work-lv0-quarry",
				"bldg-work-lv0-salt-pan",
				"bldg-work-lv1-sawmill",
				"bldg-work-lv1-winemaker",
				"bldg-work-lv1-distillery",
				"bldg-work-lv1-baker",
				"bldg-work-lv1-cobbler",
				"bldg-work-lv1-stonemason",
				"bldg-work-lv2-carpenter",
				"bldg-work-lv1-cannery-fish",
				"bldg-map-saloon",
				"bldg-map-sheriff",
				"bldg-map-fire",
				"bldg-map-school",
				"bldg-map-church",
				"bldg-map-jail",
				"road-base",
				"prop-lamp-1",
				"prop-lamp-2",
				"prop-hitching-post",
				"prop-trough",
				"prop-skull",
				"prop-wheel"
			],
			"terrain": {
				"mainseed": 93940,
				"height": 0.1,
				"dryness": 0.1,
				"river": true,
				"coast": true,
				"obstacles": {
					"seed": 45369,
					"details": [
						{ "item": "bldg-obstacle-tree-pine", "count": 15, "repeaty": 4 }
					]
				},
				"rivertiles": 5
			}
		},
		{
			"name": "scenario-10",
			"startdate": "10/1/1851",
			"storycity": "mendocino",
			"maptitle": "scenario.scenario-10.maptitle",
			"mapstory": "scenario.scenario-10.mapstory",
			"missionstory": "scenario.scenario-10.mission-story",
			"mapsize": 12,
			"trade": [
				{
					"city": "napa",
					"cost": 500,
					"prices": [
						{ "name": "wine", "buy": 4 },
						{ "name": "bread", "buy": 2 },
						{ "name": "lumber", "sell": 5 }
					]
				},
				{
					"city": "santaclara",
					"cost": 500,
					"prices": [
						{ "name": "shoes", "buy": 9 },
						{ "name": "furniture", "sell": 12 }
					]
				},
				{
					"city": "solano",
					"cost": 750,
					"prices": [
						{ "name": "fabric", "buy": 7 },
						{ "name": "pickaxes", "buy": 10 },
						{ "name": "iron", "sell": 7 },
						{ "name": "paper", "sell": 12 }
					]
				}
			],
			"mapresources": {
				"iron-ore": 1200
			},
			"startup": {
				"meat": 50
				},
			"startupgrants": [
				{
					"message": "scenario.scenario-10.startup-1",
					"events": [
						"_ e-grant-resource day 0 name cash amount 2500 message none"
					]
				},
				{
					"message": "scenario.scenario-10.startup-2",
					"events": [
						"_ e-grant-resource day 0 name brandy amount 300 message none",
						"_ e-grant-trade-route day 0 city napa",
						"_ e-grant-resource day 0 name cash amount 500 message none"
					]
				},
				{
					"message": "scenario.scenario-10.startup-3",
					"events": [
						"_ e-grant-resource day 0 name canned-meat amount 100 message none",
						"_ e-grant-resource day 0 name cash amount 300 message none",
						"_ e-grant-and-place-building day 0 name bldg-work-lv0-logging-camp",
						"_ e-grant-and-place-building day 0 name bldg-work-lv1-sawmill"
					]
				}
			],
			"missions": [
				{
					"level": 1,
					"desc": "scenario.scenario-10.mission-1",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-1-goal-1",
							"residents": 100
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-1-goal-2",
							"buildings": [ "bldg-house-4-3", "bldg-house-5-1" ],
							"total": 4
						}
					]
				},
				{
					"level": 2,
					"desc": "scenario.scenario-10.mission-2",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-2-goal-1",
							"residents": 100
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-2-goal-2",
							"buildings": [ "bldg-house-4-3", "bldg-house-5-1" ],
							"total": 4
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-3",
							"city": "santaclara",
							"resource": "furniture",
							"amount": -100
						}
					]
				},
				{
					"level": 3,
					"desc": "scenario.scenario-10.mission-3",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-3-goal-1",
							"residents": 100
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-3-goal-2",
							"buildings": [ "bldg-house-4-3", "bldg-house-5-1" ],
							"total": 4
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-3",
							"city": "santaclara",
							"resource": "furniture",
							"amount": -100
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-4",
							"city": "solano",
							"resource": "paper",
							"amount": -100
						}
					]
				}
			],
			"quests": [
				{
					"id": "quest-1",
					"startday": 180,
					"endday": 270,
					"descintro": "scenario.scenario-10.quest-1.intro",
					"descshort": "scenario.scenario-10.quest-1.short",
					"descdone": "scenario.scenario-10.quest-1.done",
					"descexpired": "scenario.scenario-10.quest-1.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-1",
							"resource": "stone",
							"amount": 50
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-2",
							"resource": "boards",
							"amount": 50
						}
					],
					"rewards":[
						"_ e-grant-resource day 0 repeatdays 30 name meat amount 20 message scenario.scenario-10.quest-1.ticker-1 ticker true",
						"_ e-grant-resource day 0 repeatdays 30 name whiskey amount 20 message scenario.scenario-10.quest-1.ticker-2 ticker true"
					]
				},
				{
					"id": "quest-2",
					"startday": 210,
					"endday": 320,
					"descintro": "scenario.scenario-10.quest-2.intro",
					"descshort": "scenario.scenario-10.quest-2.short",
					"descdone": "scenario.scenario-10.quest-2.done",
					"descexpired": "scenario.scenario-10.quest-2.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-1",
							"resource": "bread",
							"amount": 200
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-2",
							"resource": "pickaxes",
							"amount": 50
						}
					],
					"rewards": [
						"_ e-grant-resource day 0 repeatdays 30 name fish amount 20 message scenario.scenario-10.quest-2.ticker ticker true"
					]
				}
			],
			"events": [
				"_ e-grant-resource day 20 repeatdays 30 name leather amount 10 message scenario.scenario-10.leather ticker true"
			],
			"bldgwhitelist": [
				"bldg-house-0-1",
				"bldg-house-1-1",
				"bldg-house-2-1",
				"bldg-house-3-1",
				"bldg-house-4-1",
				"bldg-work-lv0-logging-camp",
				"bldg-work-lv0-fishing-dock",
				"bldg-work-lv0-quarry",
				"bldg-work-lv1-sawmill",
				"bldg-work-lv1-paper-mill",
				"bldg-work-lv1-smelter",
				"bldg-work-lv2-carpenter",
				"bldg-work-lv3-iron-mine",
				"bldg-map-saloon",
				"bldg-map-sheriff",
				"bldg-map-fire",
				"bldg-map-school",
				"bldg-map-church",
				"bldg-map-jail",
				"road-base",
				"prop-lamp-1",
				"prop-lamp-2",
				"prop-hitching-post",
				"prop-trough",
				"prop-skull",
				"prop-wheel"

			],
			"terrain": {
				"mainseed": 963852,
				"height": 0.5,
				"dryness": 0.1,
				"river": true,
				"obstacles": {
					"seed": 818,
					"details": [
						{ "item": "bldg-obstacle-tree-pine", "count": 14, "repeatx": 3 },
						{ "item": "bldg-obstacle-rock", "count": 28, "repeaty": 3 }
					]
				},
				"buildings": [ "bldg-work-lv0-hunting-camp", "bldg-house-1-2" ]
			}
		},
		{
			"name": "scenario-11",
			"startdate": "6/12/1852",
			"storycity": "solano",
			"maptitle": "scenario.scenario-11.maptitle",
			"mapstory": "scenario.scenario-11.mapstory",
			"missionstory": "scenario.scenario-11.mission-story",
			"mapsize": 13,
			"trade": [
				{
					"city": "tuolumne",
					"cost": 250,
					"prices": [
						{ "name": "boards", "sell": 8 },
						{ "name": "pickaxes", "sell": 10 },
						{ "name": "canned-meat", "sell": 3 },
						{ "name": "whiskey", "sell": 5 },
						{ "name": "fabric", "sell": 10 }
					]
				},
				{
					"city": "santaclara",
					"cost": 500,
					"prices": [
						{ "name": "grapes", "buy": 3 },
						{ "name": "wheat", "buy": 3 }
					]
				},
				{
					"city": "yuba",
					"cost": 500,
					"prices": [
						{ "name": "iron-ore", "buy": 5 }
					]
				}
			],
			"startup":{
				"bread": 75
			},
			"startupgrants": [
				{
					"message": "scenario.scenario-11.startup-1",
					"events": [
						"_ e-grant-resource day 0 name cash amount 2000 message none",
						"_ e-grant-and-place-building day 0 name bldg-work-lv0-farm-cotton",
						"_ e-grant-workplace-upgrade day 1 name bldg-work-lv0-farm-cotton upgrade mod1",
						"_ e-grant-workplace-upgrade day 1 name bldg-work-lv0-farm-cotton upgrade mod2",
						"_ e-grant-and-place-building day 0 name bldg-work-lv1-textile-mill",
						"_ e-grant-workplace-upgrade day 1 name bldg-work-lv1-textile-mill upgrade mod1",
						"_ e-grant-workplace-upgrade day 1 name bldg-work-lv1-textile-mill upgrade mod2"
					]
				},
				{
					"message": "scenario.scenario-11.startup-2",
					"events": [
						"_ e-grant-resource day 0 name cash amount 2000 message none",
						"_ e-grant-and-place-building day 0 name bldg-work-lv0-orchard",
						"_ e-grant-and-place-building day 0 name bldg-work-lv1-distillery",
						"_ e-grant-workplace-upgrade day 1 name bldg-work-lv1-distillery upgrade mod1",
						"_ e-grant-workplace-upgrade day 1 name bldg-work-lv1-distillery upgrade mod2"
					]
				},
				{
					"message": "scenario.scenario-11.startup-3",
					"events":[
						"_ e-grant-resource day 0 name cash amount 2000 message none",
						"_ e-grant-and-place-building day 0 name bldg-work-lv3-iron-mine mapresource iron-ore amount 200",
						"_ e-grant-resource day 0 name pickaxes amount 20 message none"
					]
				}
			],
			"missions": [
				{
					"level": 1,
					"desc": "scenario.scenario-11.mission-1",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-1-goal-1",
							"city": "tuolumne",
							"resource": "boards",
							"amount": -250
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-1-goal-2", 
							"city": "tuolumne",
							"resource": "pickaxes",
							"amount": -100
						},						
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-1-goal-3",
							"city": "tuolumne",
							"resource": "fabric",
							"amount": -100
						}
					]
				},
				{
					"level": 2,
					"desc": "scenario.scenario-11.mission-2",
					"goals": [						
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-1",
							"city": "tuolumne",
							"resource": "boards",
							"amount": -250
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-2", 
							"city": "tuolumne",
							"resource": "pickaxes",
							"amount": -100
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-3",
							"city": "tuolumne",
							"resource": "fabric",
							"amount": -100
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-4",
							"city": "tuolumne",
							"resource": "whiskey",
							"amount": -100
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-5",
							"city": "tuolumne",
							"resource": "canned-meat",
							"amount": -100
						}
					]
				},
				{
					"level": 3,
					"desc": "scenario.scenario-11.mission-3",
					"goals": [						
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-1",
							"city": "tuolumne",
							"resource": "boards",
							"amount": -250
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-2", 
							"city": "tuolumne",
							"resource": "pickaxes",
							"amount": -100
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-3",
							"city": "tuolumne",
							"resource": "canned-meat",
							"amount": -100
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-4",
							"city": "tuolumne",
							"resource": "whiskey",
							"amount": -100
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-5",
							"city": "tuolumne",
							"resource": "fabric",
							"amount": -100
						},
						{
							"_type": "somasim.game.goals::GoalHaveResource",
							"id": "level-3-goal-7",
							"resource": "canned-meat",
							"amount": 100
						},
						{
							"_type": "somasim.game.goals::GoalHaveResource",
							"id": "level-3-goal-8",
							"resource": "whiskey",
							"amount": 100
						}
					]
				}
			],
			"quests": [
				{
					"id": "quest-1",
					"startday": 180,
					"endday": 360,
					"descintro": "scenario.scenario-11.quest-1.intro",
					"descshort": "scenario.scenario-11.quest-1.short",
					"descdone": "scenario.scenario-11.quest-1.done",
					"descexpired": "scenario.scenario-11.quest-1.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-1",
							"resource": "stone-bricks",
							"amount": 50
						}
					],
					"rewards": [
						"_ e-grant-resource day 0 repeatdays 30 name wheat amount 25 message scenario.scenario-11.quest-1.ticker ticker true"
					]
				},
				{
					"id": "quest-2",
					"startday": 300,
					"endday": 520,
					"descintro": "scenario.scenario-11.quest-2.intro",
					"descshort": "scenario.scenario-11.quest-2.short",
					"descdone": "scenario.scenario-11.quest-2.done",
					"descexpired": "scenario.scenario-11.quest-2.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-1",
							"resource": "lumber",
							"amount": 200
						}
					],
					"rewards": [
						"_ e-grant-workplace-upgrade day 1 name bldg-work-lv0-ranch upgrade mod2 forever true"
					]
				}
			],
			"bldgwhitelist": [
				"bldg-house-0-1",
				"bldg-house-1-1",
				"bldg-house-2-1",
				"bldg-house-3-1",
				"bldg-house-4-1",
				"bldg-house-5-1",
				"bldg-work-lv0-farm-cotton",
				"bldg-work-lv0-salt-pan",
				"bldg-work-lv0-ranch",
				"bldg-work-lv0-quarry",
				"bldg-work-lv0-logging-camp",
				"bldg-work-lv1-sawmill",
				"bldg-work-lv1-baker",
				"bldg-work-lv1-winemaker",
				"bldg-work-lv1-distillery",
				"bldg-work-lv1-textile-mill",
				"bldg-work-lv1-cannery",
				"bldg-work-lv1-cobbler",
				"bldg-work-lv1-paper-mill",
				"bldg-work-lv1-stonemason",
				"bldg-work-lv1-smelter",
				"bldg-work-lv2-carpenter",
				"bldg-work-lv2-newspaper",
				"bldg-work-lv2-tailor",
				"bldg-work-lv2-blacksmith",
				"bldg-map-saloon",
				"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": 1976,
				"height": 0.1,
				"dryness": 0.4,
				"river": false,
				"coast": true,
				"obstacles": {
					"seed": 77,
					"details": [
						{ "item": "bldg-obstacle-tree-dead", "count": 12 }
					]
				},
				"buildings": [ "bldg-house-1-2", "bldg-house-1-2" ]				
			}
		},
		{
			"name": "scenario-12",
			"startdate": "4/1/1852",
			"storycity": "tuolumne",
			"maptitle": "scenario.scenario-12.maptitle",
			"mapstory": "scenario.scenario-12.mapstory",
			"missionstory": "scenario.scenario-12.mission-story",
			"mapsize": 12,
			"trade": [
				{
					"city": "calaveras",
					"cost": 250,
					"prices": [
						{ "name": "lumber", "buy": 3 },
						{ "name": "boards", "buy": 6 }
					]
				},
				{
					"city": "sanfrancisco",
					"cost": 500,
					"prices": [
						{ "name": "gold", "sell": 20 },
						{ "name": "silver", "sell": 10 }
					]
				},
				{
					"city": "monterey",
					"cost": 250,
					"prices": [
						{ "name": "canned-fish", "buy": 3 },
						{ "name": "wine", "buy": 3 }
					]
				},
				{
					"city": "solano",
					"cost": 750,
					"prices": [
						{ "name": "fabric", "buy": 10 } 
					]
				}
			],
			"mapresources": {
				"gold": 1500,
				"silver": 1500,
				"iron-ore": 1500
			},
			"startup": {
				"pickaxes": 25,
				"cash": 4000
			},
			"startupgrants": [
				{
					"message": "scenario.scenario-12.startup-1",
					"events":[
						"_ e-grant-resource day 0 name bread repeatdays 30 amount 50 message event.resource-ticker ticker true",
						"_ e-grant-resource day 0 name pickaxes repeatdays 30 amount 10 message event.resource-ticker ticker true",
						"_ e-grant-resource day 0 name canned-meat amount 50 message none",
						"_ e-grant-resource day 0 name lumber amount 100 message none",
						"_ e-grant-resource day 0 name whiskey amount 100 message none"
					]
				},
				{
					"message": "scenario.scenario-12.startup-2",
					"events": [
						"_ e-grant-resource day 0 name brandy repeatdays 30 amount 50 message event.resource-ticker ticker true",
						"_ e-grant-resource day 0 name pickaxes repeatdays 30 amount 10 message event.resource-ticker ticker true",
						"_ e-grant-resource day 0 name canned-meat amount 100 message none",
						"_ e-grant-resource day 0 name lumber amount 100 message none",
						"_ e-grant-resource day 0 name whiskey amount 50 message none"
					]
				},
				{
					"message": "scenario.scenario-12.startup-3",
					"events": [
						"_ e-grant-resource day 0 name lumber repeatdays 30 amount 50 message event.resource-ticker ticker true",
						"_ e-grant-resource day 0 name pickaxes repeatdays 30 amount 10 message event.resource-ticker ticker true",
						"_ e-grant-resource day 0 name canned-meat amount 100 message none",
						"_ e-grant-resource day 0 name lumber amount 50 message none",
						"_ e-grant-resource day 0 name whiskey amount 100 message none"

					]
				}
			],
			"missions": [
				{
					"level": 1,
					"desc": "scenario.scenario-12.mission-1",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-1-goal-1",
							"city": "sanfrancisco",
							"resource": "gold",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-1-goal-2",
							"city": "sanfrancisco",
							"resource": "silver",
							"amount": -200
						},
						{
							"_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-lv3-silver-mine" ],
							"total": 2
						}
					]
				},
				{
					"level": 2,
					"desc": "scenario.scenario-12.mission-2",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-1",
							"city": "sanfrancisco",
							"resource": "gold",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-2",
							"city": "sanfrancisco",
							"resource": "silver",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-2-goal-3",
							"buildings": [ "bldg-work-lv3-iron-mine" ],
							"total": 1
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-2-goal-4",
							"buildings": [ "bldg-work-lv1-smelter" ],
							"total": 1
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-2-goal-5",
							"buildings": [ "bldg-work-lv2-blacksmith" ],
							"total": 1
						}
					]
				},
				{
					"level": 3,
					"desc": "scenario.scenario-12.mission-3",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-1",
							"city": "sanfrancisco",
							"resource": "gold",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-2",
							"city": "sanfrancisco",
							"resource": "silver",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveResource",
							"id": "level-3-goal-3",
							"resource": "wine",
							"amount": 100
						},
						{
							"_type": "somasim.game.goals::GoalHaveResource",
							"id": "level-3-goal-4",
							"resource": "canned-fish",
							"amount": 100
						},
						{
							"_type": "somasim.game.goals::GoalHaveResource",
							"id": "level-3-goal-5",
							"resource": "lumber",
							"amount": 200
						}
					]
				}
			],
			"events": [
				"_ e-show-message day 1 message scenario.scenario-12.minehint",
				"_ e-show-message day 45 message scenario.scenario-12.bandits",
				"_ e-grant-resource day 55 name fabric amount 30 message scenario.scenario-12.fabric ticker true",
				"_ e-grant-resource day 50 name boards amount 25 message scenario.scenario-12.boards ticker true"
			],
			"quests": [
				{
					"id": "quest-1",
					"startday": 210,
					"endday": 300,
					"descintro": "scenario.scenario-12.quest-1.intro",
					"descshort": "scenario.scenario-12.quest-1.short",
					"descdone": "scenario.scenario-12.quest-1.done",
					"descexpired": "scenario.scenario-12.quest-1.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-1",
							"resource": "pickaxes",
							"amount": 75
						}
					],
					"rewards": [
						"_ e-grant-map-resource day 0 name gold amount 800 inriver false"
					]
				},
				{
					"id": "quest-2",
					"startday": 180,
					"endday": 300,
					"descintro": "scenario.scenario-12.quest-2.intro",
					"descshort": "scenario.scenario-12.quest-2.short",
					"descdone": "scenario.scenario-12.quest-2.done",
					"descexpired": "scenario.scenario-12.quest-2.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-2",
							"resource": "gold",
							"amount": 50
						}
					],
					"rewards": [
						"_ e-grant-resource day 0 repeatdays 30 name canned-meat amount 30 message scenario.scenario-12.quest-2.ticker-1 ticker true",
						"_ e-grant-resource day 0 repeatdays 30 name whiskey amount 30 message scenario.scenario-12.quest-2.ticker-2 ticker true"
					]
				}
			],
			"bldgwhitelist": [
				"bldg-house-0-1",
				"bldg-house-1-1",
				"bldg-house-2-1",
				"bldg-house-3-1",
				"bldg-work-lv0-hunting-camp",
				"bldg-work-lv1-smelter",
				"bldg-work-lv2-blacksmith",
				"bldg-work-lv3-silver-mine",
				"bldg-work-lv3-gold-mine",
				"bldg-work-lv3-iron-mine",
				"bldg-map-saloon",
				"bldg-map-sheriff",
				"bldg-map-fire",
				"bldg-map-school",
				"road-base",
				"prop-lamp-1",
				"prop-lamp-2",
				"prop-hitching-post",
				"prop-trough",
				"prop-skull",
				"prop-wheel"

			],
			"terrain": {
				"mainseed": 881918,
				"height": 0.7,
				"dryness": 0.4,
				"river": false,
				"obstacles": {
					"seed": 7755,
					"details": [
						{ "item": "bldg-obstacle-boulder", "count": 12, "repeaty": 6 },
						{ "item": "bldg-obstacle-tree-birch", "count": 8, "repeatx": 4 }
					]
				},
				"buildings": [ "bldg-house-1-2" ]
			}
		},
		{
			"name": "scenario-13",
			"startdate": "9/15/1852",
			"storycity": "contracosta",
			"maptitle": "scenario.scenario-13.maptitle",
			"mapstory": "scenario.scenario-13.mapstory",
			"missionstory": "scenario.scenario-13.mission-story",
			"mapsize": 18,
			"trade": [
				{
					"city": "mendocino",
					"cost": 250,
					"prices": [
						{ "name": "lumber", "buy": 2 },
						{ "name": "leather", "buy": 3 },
						{ "name": "furniture", "buy": 10 }
					]
				},
				{
					"city": "construction1",
					"cost": 500,
					"prices": [
						{ "name": "stone-bricks", "sell": 10 },
						{ "name": "canned-meat", "sell": 5 }
					]
				},
				{
					"city": "construction2",
					"cost": 1000,
					"prices": [
						{ "name": "paper", "sell": 10 },
						{ "name": "bread", "sell": 5 }
					]
				}
			],
			"startup": {
				"bread": 50,
				"lumber": 50
			},
			"startupgrants": [
				{
					"message": "scenario.scenario-13.startup-1",
					"events": [
						"_ e-grant-resource day 0 name cash amount 2500 message none"
					]
				},
				{
					"message": "scenario.scenario-13.startup-2",
					"events": [
						"_ e-grant-resource day 0 repeatdays 30 name fruit amount 50 message scenario.scenario-13.startup-2.ticker ticker true",
						"_ e-grant-resource day 0 name cash amount 1000 message none"
					]
				},
				{
					"message": "scenario.scenario-13.startup-3",
					"events": [
						"_ e-grant-and-place-building name bldg-work-lv1-cannery-fish",
						"_ e-grant-resource day 0 name salt amount 75 message none",
						"_ e-grant-resource day 0 name cash amount 750 message none"
					]
				}
			],
			"missions": [
				{
					"level": 1,
					"desc": "scenario.scenario-13.mission-1",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-1-goal-1", 
							"city": "construction1",
							"resource": "stone-bricks",
							"amount": -100
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-1-goal-2",
							"city": "construction1",
							"resource": "canned-meat",
							"amount": -100
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-1-goal-3",
							"city": "construction2",
							"resource": "paper",
							"amount": -100
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-1-goal-4",
							"city": "construction2",
							"resource": "bread",
							"amount": -100
						}
					]
				},
				{
					"level": 2,
					"desc": "scenario.scenario-13.mission-2",
					"goals": [
						{							
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-1", 
							"city": "construction1",
							"resource": "stone-bricks",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-2",
							"city": "construction1",
							"resource": "canned-meat",
							"amount": -100
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-3",
							"city": "construction2",
							"resource": "paper",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-4",
							"city": "construction2",
							"resource": "bread",
							"amount": -100
						}						
					]
				},
				{
					"level": 3,
					"desc": "scenario.scenario-13.mission-3",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-1", 
							"city": "construction1",
							"resource": "stone-bricks",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-2",
							"city": "construction1",
							"resource": "canned-meat",
							"amount": -100
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-3",
							"city": "construction2",
							"resource": "paper",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-4",
							"city": "construction2",
							"resource": "bread",
							"amount": -100
						},
						{
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-3-goal-5",
							"residents": 200
						}
					]
				}
			],
			"quests": [
				{
					"id": "quest-1",
					"startday": 90,
					"endday": 512,
					"descintro": "scenario.scenario-13.quest-1.intro",
					"descshort": "scenario.scenario-13.quest-1.short",
					"descdone": "scenario.scenario-13.quest-1.done",
					"descexpired": "scenario.scenario-13.quest-1.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-1",
							"resource": "beer",
							"amount": 200
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-2",
							"resource": "fabric",
							"amount": 50
						}
					],
					"rewards": [
						"_ e-grant-resource day 0 repeatdays 30 name wheat amount 25 message event.resource-ticker ticker true",
						"_ e-grant-resource day 0 repeatdays 30 name barley amount 25 message event.resource-ticker ticker true"
					]
				},
				{
					"id": "quest-2",
					"startday": 180,
					"endday": 720,
					"descintro": "scenario.scenario-13.quest-2.intro",
					"descshort": "scenario.scenario-13.quest-2.short",
					"descdone": "scenario.scenario-13.quest-2.done",
					"descexpired": "scenario.scenario-13.quest-2.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-1",
							"resource": "cash",
							"amount": 1500
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-2",
							"resource": "paper",
							"amount": 50
						}
					],
					"rewards": [
						"_ e-grant-resource day 0 repeatdays 30 name fruit amount 25 message event.resource-ticker ticker true"
					]
				}
			],
			"bldgwhitelist": [
				"bldg-house-0-1",
				"bldg-house-1-1",
				"bldg-house-2-1",
				"bldg-house-3-1",
				"bldg-house-4-1",
				"bldg-work-lv0-farm-wheat",
				"bldg-work-lv0-farm-barley",
				"bldg-work-lv0-farm-cotton",
				"bldg-work-lv0-salt-pan",
				"bldg-work-lv0-fishing-dock",
				"bldg-work-lv0-quarry",
				"bldg-work-lv1-sawmill",
				"bldg-work-lv1-brewery",
				"bldg-work-lv1-distillery",
				"bldg-work-lv1-baker",
				"bldg-work-lv1-textile-mill",
				"bldg-work-lv1-cannery-fish",
				"bldg-work-lv1-cobbler",
				"bldg-work-lv1-paper-mill",
				"bldg-work-lv1-stonemason",
				"bldg-map-saloon",
				"bldg-map-sheriff",
				"bldg-map-fire",
				"bldg-map-school",
				"bldg-map-church",
				"bldg-map-jail",
				"road-base",
				"prop-lamp-1",
				"prop-lamp-2",
				"prop-hitching-post",
				"prop-trough",
				"prop-skull",
				"prop-wheel"
			],
			"terrain": {
				"mainseed": 404,
				"height": 0.1,
				"dryness": 0.3,
				"river": true,
				"coast": true,
				"rivertiles": 4,
				"buildings": [ "bldg-house-2-1", "bldg-house-2-1" ]
			}
		},
		{
			"name": "scenario-14",
			"startdate": "4/1/1853",
			"storycity": "sonoma",
			"maptitle": "scenario.scenario-14.maptitle",
			"mapstory": "scenario.scenario-14.mapstory",
			"missionstory": "scenario.scenario-14.mission-story",
			"mapsize": 18,
			"trade": [				
				{
					"city": "mariposa",
					"cost": 1000,
					"prices": [
						{ "name": "stone", "buy": 5 },
						{ "name": "wine", "sell": 7 },
						{ "name": "leather", "buy": 3 }
					]
				},
				{
					"city": "sanfrancisco",
					"cost": 1000,
					"prices": [
						{ "name": "olive-oil", "sell": 8 },
						{ "name": "brandy", "sell": 7 },
						{ "name": "shoes", "buy": 10 }
					]
				},
				{
					"city": "yolo",
					"cost": 500,
					"prices": [
						{ "name": "cotton", "buy": 4 },
						{ "name": "beer", "sell": 7 }
					]
				}
			],
			"startup": {
				"lumber": 50,
				"meat": 50
			},
			"startupgrants": [
				{
					"message": "scenario.scenario-14.startup-1",
					"events": [
						"_ e-grant-resource day 0 name cash amount 3000 message none"
					]
				},
				{
					"message": "scenario.scenario-14.startup-2",
					"events": [
						"_ e-grant-resource day 0 repeatdays 30 name meat amount 20 message event.resource-ticker ticker true",
						"_ e-grant-resource day 0 repeatdays 30 name cheese amount 20 message event.resource-ticker ticker true",
						"_ e-grant-resource day 0 name cash amount 1000 message none"
					]
				},
				{
					"message": "scenario.scenario-14.startup-3",
					"events": [
						"_ e-grant-and-place-building day 0 name bldg-work-lv0-vineyard",
						"_ e-grant-and-place-building day 0 name bldg-work-lv1-winemaker",
						"_ e-grant-resource day 0 name grapes amount 50 message none",
						"_ e-grant-resource day 0 name cash amount 750 message none"
					]
				}
			],
			"missions": [
				{
					"level": 1,
					"desc": "scenario.scenario-14.mission-1",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-1-goal-1",
							"city": "sanfrancisco",
							"resource": "brandy",
							"amount": -150
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-1-goal-2",
							"city": "yolo",
							"resource": "beer",
							"amount": -150
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-1-goal-3",
							"city": "mariposa",
							"resource": "wine",
							"amount": -150
						}
					]
				},
				{
					"level": 2,
					"desc": "scenario.scenario-14.mission-2",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-1",
							"city": "sanfrancisco",
							"resource": "brandy",
							"amount": -150
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-2",
							"city": "yolo",
							"resource": "beer",
							"amount": -150
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-3",
							"city": "mariposa",
							"resource": "wine",
							"amount": -150
						},
						{
							"_type": "somasim.game.goals::GoalHaveResource",
							"id": "level-2-goal-4",
							"resource": "whiskey",
							"amount": 300
						},
						{
							"_type": "somasim.game.goals::GoalHaveResource",
							"id": "level-2-goal-5",
							"resource": "brandy",
							"amount": 300
						}
					]
				},
				{
					"level": 3,
					"desc": "scenario.scenario-14.mission-3",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-1",
							"city": "sanfrancisco",
							"resource": "brandy",
							"amount": -150
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-2",
							"city": "yolo",
							"resource": "beer",
							"amount": -150
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-3",
							"city": "mariposa",
							"resource": "wine",
							"amount": -150
						},
						{
							"_type": "somasim.game.goals::GoalHaveResource",
							"id": "level-3-goal-4",
							"resource": "whiskey",
							"amount": 300
						},
						{
							"_type": "somasim.game.goals::GoalHaveResource",
							"id": "level-3-goal-5",
							"resource": "brandy",
							"amount": 300
						},
						{
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-3-goal-6",
							"residents": 200
						}
					]
				}
			],
			"events": [
				"_ e-show-message day 7 message scenario.scenario-14.olives"
			],
			"quests": [
				{
					"id": "quest-1",
					"startday": 240,
					"endday": 480,
					"descintro": "scenario.scenario-14.quest-1.intro",
					"descshort": "scenario.scenario-14.quest-1.short",
					"descdone": "scenario.scenario-14.quest-1.done",
					"descexpired": "scenario.scenario-14.quest-1.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-1",
							"resource": "boards",
							"amount": 150
						}
					],
					"rewards": [
						"_ e-grant-workplace-upgrade day 1 name bldg-work-lv1-winemaker upgrade mod1 forever true"
					]
				},
				{
					"id": "quest-2",
					"startday": 90,
					"endday": 270,
					"descintro": "scenario.scenario-14.quest-2.intro",
					"descshort": "scenario.scenario-14.quest-2.short",
					"descdone": "scenario.scenario-14.quest-2.done",
					"descexpired": "scenario.scenario-14.quest-2.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-1",
							"resource": "olive-oil",
							"amount": 100
						}
					],
					"rewards": [
						"_ e-grant-resource day 0 repeatdays 30 name canned-fish amount 25 message scenario.scenario-14.quest-2.ticker ticker true"
					]
				}
			],
			"bldgwhitelist": [
				"bldg-house-0-1",
				"bldg-house-1-1",
				"bldg-house-2-1",
				"bldg-house-3-1",
				"bldg-house-4-1",
				"bldg-house-5-1",
				"bldg-work-lv0-farm-wheat",
				"bldg-work-lv0-farm-barley",
				"bldg-work-lv0-farm-olive",
				"bldg-work-lv0-vineyard",
				"bldg-work-lv0-orchard",
				"bldg-work-lv0-logging-camp",
				"bldg-work-lv1-sawmill",
				"bldg-work-lv1-winemaker",
				"bldg-work-lv1-brewery",
				"bldg-work-lv1-distillery",
				"bldg-work-lv1-baker",
				"bldg-work-lv1-olive-press",
				"bldg-work-lv1-textile-mill",
				"bldg-work-lv1-paper-mill",
				"bldg-work-lv1-stonemason",
				"bldg-work-lv2-carpenter",
				"bldg-work-lv2-newspaper",
				"bldg-work-lv2-tailor",
				"bldg-map-saloon",
				"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": 42,
				"height": 0.1,
				"dryness": 0.3,
				"river": false,
				"obstacles": {
					"seed": 8038,
					"details": [
						{ "item": "bldg-obstacle-rock", "count": 12, "repeatx": 2, "repeaty": 2 },
						{ "item": "bldg-obstacle-tree-pine", "count": 4, "repeaty": 2, "repeatx": 2 },
						{ "item": "bldg-obstacle-tree-birch", "count": 4, "repeaty": 2, "repeatx": 2 }

					]
				},
				"buildings": [ "bldg-house-2-1", "bldg-house-2-1" ]
			}
		},
		{
			"name": "scenario-15",
			"startdate": "11/8/1853",
			"storycity": "colusa",
			"maptitle": "scenario.scenario-15.maptitle",
			"mapstory": "scenario.scenario-15.mapstory",
			"missionstory": "scenario.scenario-15.mission-story",
			"mapsize": 15,
			"trade": [
				{
					"city": "calaveras",
					"cost": 750,
					"prices": [
						{ "name": "pickaxes", "sell": 8 }
					]
				},
				{
					"city": "butte",
					"cost": 750,
					"prices": [
						{ "name": "beer", "buy": 4 },
						{ "name": "leather", "sell": 5 }
					]
				},
				{
					"city": "yolo",
					"cost": 750,
					"prices": [
						{ "name": "boards", "sell": 5 },
						{ "name": "silver", "sell": 12 },
						{ "name": "fabric", "buy": 8 }
					]
				}
			],
			"mapresources": {
				"iron-ore": 1600,
				"silver": 250
			},
			"startup": {
				"meat": 50,
				"pickaxes": 50
			},
			"startupgrants": [
				{
					"message": "scenario.scenario-15.startup-1",
					"events": [
						"_ e-grant-resource day 0 name cash amount 4000 message none"
					]
				},
				{
					"message": "scenario.scenario-15.startup-2",
					"events": [
						"_ e-grant-resource day 0 repeatdays 30 name fish amount 50 message event.resource-ticker ticker true",
						"_ e-grant-resource day 0 repeatdays 30 name leather amount 25 message event.resource-ticker ticker true",
						"_ e-grant-resource day 0 name cash amount 1000 message none"
					]
				},
				{
					"message": "scenario.scenario-15.startup-3",
					"events": [
						"_ e-grant-and-place-building day 0 name bldg-work-lv3-iron-mine mapresource iron-ore amount 500",
						"_ e-grant-resource day 0 name cash amount 1000 message none"
					]
				}
			],
			"missions": [
				{
					"level": 1,
					"desc": "scenario.scenario-15.mission-1",
					"goals": [						
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-1-goal-1",
							"city": "yolo",
							"resource": "boards",
							"amount": -100
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-1-goal-2",
							"city": "calaveras",
							"resource": "pickaxes",
							"amount": -100
						}
					]
				},
				{
					"level": 2,
					"desc": "scenario.scenario-15.mission-2",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-1",
							"city": "yolo",
							"resource": "boards",
							"amount": -100
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-2",
							"city": "calaveras",
							"resource": "pickaxes",
							"amount": -100
						},
						{
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-2-goal-3",
							"residents": 200
						}
						
					]
				},
				{
					"level": 3,
					"desc": "scenario.scenario-15.mission-3",
					"goals":[
						{
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-3-goal-1",
							"residents": 200
						},						
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-2",
							"city": "yolo",
							"resource": "boards",
							"amount": -100
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-3",
							"city": "calaveras",
							"resource": "pickaxes",
							"amount": -100
						},						
						{
							"_type": "somasim.game.goals::GoalHaveResource",
							"id": "level-3-goal-4",
							"resource": "pickaxes",
							"amount": 100
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-5",
							"city": "yolo",
							"resource": "silver",
							"amount": -150
						}
					]
				}
			],
			"events": [
				"_ e-grant-map-resource day 210 name silver amount 250 message scenario.scenario-15.moresilver"
			],
			"quests": [
				{
					"id": "quest-1",
					"startday": 180,
					"endday": 360,
					"descintro": "scenario.scenario-15.quest-1.intro",
					"descshort": "scenario.scenario-15.quest-1.short",
					"descdone": "scenario.scenario-15.quest-1.done",
					"descexpired": "scenario.scenario-15.quest-1.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-1",
							"resource": "stone",
							"amount": 100
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-2",
							"resource": "lumber",
							"amount": 100
						}
					],
					"rewards": [
						"_ e-grant-resource day 0 repeatdays 30 name wine amount 30 message event.resource-ticker ticker true"
					]
				},
				{
					"id": "quest-2",
					"startday": 240,
					"endday": 420,
					"descintro": "scenario.scenario-15.quest-2.intro",
					"descshort": "scenario.scenario-15.quest-2.short",
					"descdone": "scenario.scenario-15.quest-2.done",
					"descexpired": "scenario.scenario-15.quest-2.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-1",
							"resource": "pickaxes",
							"amount": 50
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-2",
							"resource": "beer",
							"amount": 100
						}
					],
					"rewards": [
						"_ e-grant-resource day 0 name whiskey amount 200 message none"
					]
				}
			],
			"bldgwhitelist":[
				"bldg-house-0-1",
				"bldg-house-1-1",
				"bldg-house-2-1",
				"bldg-house-3-1",
				"bldg-house-4-1",
				"bldg-work-lv0-hunting-camp",
				"bldg-work-lv0-logging-camp",
				"bldg-work-lv0-ranch",
				"bldg-work-lv0-fishing-dock",
				"bldg-work-lv0-quarry",
				"bldg-work-lv1-sawmill",
				"bldg-work-lv1-cobbler",
				"bldg-work-lv1-paper-mill",
				"bldg-work-lv1-stonemason",
				"bldg-work-lv1-smelter",
				"bldg-work-lv2-carpenter",
				"bldg-work-lv2-newspaper",
				"bldg-work-lv2-tailor",
				"bldg-work-lv2-blacksmith",
				"bldg-work-lv3-silver-mine",
				"bldg-work-lv3-iron-mine",
				"bldg-map-saloon",
				"bldg-map-sheriff",
				"bldg-map-fire",
				"bldg-map-school",
				"bldg-map-church",
				"bldg-map-jail",
				"road-base",
				"prop-lamp-1",
				"prop-lamp-2",
				"prop-hitching-post",
				"prop-trough",
				"prop-skull",
				"prop-wheel"

			],
			"terrain": {
				"mainseed": 1998,
				"height": 0.6,
				"dryness": 0.3,
				"river": true,
				"obstacles": {
					"seed": 24711,
					"details": [
						{ "item": "bldg-obstacle-tree-birch", "count": 32, "repeatx": 4, "repeaty": 4 },
						{ "item": "bldg-obstacle-boulder", "count": 4 }
					]
				},
				"rivertiles": 3
			}
		},
		{
			"name": "scenario-16",
			"startdate": "5/27/1854",
			"storycity": "yolo",
			"maptitle": "scenario.scenario-16.maptitle",
			"mapstory": "scenario.scenario-16.mapstory",
			"missionstory": "scenario.scenario-16.mission-story",
			"mapsize": 20,
			"trade": [
				{
					"city": "yuba",
					"cost": 250,
					"prices": [
						{ "name": "lumber", "buy": 2 },
						{ "name": "crude", "buy": 9 }
					]
				},
				{
					"city": "butte",
					"cost": 500,
					"prices": [
						{ "name": "stone", "buy": 3 },
						{ "name": "leather", "buy": 5 }
					]
				},
				{
					"city": "sanfrancisco",
					"cost": 500,
					"prices": [
						{ "name": "wheat", "sell": 5 },
						{ "name": "fruit", "sell": 5 },
						{ "name": "grapes", "sell": 5 },
						{ "name": "olive-oil", "sell": 12 }
					]
				}
			],
			"startup": {
				"bread": 100
			},
			"startupgrants": [
				{
					"message": "scenario.scenario-16.startup-1",
					"events": [
						"_ e-grant-resource day 0 name cash amount 3500 message none"
					]
				},
				{
					"message": "scenario.scenario-16.startup-2",
					"events": [
						"_ e-grant-resource day 0 name cash amount 500 message none",
						"_ e-grant-and-place-building day 0 name bldg-work-lv0-logging-camp",
						"_ e-grant-and-place-building day 0 name bldg-work-lv0-logging-camp"
					]
				},
				{
					"message": "scenario.scenario-16.startup-3",
					"events": [
						"_ e-grant-resource day 0 name cash amount 500 message none",
						"_ e-grant-resource day 0 repeatdays 30 name leather amount 25 message scenario.scenario-16.startup-3.ticker ticker true"
					]
				}
			],
			"missions": [
				{
					"level": 1,
					"desc": "scenario.scenario-16.mission-1",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-1-goal-1", 
							"city": "sanfrancisco",
							"resource": "wheat",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-1-goal-2",
							"city": "sanfrancisco",
							"resource": "grapes",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-1-goal-3",
							"city": "sanfrancisco",
							"resource": "fruit",
							"amount": -200
						}
					]
				},
				{
					"level": 2,
					"desc": "scenario.scenario-16.mission-2",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-1", 
							"city": "sanfrancisco",
							"resource": "wheat",
							"amount": -300
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-2",
							"city": "sanfrancisco",
							"resource": "grapes",
							"amount": -300
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-3",
							"city": "sanfrancisco",
							"resource": "fruit",
							"amount": -300
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-4",
							"city": "sanfrancisco",
							"resource": "olive-oil",
							"amount": -200
						}
					]
				},
				{
					"level": 3,
					"desc": "scenario.scenario-16.mission-3",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-1", 
							"city": "sanfrancisco",
							"resource": "wheat",
							"amount": -300
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-2",
							"city": "sanfrancisco",
							"resource": "grapes",
							"amount": -300
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-3",
							"city": "sanfrancisco",
							"resource": "fruit",
							"amount": -300
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-4",
							"city": "sanfrancisco",
							"resource": "olive-oil",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-3-goal-5",
							"residents": 150
						}
					]
				}
			],
			"quests": [
				{
					"id": "quest-1",
					"startday": 180,
					"endday": 512,
					"descintro": "scenario.scenario-16.quest-1.intro",
					"descshort": "scenario.scenario-16.quest-1.short",
					"descdone": "scenario.scenario-16.quest-1.done",
					"descexpired": "scenario.scenario-16.quest-1.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-1",
							"resource": "boards",
							"amount": 50
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-2",
							"resource": "stone",
							"amount": 50
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-3",
							"resource": "cash",
							"amount": 1500
						}
					],
					"rewards": [
						"_ e-grant-workplace-upgrade day 1 name bldg-work-lv0-farm-wheat upgrade mod2 forever true",
						"_ e-grant-workplace-upgrade day 1 name bldg-work-lv0-farm-barley upgrade mod2 forever true"
					]
				},
				{
					"id": "quest-2",
					"startday": 120,
					"endday": 300,
					"descintro": "scenario.scenario-16.quest-2.intro",
					"descshort": "scenario.scenario-16.quest-2.short",
					"descdone": "scenario.scenario-16.quest-2.done",
					"descexpired": "scenario.scenario-16.quest-2.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-3",
							"resource": "crude",
							"amount": 100
						}
					],
					"rewards": [
						"_ e-grant-workplace-upgrade day 1 name bldg-work-lv1-baker upgrade mod1 forever true"
					]
				}
			],
			"bldgwhitelist":[
				"bldg-house-0-1",
				"bldg-house-1-1",
				"bldg-house-2-1",
				"bldg-house-3-1",
				"bldg-house-4-1",
				"bldg-house-5-1",
				"bldg-work-lv0-farm-wheat",
				"bldg-work-lv0-farm-barley",
				"bldg-work-lv0-farm-cotton",
				"bldg-work-lv0-farm-olive",
				"bldg-work-lv0-vineyard",
				"bldg-work-lv0-orchard",
				"bldg-work-lv1-sawmill",
				"bldg-work-lv1-winemaker",
				"bldg-work-lv1-brewery",
				"bldg-work-lv1-distillery",
				"bldg-work-lv1-baker",
				"bldg-work-lv1-olive-press",
				"bldg-work-lv1-textile-mill",
				"bldg-work-lv1-cannery",
				"bldg-work-lv1-cobbler",
				"bldg-work-lv1-stonemason",
				"bldg-work-lv1-smelter",
				"bldg-work-lv2-carpenter",
				"bldg-work-lv2-newspaper",
				"bldg-work-lv2-tailor",
				"bldg-map-saloon",
				"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": 9835769,
				"height": 0.1,
				"dryness": 0.4,
				"river": false
			}
		},
		{
			"name": "scenario-17",
			"startdate": "11/25/1854",
			"storycity": "butte",
			"maptitle": "scenario.scenario-17.maptitle",
			"mapstory": "scenario.scenario-17.mapstory",
			"missionstory": "scenario.scenario-17.mission-story",
			"mapsize": 12,
			"trade": [
				{
					"city": "outpost1",
					"cost": 750,
					"prices": [
						{ "name": "boards", "sell": 5 }
					]
				},
				{
					"city": "outpost2",
					"cost": 1000,
					"prices": [
						{ "name": "pickaxes", "sell": 8 }
					]
				},
				{
					"city": "sutter",
					"cost": 500,
					"prices": [
						{ "name": "fabric", "buy": 8 },
						{ "name": "gold", "sell": 14 },
						{ "name": "silver", "sell": 10 },
						{ "name": "bread", "buy": 2 },
						{ "name": "wine", "buy": 5 }
					]
				},
				{
					"city": "sanfrancisco",
					"cost": 750,
					"prices": [
						{ "name": "crude", "sell": 8 }
					]
				}
			],
			"mapresources": {
				"gold": 1200,
				"silver": 1200,
				"iron-ore": 2500,
				"rivergold": 300,
				"crude": 2500
			},
			"startup": {
				"canned-fish": 50,
				"pickaxes": 50
			},
			"startupgrants": [
				{
					"message": "scenario.scenario-17.startup-1",
					"events": [
						"_ e-grant-resource day 0 name cash amount 2000 message none",
						"_ e-grant-resource day 0 name pickaxes amount 25 repeatdays 30 message event.resource-ticker ticker true"
					]
				},
				{
					"message": "scenario.scenario-17.startup-2",
					"events":[
						"_ e-grant-resource day 0 name cash amount 2000 message none",
						"_ e-grant-resource day 0 repeatdays 30 name beer amount 50 message event.resource-ticker ticker true",
						"_ e-grant-and-place-building name bldg-map-saloon"
					]
				},
				{
					"message": "scenario.scenario-17.startup-3",
					"events": [
						"_ e-grant-resource day 0 repeatdays 30 name fabric amount 30 message event.resource-ticker ticker true",
						"_ e-grant-resource day 0 name cash amount 2000 message none"
					]
				}
			],
			"missions": [
				{
					"level": 1,
					"desc": "scenario.scenario-17.mission-1",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-1-goal-1",
							"city": "sutter",
							"resource": "gold",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-1-goal-2",
							"city": "sutter",
							"resource": "silver",
							"amount": -100
						}
					]
				},
				{
					"level": 2,
					"desc": "scenario.scenario-17.mission-2",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-1",
							"city": "sutter",
							"resource": "gold",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-2",
							"city": "sutter",
							"resource": "silver",
							"amount": -100
						},
						{
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-2-goal-3",
							"residents": 150
						}
					]
				},
				{
					"level": 3,
					"desc": "scenario.scenario-17.mission-3",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-1",
							"city": "sutter",
							"resource": "gold",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-2",
							"city": "sutter",
							"resource": "silver",
							"amount": -100
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-3",
							"city": "outpost1",
							"resource": "boards",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-4",
							"city": "outpost2",
							"resource": "pickaxes",
							"amount": -100
						},
						{
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-3-goal-5",
							"residents": 150
						}
					]
				}
			],
			"quests": [
				{
					"id": "quest-1",
					"startday": 240,
					"endday": 540,
					"descintro": "scenario.scenario-17.quest-1.intro",
					"descshort": "scenario.scenario-17.quest-1.short",
					"descdone": "scenario.scenario-17.quest-1.done",
					"descexpired": "scenario.scenario-17.quest-1.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-1",
							"resource": "bread",
							"amount": 200
						}
					],
					"rewards": [
						"_ e-grant-workplace-upgrade day 1 name bldg-work-lv0-hunting-camp upgrade mod2 forever true",
						"_ e-grant-workplace-upgrade day 1 name bldg-work-lv0-logging-camp upgrade mod2 forever true"
					]
				},
				{
					"id": "quest-2",
					"startday": 360,
					"endday": 510,
					"descintro": "scenario.scenario-17.quest-2.intro",
					"descshort": "scenario.scenario-17.quest-2.short",
					"descdone": "scenario.scenario-17.quest-2.done",
					"descexpired": "scenario.scenario-17.quest-2.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-1",
							"resource": "bread",
							"amount": 100
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-2",
							"resource": "wine",
							"amount": 50
						}
					],
					"rewards": [
						"_ e-grant-map-resource day 0 name gold amount 250 message none"
					]

				}
			],
			"bldgwhitelist":[
				"bldg-house-0-1",
				"bldg-house-1-1",
				"bldg-house-2-1",
				"bldg-house-3-1",
				"bldg-work-lv0-orchard",
				"bldg-work-lv0-hunting-camp",
				"bldg-work-lv0-logging-camp",
				"bldg-work-lv0-gold-panning",
				"bldg-work-lv0-fishing-dock",
				"bldg-work-lv0-oil-rig",
				"bldg-work-lv1-sawmill",
				"bldg-work-lv1-distillery",
				"bldg-work-lv1-smelter",
				"bldg-work-lv2-blacksmith",
				"bldg-work-lv3-silver-mine",
				"bldg-work-lv3-gold-mine",
				"bldg-work-lv3-iron-mine",
				"bldg-map-saloon",
				"bldg-map-sheriff",
				"bldg-map-fire",
				"bldg-map-school",
				"road-base",
				"prop-lamp-1",
				"prop-lamp-2",
				"prop-hitching-post",
				"prop-trough",
				"prop-skull",
				"prop-wheel"
			],
			"terrain": {
				"mainseed": 3338038,
				"height": 0.8,
				"dryness": 0.1,
				"river": true,
				"rivertiles": 4,
				"buildings": [ "bldg-house-1-2" ]
			}
		},
		{
			"name": "scenario-18",
			"startdate": "7/4/1855",
			"storycity": "mariposa",
			"maptitle": "scenario.scenario-18.maptitle",
			"mapstory": "scenario.scenario-18.mapstory",
			"missionstory": "scenario.scenario-18.mission-story",
			"mapsize": 17,
			"trade": [
				{
					"city": "calaveras",
					"cost": 250,
					"prices": [
						{ "name": "lumber", "buy": 5 },
						{ "name": "boards", "buy": 8 }
					]
				},
				{
					"city": "santaclara",
					"cost": 250,
					"prices": [
						{ "name": "stone", "buy": 5 },
						{ "name": "meat", "sell": 5 },
						{ "name": "canned-meat", "buy": 7 }
					]
				},
				{
					"city": "contracosta",
					"cost": 500,
					"prices": [
						{ "name": "fabric", "buy": 10 },
						{ "name": "crude", "sell": 12 }
					]
				},
				{
					"city": "sanfrancisco",
					"cost": 1000,
					"prices": [
						{ "name": "cheese", "sell": 10 },
						{ "name": "olive-oil", "sell": 10 }
					]
				}
			],
			"startup": {
				"meat": 50,
				"lumber": 50
			},
			"startupgrants": [
				{
					"message": "scenario.scenario-18.startup-1",
					"events": [
						"_ e-grant-and-place-building day 0 name bldg-map-saloon",
						"_ e-grant-resource day 0 repeatdays 30 name whiskey amount 30 message event.resource-ticker ticker true",
						"_ e-grant-resource day 0 name cash amount 3000 message none"
					]
				},
				{
					"message": "scenario.scenario-18.startup-2",
					"events": [
						"_ e-grant-trade-route day 0 city sanfrancisco",
						"_ e-grant-resource day 0 name cash amount 3000 message none"
					]
				},
				{
					"message": "scenario.scenario-18.startup-3",
					"events": [
						"_ e-grant-resource day 0 name cash amount 3000 message none",
						"_ e-grant-workplace-upgrade day 0 name bldg-work-lv0-ranch upgrade mod2 forever true"
					]
				}
			],
			"missions": [
				{
					"level": 1,
					"desc": "scenario.scenario-18.mission-1",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-1-goal-1",
							"buildings": [ "bldg-work-lv0-ranch" ],
							"total": 4
						}
					]
				},
				{
					"level": 2,
					"desc": "scenario.scenario-18.mission-2",
					"visible": false,
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-2-goal-1",
							"buildings": [ "bldg-work-lv0-ranch" ],
							"total": 4
						},						
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-2-goal-4",
							"city": "contracosta",
							"resource": "crude",
							"amount": -200
						}
					]
				},
				{
					"level": 3,
					"desc": "scenario.scenario-18.mission-3",
					"visible": false,
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-3-goal-1",
							"buildings": [ "bldg-work-lv0-ranch" ],
							"total": 4
						},						
						{
							"_type": "somasim.game.goals::GoalHaveTraded",
							"id": "level-3-goal-4",
							"city": "contracosta",
							"resource": "crude",
							"amount": -200
						},
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-3-goal-5",
							"buildings": [ "bldg-house-5-2" ],
							"total": 5
						}
						
					]
				}
			],
			"events": [
				"_ e-show-mission day 45 level 2 visible true",
				"_ e-show-mission day 45 level 3 visible true message scenario.scenario-18.dynamic-story.mission-2 then missions-dialog",
				"_ e-grant-map-resource day 45 name crude amount 2100 message none",
				"_ e-refresh-store day 45"
			],
			"quests": [
				{
					"id": "quest-1",
					"startday": 210,
					"endday": 460,
					"descintro": "scenario.scenario-18.quest-1.intro",
					"descshort": "scenario.scenario-18.quest-1.short",
					"descdone": "scenario.scenario-18.quest-1.done",
					"descexpired": "scenario.scenario-18.quest-1.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-1",
							"resource": "stone",
							"amount": 50
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-2",
							"resource": "boards",
							"amount": 50
						}
					],
					"rewards": [
						"_ e-grant-workplace-upgrade day 1 name bldg-work-lv0-ranch upgrade mod1"
					]
				},
				{
					"id": "quest-2",
					"startday": 260,
					"endday": 470,
					"descintro": "scenario.scenario-18.quest-2.intro",
					"descshort": "scenario.scenario-18.quest-2.short",
					"descdone": "scenario.scenario-18.quest-2.done",
					"descexpired": "scenario.scenario-18.quest-2.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-1",
							"resource": "crude",
							"amount": 50
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-2",
							"resource": "cash",
							"amount": 1500
						}
					],
					"rewards": [
						"_ e-grant-workplace-upgrade day 1 name bldg-work-lv0-oil-rig upgrade mod2"
					]
				}
			],
			"bldgwhitelist": [
				"bldg-house-0-1",
				"bldg-house-1-1",
				"bldg-house-2-1",
				"bldg-house-3-1",
				"bldg-house-4-1",
				"bldg-house-5-1",
				"bldg-work-lv0-farm-olive",
				"bldg-work-lv0-orchard",
				"bldg-work-lv0-ranch",
				"bldg-work-lv0-oil-rig",
				"bldg-work-lv1-distillery",
				"bldg-work-lv1-sawmill",
				"bldg-work-lv1-olive-press",
				"bldg-work-lv1-cobbler",
				"bldg-work-lv1-paper-mill",
				"bldg-work-lv1-sawmill",
				"bldg-work-lv1-stonemason",
				"bldg-work-lv2-carpenter",
				"bldg-work-lv2-tailor",
				"bldg-map-saloon",
				"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": 531793,
				"height": 0.5,
				"dryness": 0.8,
				"river": false,
				"obstacles": {
					"seed": 99,
					"details": [
						{ "item": "bldg-obstacle-tree-dead", "count": 17, "repeaty": 17 }
					]
				},
				"buildings": [ "bldg-work-lv0-ranch", "bldg-house-2-1", "bldg-house-2-1" ]
			}

		},
		{
			"name": "scenario-19",
			"startdate": "1/1/1856",
			"storycity": "sanfrancisco",
			"maptitle": "scenario.scenario-19.maptitle",
			"mapstory": "scenario.scenario-19.mapstory",
			"missionstory": "scenario.scenario-19.mission-story",
			"mapsize": 20,
			"trade": [
				{
					"city": "monterey",
					"cost": 1000,
					"prices": [
						{ "name": "fruit", "buy": 8 },
						{ "name": "furniture", "sell": 12 }
					]
				},
				{
					"city": "sacramento",
					"cost": 1000,
					"prices": [
						{ "name": "cotton", "buy": 8 },
						{ "name": "wheat", "buy": 8 },
						{ "name": "fine-clothes", "sell": 12 }
					]
				},
				{
					"city": "colusa",
					"cost": 1000,
					"prices": [
						{ "name": "lumber", "buy": 8 },
						{ "name": "leather", "buy": 8 },
						{ "name": "shoes", "sell": 12 }
					]
				},
				{
					"city": "mariposa",
					"cost": 1000,
					"prices": [
						{ "name": "whiskey", "sell": 12 }
					]
				},
				{
					"city": "mint", 
					"cost": 5,
					"prices": [
						{ "name": "gold", "sell": 20 }
					]
				}
			],
			"startupgrants": [
				{
					"message": "scenario.scenario-19.startup-1",
					"events": [
						"_ e-grant-resource day 0 name cash amount 1000 message none",
						"_ e-grant-resource day 0 repeatdays 30 name gold amount 70 message scenario.scenario-19.gold.ticker ticker true",
						"_ e-grant-trade-route day 0 city mint",
						"_ e-grant-resource day 0 repeatdays 30 name fish amount 50 message scenario.scenario-19.startup-1.ticker-1 ticker true",
						"_ e-grant-resource day 0 repeatdays 30 name barley amount 50 message scenario.scenario-19.startup-1.ticker-2 ticker true",
						"_ e-grant-resource day 0 repeatdays 30 name cotton amount 50 message scenario.scenario-19.startup-1.ticker-3 ticker true",
						"_ e-grant-trade-route day 0 city sacramento"
					]
				},
				{
					"message": "scenario.scenario-19.startup-2",
					"events": [
						"_ e-grant-resource day 0 name cash amount 1000 message none",
						"_ e-grant-resource day 0 repeatdays 30 name gold amount 70 message scenario.scenario-19.gold.ticker ticker true",
						"_ e-grant-trade-route day 0 city mint",
						"_ e-grant-resource day 0 repeatdays 30 name stone amount 50 message scenario.scenario-19.startup-2.ticker-1 ticker true",
						"_ e-grant-resource day 0 repeatdays 30 name grapes amount 50 message scenario.scenario-19.startup-2.ticker-2 ticker true",
						"_ e-grant-resource day 0 repeatdays 30 name canned-fish amount 50 message scenario.scenario-19.startup-2.ticker-3 ticker true",
						"_ e-grant-trade-route day 0 city monterey"
					]
				},
				{
					"message": "scenario.scenario-19.startup-3",
					"events": [
						"_ e-grant-resource day 0 name cash amount 1000 message none",
						"_ e-grant-resource day 0 repeatdays 30 name gold amount 70 message scenario.scenario-19.gold.ticker ticker true",
						"_ e-grant-trade-route day 0 city mint",
						"_ e-grant-resource day 0 repeatdays 30 name lumber amount 50 message scenario.scenario-19.startup-3.ticker-1 ticker true",
						"_ e-grant-resource day 0 repeatdays 30 name leather amount 50 message scenario.scenario-19.startup-3.ticker-2 ticker true",
						"_ e-grant-resource day 0 repeatdays 30 name meat amount 50 message scenario.scenario-19.startup-3.ticker-3 ticker true",
						"_ e-grant-trade-route day 0 city colusa"
					]
				}
			],
			"missions": [
				{
					"level": 1,
					"desc": "scenario.scenario-19.mission-1",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-1-goal-1",
							"buildings": [ "bldg-house-5-3" ],
							"total": 7
						}
					]
				},
				{
					"level": 2,
					"desc": "scenario.scenario-19.mission-2",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-2-goal-1",
							"buildings": [ "bldg-house-5-3" ],
							"total": 10
						},
						{
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-2-goal-3",
							"residents": 350
						}
					]
				},
				{
					"level": 3,
					"desc": "scenario.scenario-19.mission-3",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveBuildings",
							"id": "level-3-goal-1",
							"buildings": [ "bldg-house-5-3" ],
							"total": 13
						},
						{
							"_type": "somasim.game.goals::GoalHavePopulation",
							"id": "level-3-goal-3",
							"residents": 400
						}
					]
				}
			],
			"quests": [
				{
					"id": "quest-1",
					"startday": 30,
					"endday": 5555,
					"descintro": "scenario.scenario-19.quest-1.intro",
					"descshort": "scenario.scenario-19.quest-1.short",
					"descdone": "scenario.scenario-19.quest-1.done",
					"descexpired": "scenario.scenario-19.quest-1.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-1",
							"resource": "paper",
							"amount": 500
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-2",
							"resource": "newspapers",
							"amount": 500
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-1-goal-3",
							"resource": "brandy",
							"amount": 500
						}
					],
					"rewards": [
						"_ e-grant-achievement day 1 name ach-sf-quest-1"
					]
				},
				{
					"id": "quest-2",
					"startday": 120,
					"endday": 6666,
					"descintro": "scenario.scenario-19.quest-2.intro",
					"descshort": "scenario.scenario-19.quest-2.short",
					"descdone": "scenario.scenario-19.quest-2.done",
					"descexpired": "scenario.scenario-19.quest-2.expired",
					"goals": [
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-1",
							"resource": "boards",
							"amount": 500
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-2",
							"resource": "leather",
							"amount": 500
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-3",
							"resource": "stone-bricks",
							"amount": 500
						},
						{
							"_type": "somasim.game.goals::GoalHaveGiftedInQuest",
							"id": "quest-2-goal-4",
							"resource": "fabric",
							"amount": 500
						}
					],
					"rewards": [
						"_ e-grant-achievement day 1 name ach-sf-quest-2"
					]
				}
			],
			"bldgwhitelist": [
				"bldg-house-0-1",
				"bldg-house-1-1",
				"bldg-house-2-1",
				"bldg-house-3-1",
				"bldg-house-4-1",
				"bldg-house-5-1",
				"bldg-work-lv0-quarry",
				"bldg-work-lv1-sawmill",
				"bldg-work-lv1-winemaker",
				"bldg-work-lv1-brewery",
				"bldg-work-lv1-distillery",
				"bldg-work-lv1-baker",
				"bldg-work-lv1-textile-mill",
				"bldg-work-lv1-cobbler",
				"bldg-work-lv1-paper-mill",
				"bldg-work-lv1-stonemason",
				"bldg-work-lv2-carpenter",
				"bldg-work-lv2-newspaper",
				"bldg-work-lv2-tailor",
				"bldg-map-saloon",
				"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": 94103,
				"height": 0.1,
				"dryness": 0.2,
				"river": false,
				"coast": true
			}
		}


	]
}