# HG changeset patch # User Periklis Ntanasis # Date 1375907260 -10800 # Node ID a63307092bc6b3635f2bfbd58cb4fae13960d2bf # Parent 1c0f330f28f86e40dd8a497ad45e2908a5185125 fruit planet main mission first commit diff -r 1c0f330f28f8 -r a63307092bc6 share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/campaign.ini --- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/campaign.ini Wed Aug 07 04:06:52 2013 +0300 +++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/campaign.ini Wed Aug 07 23:27:40 2013 +0300 @@ -10,8 +10,8 @@ Script=moon01.lua [Mission 3] -Name=FRUIT -Script=fruit.lua +Name=Main Mission: A Juicy Story +Script=fruit01.lua [Mission 4] Name=Main Mission: Going Down diff -r 1c0f330f28f8 -r a63307092bc6 share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/cosmos.lua --- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/cosmos.lua Wed Aug 07 04:06:52 2013 +0300 +++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/cosmos.lua Wed Aug 07 23:27:40 2013 +0300 @@ -333,6 +333,13 @@ function fruitPlanetLanding(gear) if checkPointReached < 5 then AddAnim(dialog06) + else + AnimCaption(hero.gear,loc("Welcome to the fruit planet!")) + SaveCampaignVar("Planet", "fruitPlanet") + SaveCampaignVar("UnlockedMissions", "2") + SaveCampaignVar("Mission1", "3") + SaveCampaignVar("Mission2", "1") + EndGame() end end diff -r 1c0f330f28f8 -r a63307092bc6 share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert02.lua --- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert02.lua Wed Aug 07 04:06:52 2013 +0300 +++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert02.lua Wed Aug 07 23:27:40 2013 +0300 @@ -20,7 +20,6 @@ } -- hogs local hero = {} -local ally = {} -- teams local teamA = {} -- hedgehogs values