{
    "Version": 1,
    "Name": "Apocalypse Soon",
	"ImageName":"thumbnail.png",
	
	"StartupText":["StartMessage_1", "StartMessage_2", "StartMessage_3"],
	"StartupImages":["StartImage1.png", "StartImage2.png"],
	
	"RulesText":"StartMessage_3",

	"Title_English":"Apocalypse Soon",
	"Description_English":"This is a prequel to Before We Leave, telling part of the story of why your Peeps start out in Shelters.

Why did the Peeps disappear into the deep places of the world? What threat were they trying to escape from?

Race to the innermost planet and protect your Peeps before it's too late!",
	
	"Title_Chinese":"달 과일을 재배하는 과수원",
	"Description_Chinese":"이것은 Before We Leave의 전편이며, 당신의 핍들이 왜 피난처에서 시작했는지에 대한 이야기를 담고 있습니다.

왜 핍들은 세계의 깊은 곳으로 사라졌을까요? 그들은 어떤 위협으로부터 도망치려고 했을까요?

너무 늦기 전에 가장 안쪽에 있는 행성으로 달려가서 핍들을 보호하세요!",
	
	"Title_Italian":"Un frutteto in cui cresce il frutto della luna",
	"Description_Italian":"Questo è un prequel di Before We Leave, che spiega perché i tuoi abitanti vivono nei rifugi all'inizio della storia.

Perché gli abitanti si sono nascosti nei meandri più profondi del mondo? Da quale minaccia tentavano di scappare?

Raggiungi al più presto il pianeta più interno e proteggi i tuoi abitanti prima che sia troppo tardi!",
	
	"Title_German":"Eine Obstplantage, auf der Mondfrüchte wachsen.",
	"Description_German":"Dies ist ein Teil der Vorgeschichte zu Before We Leave, die erklärt, warum deine Bürger sich zu Beginn des Spiels in Schutzräumen befinden.

Warum haben sich die Bürger tief unter der Erde verschanzt? Vor welcher Bedrohung versuchten sie zu fliehen?

Eile zum innersten Planeten und beschütze deine Bürger, bevor es zu spät ist!",
	
	"Title_French":"Un verger où poussent des fruits de lune",
	"Description_French":"C'est un prologue à l'action de Before We Leave qui raconte une partie de l'histoire de vos Bonzommes avant qu'ils se retrouvent dans leurs abris.

Pourquoi les Bonzommes ont-ils disparu dans les profondeurs du monde ? À quelle menace essayaient-ils d'échapper ?

Ruez-vous vers la planète la plus proche du soleil pour protéger vos Bonzommes avant qu'il ne soit trop tard !",
	
	"Title_Spanish":"Un tipo de huerto que produce fruta lunar.",
	"Description_Spanish":"Una precuela de Before We Leave que cuenta cómo los compas acabaron confinándose en refugios.

¿Por qué desaparecieron en las profundidades del mundo? ¿De qué intentaban escapar?

¡Resguárdate en el planeta más interior y protege a tus compas antes de que sea demasiado tarde!",
	
	"Title_Russian":"Сад, где растут лунные фрукты",
	"Description_Russian":"События этого сценария разворачиваются до начала Before We Leave и расскажут, почему ваши жители оказались в убежищах.

Почему люди решили скрыться под землей? От какой угрозы они пытались спастись?

Скорее отправляйтесь на самую ближнюю к солнцу планету и защитите своих жителей, пока еще не слишком поздно.",
	
	"Title_Turkish":"Ay Meyvesi yetişen bir Meyve Bahçesi",
	"Description_Turkish":"Before We Leave için hazırlanan bu ön bölüm, oyunun başında İnsanlarının neden Sığınaklarda olduğunun hikâyesini anlatıyor.

İnsanlar neden dünyanın derinliklerine indiler? Nasıl bir tehditten kaçmaya çalışıyorlardı?

En içteki gezegene hızla ilerle ve çok geç olmadan İnsanlarını koru!",
	
	"Title_BrazilianProtuguese":"Um Pomar para o cultivo de lunafrutas",
	"Description_BrazilianProtuguese":"Esta é uma prequela de Before We Leave que conta parte da história de como os Migs foram parar em abrigos.

Por que os Migs desapareceram nas profundezas do mundo? De que ameaça eles estavam fugindo?

Corra para o planeta mais próximo e proteja seus Migs antes que seja tarde!",
	
	"Title_Japanese":"アポカリプス到来",
	"Description_Japanese":"『Before We Leave』の前日譚。小人たちがシェルターで暮らすことになった、その理由を垣間見ることができる。
 
小人たちが地下深くに姿を消したのはなぜか。彼らを襲った脅威とは何だったのか。
 
星系で最も内側にある惑星に急ぎ、手遅れになる前に小人たちを守れ！",
	
	"EndScreenText":"WinText",
	"EndScreenText_Lose":"LoseText",
    "EndScreenImage":"endplate.png",
    "EndScreenImage_Lose":"endplate_lose.png",
    "EndScreenExit":"ExitToMenu",
    "EndScreenCanContinue":false,

	"Guardians": "NoGuardians",
	"WeatherDifficulty":"Off",
	"LimitedPeeps":500,
	"GrantAllTech":true,
	"PlaceAncientTech":false,
	"CanBuildWithOutLibrary":true,
	"CanBuildTradeSpaceshipWithOutPlanet":true,
	"PlaceAncientRuin":false,
	"PlaceStasisBoxes":false,
	"PlaceCrystalIslandTrigger":false,
	"ShowDiscoveryNotifications":false,
	"IslandMinimumPopulationBeforeShip": 0,
	"NoMountains":true,

	"Planets": [
		{
			"Tags":[
				"Planet4"
			],
			"WeatherCells":[
				{
					"Temperature": 4,
					"Humidity": 3,
					"Wind": 2,

					"MaxRadius": 45,

					"StartTheta": 90,
					"StartPhi": 90,

					"MovementType": "MoveIndefinitely",
					"MovementDirection": 90,
					"MovementSpeed": 10,
				},
				{
					"Temperature": -2,
					"Humidity": 3,
					"Wind": -2,

					"MaxRadius": 60,

					"StartTheta": 120,
					"StartPhi": 125,

					"MovementType": "MoveIndefinitely",
					"MovementDirection": 270,
					"MovementSpeed": 13,
				},
				{
					"Temperature": -8,
					"Humidity": 8,
					"Wind": 6,

					"MaxRadius": 70,
					
					"StartTheta": 20,
					"StartPhi": 70,

					"MovementType": "MoveIndefinitely",
					"MovementDirection": 90,
					"MovementSpeed": 6,
				}
			],
			
			"Islands" : [
				{
					"Tags": ["Planet4_FirstIsland",],
					"LowBiome": "Grass",
					"HighBiome": "Iron",
					"Shape": "Boring",
					"Fertilities" : [
						"Potato",
						"Vegetable",
						"Tea",
						"Wheat",
						"Cotton",
					],
					"ObsidianMode": "Off",
				},
				{
					"LowBiome": "Grass",
					"HighBiome": "Iron",
					"Shape": "FlatWithShoreRock",
					"Fertilities" : [
						"Potato",
						"Vegetable",
						"Tea",
						"Wheat",
						"Cotton",
					],
					"ObsidianMode": "Off",
				},
				{
					"LowBiome": "Swamp",
					"HighBiome": "Stone",
					"Shape": "Inverted",
					"Lake": true,
					"Fertilities" : [
						"Potato",
						"Vegetable",
						"Tea",
						"Fruit",
						"Wheat",
						"Cotton",
					],
					"ObsidianMode": "Off",
				},
				{
					"LowBiome": "Snow",
					"HighBiome": "Iron",
					"Shape": "MostlyHigh",
					"Fertilities" : [
						"Potato",
						"Milk",
					],
					"ObsidianMode": "Off",
					"Buildings": [
						{
							"Name": "CrystalResource",
							"Tag":"CrystalResource4",
							"IncomingResources":
							[
								{
									"Resource":"Crystal",
									"Amount":10
								},
							]
						}
					]
				},
			],
		},
		{
			"Tags":[
				"Planet3"
			],
			"WeatherCells":[
				{
					"Temperature": 7,
					"Humidity": -7,
					"Wind": 4,

					"MaxRadius": 180,

					"MovementType": "MoveIndefinitely",
					"MovementDirection": 90,
					"MovementSpeed": 6,
				}
			],
			"Islands" : [
				{
					"Tags": ["Planet3_FirstIsland",],
					"LowBiome": "Grass",
					"HighBiome": "Iron",
					"Shape": "Boring",
					"Fertilities" : [
						"Potato",
						"Vegetable",
						"Tea",
						"Wheat",
						"Milk",
						"Cotton",
					],
				},
				{
					"LowBiome": "Desert",
					"HighBiome": "Stone",
					"Shape": "Inverted",
					"Lake": true,
					"Fertilities" : [
						"Potato",
						"Vegetable",
						"Tea",
						"Fruit",
						"Wheat",
						"Cotton",
					],
				},
				{
					"LowBiome": "Rainforest",
					"HighBiome": "Iron",
					"Shape": "Crater",
					"Fertilities" : [
						"Potato",
						"Vegetable",
						"Tea",
						"Fruit",
						"Wheat",
						"Cotton",
					],
					"Buildings": [
						{
							"Name": "CrystalResource",
							"Tag":"CrystalResource3",
							"IncomingResources":
							[
								{
									"Resource":"Crystal",
									"Amount":6
								},
							]
						}
					]
				},
				{
					"LowBiome": "Snow",
					"HighBiome": "Iron",
					"Shape": "MostlyHigh",
					"Fertilities" : [
						"Potato",
						"Cotton",
					],
				},
			],
		},
		{
			"Tags":[
				"Planet2"
			],
			"WeatherCells":[
				{
					"Temperature": -6,
					"Humidity": 6,
					"Wind": 4,

					"MaxRadius": 180,

					"MovementType": "MoveIndefinitely",
					"MovementDirection": 90,
					"MovementSpeed": 6,
				}
			],
			"Islands" : [
				{
					"Tags": ["Planet2_FirstIsland",],
					"LowBiome": "Grass",
					"HighBiome": "Iron",
					"Shape": "Boring",
					"Fertilities" : [
						"Potato",
						"Vegetable",
						"Tea",
						"Wheat",
						"Cotton",
					],
				},
				{
					"LowBiome": "Desert",
					"HighBiome": "Stone",
					"Shape": "Crescent",
					"Fertilities" : [
						"Potato",
						"Vegetable",
						"Tea",
						"Fruit",
						"Wheat",
						"Cotton",
					],
					"Buildings": [
						{
							"Name": "CrystalResource",
							"Tag":"CrystalResource2",
							"IncomingResources":
							[
								{
									"Resource":"Crystal",
									"Amount":8
								},
							]
						}
					]
				},
				{
					"LowBiome": "Swamp",
					"HighBiome": "Stone",
					"Shape": "Inverted",
					"Lake": true,
					"Fertilities" : [
						"Potato",
						"Vegetable",
						"Tea",
						"Fruit",
						"Wheat",
						"Cotton",
					],
				},
				{
					"LowBiome": "Snow",
					"HighBiome": "Iron",
					"Shape": "FlatWithShoreRock",
					"Fertilities" : [
						"Potato",
						"Wheat",
						"Cotton",
					],
				},
			],
		},
		{
			"FirstPlanet": true,
			"StartRuinedShip": "Off",
			"StartRuinedSpaceShip": "Off",
			"StartRuinedGenerator": "Off",
			"StartTransmogrifier": "Off",
			"StartShelter": "Off",
			"Tags":[
				"Planet1"
			],
			
			"Islands" : [
				{
					"LowBiome": "Grass",
					"HighBiome": "Iron",
					"Shape": "Boring",
					"Fertilities" : [
						"Potato",
						"Vegetable",
						"Tea",
						"Wheat",
						"Cotton",
					],
					"Buildings": [
						{
							"Name": "SpaceshipShelter",
							"Peeps": 500,
							"PlacementMode": "StartTile",
							"OutgoingResources":
							[
								{
									"Resource":"Stone",
									"Amount":2000
								},
								{
									"Resource":"Glass",
									"Amount":2000
								},
								{
									"Resource":"Wood",
									"Amount":4000
								},
								{
									"Resource":"Tool",
									"Amount":4000
								},
								{
									"Resource":"Steel",
									"Amount":2000
								},
								{
									"Resource":"Glass",
									"Amount":2000
								},
								{
									"Resource":"Gadget",
									"Amount":2000
								},
								{
									"Resource":"Cement",
									"Amount":2000
								},
								{
									"Resource":"Fuel",
									"Amount":2000
								},
								{
									"Resource":"Battery",
									"Amount":500
								},
								{
									"Resource":"Meal_Good",
									"Amount":3000
								},
								{
									"Resource":"Smoothie_Good",
									"Amount":3000
								},
								{
									"Resource":"Clothing_Good",
									"Amount":3000
								},
							],
						}
					]
				},
				{
					"LowBiome": "Desert",
					"HighBiome": "Stone",
					"Shape": "Inverted",
					"Fertilities" : [
						"Potato",
						"Vegetable",
						"Tea",
						"Fruit",
						"Wheat",
						"Cotton",
					],
				},
				{
					"Tags": ["CrystalIsland",],
					"LowBiome": "Snow",
					"HighBiome": "Iron",
					"Shape": "Crater",
					"Lake": true,
					"Fertilities" : [
						"Potato",
						"Wheat",
						"Cotton",
						"Wool",
					],
					"Buildings": [
						{
							"Name": "CrystalResource",
							"Tag":"CrystalResource1",
							"IncomingResources":
							[
								{
									"Resource":"Crystal",
									"Amount":10
								},
							]
						}
					]
				},
			],
		}
	],
	
	"Technology": [
		{
			"Name": "SpaceElevator",
			"State": "Hidden"
		},
		{
			"Name": "Sheilding",
			"State": "Hidden"
		},
		{
			"Name": "WhaleCharmer",
			"State": "Hidden"
		},
	],

	"Buildings": [
		{
			"Name": "SpaceshipShelter",
			"OutgoingResources":
			[
				{
					"Resource":"Stone",
					"Maximum":0
				},
				{
					"Resource":"Glass",
					"Maximum":0
				},
				{
					"Resource":"Wood",
					"Maximum":0
				},
				{
					"Resource":"Tool",
					"Maximum":0
				},
				{
					"Resource":"Steel",
					"Maximum":0
				},
				{
					"Resource":"Glass",
					"Maximum":0
				},
				{
					"Resource":"Gadget",
					"Maximum":0
				},
				{
					"Resource":"Cement",
					"Maximum":0
				},
				{
					"Resource":"Fuel",
					"Maximum":0
				},
				{
					"Resource":"Battery",
					"Maximum":0
				},
				{
					"Resource":"Meal_Good",
					"Maximum":0
				},
				{
					"Resource":"Smoothie_Good",
					"Maximum":0
				},
				{
					"Resource":"Clothing_Good",
					"Maximum":0
				},
			],
		},
		{
			"Name": "Shelter_Constructed",
			"BuildResources":
			[
				{
					"Resource":"Stone",
					"Amount":32
				},
				{
					"Resource":"Cement",
					"Amount":32
				},
				{
					"Resource":"Tool",
					"Amount":32
				},
				{
					"Resource":"Steel",
					"Amount":40
				},
				{
					"Resource":"Glass",
					"Amount":20
				},
				{
					"Resource":"Gadget",
					"Amount":12
				},
				{
					"Resource":"Crystal",
					"Amount":10
				}
			],
		},
		{
			"Name": "LaunchPad",
			"Tasks":
			[
				{
					"Task":"LaunchPad_Colony",
					"ExtraTaskResources":
					[
						{
							"Resource":"Crystal",
							"Amount":6
						},
					]
				},
				{
					"Task":"LaunchPad_Trade",
					"ExtraTaskResources":
					[
						{
							"Resource":"Crystal",
							"Amount":1
						},
					]
				}
			],
		},
		{
			"Name": "ObsidianMine",
			"BuildingFlags": 
			[
				"Unlisted",
			]
		},
		{
			"Name": "ProtectiveElevator",
			"BuildingFlags": 
			[
				"Unlisted",
			]
		},
	],

	"Events": [
		{
			"Name": "Scenario_Start",
			"Triggers": [
				{
					"Text": "BuildAShelter",
					"Type": "OwnBuilding",
					"BuildingName": "Shelter_Constructed",
					"Tag": "Planet4"
				}
			],
			"Actions":[
				{
					"Type": "CompleteScenario"
				}
			]
		},
		{
			"Name": "Scenario_Fail",
			"Triggers": [
				{
					"Type": "CountColonisedPlanets",
					"Count": 0,
					"KeepCheckingCompleteState":true,
				},
				{
					"Type": "CountSpaceShips",
					"SpaceShipType": "Colony",
					"Count": 0,
					"KeepCheckingCompleteState":true,
				}
			],
			"Actions":[
				{
					"Type": "FailScenario"
				}
			]
		},

		{
			"Name": "SummonWhale_1",
			"Triggers": [
				{
					"Type": "Timer",
					"Seconds": 6000,
					"Comment": "This is the time before summoning the whale, the whale will attack 20 minutes later, Make sure this is 7200 - 1200"
				}
			],
			"Actions": [
				{
					"Type": "SummonWhale",
					"Size": "Large",
					"WhaleAttackType": "EatWholePlanet",
					"Tag": "Planet1"
				}
			]
		},
		{
			"Name": "WhaleArrives_1",
			"Triggers": [
				{
					"Text": "Planet1WhaleTimerText",
					"Type": "Timer",
					"Seconds": 7200,
					"Comment": "This is the time before the whale attacks, the whale will take 20 minutes to arrive, Make sure this is 6000 + 1200"
				}
			]
		},

		{
			"Name": "SummonWhale_2",
			"Text": "Planet_Destroyed",
			"ImageName": "PlanetDestroyed.png",
			"Value0": "1",
			"ActivationEvents":[ "WhaleArrives_1" ],
			"Triggers": [
				{
					"Type": "Timer",
					"Seconds": 2400,
					"Comment": "This is the time before summoning the whale, the whale will attack 20 minutes later, Make sure this is 3600 - 1200"
				}
			],
			"Actions": [
				{
					"Type": "SummonWhale",
					"Size": "Large",
					"WhaleAttackType": "EatWholePlanet",
					"Tag": "Planet2"
				}
			]
		},
		{
			"Name": "WhaleArrives_2",
			"ActivationEvents":[ "WhaleArrives_1" ],
			"Triggers": [
				{
					"Text": "Planet2WhaleTimerText",
					"Type": "Timer",
					"Seconds": 3600,
					"Comment": "This is the time before the whale attacks, the whale will take 20 minutes to arrive, Make sure this is 2400 + 1200"
				}
			],
		},

		{
			"Name": "SummonWhale_3",
			"Text": "Planet_Destroyed",
			"ImageName": "PlanetDestroyed.png",
			"Value0": "2",
			"ActivationEvents":[ "WhaleArrives_2" ],
			"Triggers": [
				{
					"Type": "Timer",
					"Seconds": 2400,
					"Comment": "This is the time before summoning the whale, the whale will attack 20 minutes later, Make sure this is 3600 - 1200"
				}
			],
			"Actions": [
				{
					"Type": "SummonWhale",
					"Size": "Large",
					"WhaleAttackType": "EatWholePlanet",
					"Tag": "Planet3"
				}
			]
		},
		{
			"Name": "WhaleArrives_3",
			"ActivationEvents":[ "WhaleArrives_2" ],
			"Triggers": [
				{
					"Text": "Planet3WhaleTimerText",
					"Type": "Timer",
					"Seconds": 3600,
					"Comment": "This is the time before the whale attacks, the whale will take 20 minutes to arrive, Make sure this is 2400 + 1200"
				}
			],
		},

		{
			"Name": "SummonWhale_4",
			"Text": "Planet_Destroyed",
			"ImageName": "PlanetDestroyed.png",
			"Value0": "3",
			"ActivationEvents":[ "WhaleArrives_3" ],
			"Triggers": [
				{
					"Type": "Timer",
					"Seconds": 2400,
					"Comment": "This is the time before summoning the whale, the whale will attack 20 minutes later, Make sure this is 3600 - 1200"
				}
			],
			"Actions": [
				{
					"Type": "SummonWhale",
					"Size": "Large",
					"WhaleAttackType": "EatWholePlanet",
					"Tag": "Planet4"
				}
			]
		},

		{
			"Name": "WhaleArrives_4",
			"ActivationEvents":[ "WhaleArrives_3" ],
			"Triggers": [
				{
					"Text": "Planet4WhaleTimerText",
					"Type": "Timer",
					"Seconds": 3600,
					"Comment": "This is the time before the whale attacks, the whale will take 20 minutes to arrive, Make sure this is 2400 + 1200"
				}
			],
		},
		{
			"Name": "FindCrystalIsland",
			"Triggers": [
				{
					"Type": "Colonize",
					"Tag": "CrystalIsland",
				}
			],
		},
		{
			"Name": "FoundCrystalIsland",
			"Text": "CrystalDiscovery",
			"ImageName": "Crystal.png",
			"ActivationEvents":[ "FindCrystalIsland" ],
			"Actions":[]
		},
		{
			"Name": "LandOnPlanet2",
			"Triggers": [
				{
					"Type": "OwnBuilding",
					"Tag": "Planet2_FirstIsland",
					"BuildingName": "SpaceshipShelter",
					"RequireRoad": false
				}
			],
		},
		{
			"Name": "LandedOnPlanet2",
			"Text": "Planet_2",
			"ImageName": "Planet_2.png",
			"ActivationEvents":[ "LandOnPlanet2" ],
			"Actions":[]
		},
		{
			"Name": "LandOnPlanet3",
			"Triggers": [
				{
					"Type": "OwnBuilding",
					"Tag": "Planet3_FirstIsland",
					"BuildingName": "SpaceshipShelter",
					"RequireRoad": false
				}
			],
		},
		{
			"Name": "LandedOnPlanet3",
			"Text": "Planet_3",
			"ImageName": "Planet_3.png",
			"ActivationEvents":[ "LandOnPlanet3" ],
			"Actions":[]
		},
		{
			"Name": "LandOnPlanet4",
			"Triggers": [
				{
					"Type": "OwnBuilding",
					"Tag": "Planet4_FirstIsland",
					"BuildingName": "SpaceshipShelter",
					"RequireRoad": false
				}
			],
		},
		{
			"Name": "LandedOnPlanet4",
			"Text": "Planet_4",
			"ImageName": "Planet_4.png",
			"ActivationEvents":[ "LandOnPlanet4" ],
			"Actions":[]
		},

	]
}