--- a/QTfrontend/hedgewars.qrc Fri Aug 30 05:16:29 2013 +0300
+++ b/QTfrontend/hedgewars.qrc Fri Aug 30 05:47:00 2013 +0300
@@ -46,6 +46,7 @@
<file>res/campaign/A_Space_Adventure/desert02.png</file>
<file>res/campaign/A_Space_Adventure/fruit01.png</file>
<file>res/campaign/A_Space_Adventure/fruit02.png</file>
+ <file>res/campaign/A_Space_Adventure/fruit03.png</file>
<file>res/campaign/A_Space_Adventure/death01.png</file>
<file>res/bonus.png</file>
<file>res/Hedgehog.png</file>
Binary file QTfrontend/res/campaign/A_Space_Adventure/fruit03.png has changed
--- a/share/hedgewars/Data/Locale/campaigns_en.txt Fri Aug 30 05:16:29 2013 +0300
+++ b/share/hedgewars/Data/Locale/campaigns_en.txt Fri Aug 30 05:47:00 2013 +0300
@@ -26,4 +26,5 @@
A_Space_Adventure-desert02.desc="Hog Solo was searching for the part in this tunnel when it unexpectedly start getting flooded! Get to the surface as soon as possible and be careful not to trigger a mine."
A_Space_Adventure-fruit01.desc="In the fruit planet things aren't going so well. Hogs aren't collecting fruits but they are preparing for battle. You'll have to choose if you'll fight or if you'll flee."
A_Space_Adventure-fruit02.desc="Hog Solo gets closer to the lost part in the Fruit Planet. Will Captain Lime help him acquire the part or not?"
+A_Space_Adventure-fruit03.desc="Hog Solo got lost and got ambushed by the Red Strawberies. Help him eliminate them and win some extra ammo for the Getting to the device mission."
A_Space_Adventure-death01.desc="In the Death Planet, the most infertile planet around, Hog Solo is very close to get the last part of the device! However an upleasant surprise awaits him..."
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit03.lua Fri Aug 30 05:16:29 2013 +0300
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit03.lua Fri Aug 30 05:47:00 2013 +0300
@@ -85,14 +85,16 @@
hero.gear = AddHog(hero.name, 0, 100, "war_desertgrenadier1")
AnimSetGearPosition(hero.gear, hero.x, hero.y)
-- enemies
+ local hats = { "Bandit", "fr_apple", "fr_banana", "fr_lemon", "fr_orange",
+ "fr_pumpkin", "Gasmask", "NinjaFull", "NinjaStraight", "NinjaTriangle" }
AddTeam(teamC.name, teamC.color, "Bone", "Island", "HillBilly", "cm_birdy")
for i=1,table.getn(enemiesEven) do
- enemiesEven[i].gear = AddHog(enemiesEven[i].name, 1, 100, "war_desertgrenadier1")
+ enemiesEven[i].gear = AddHog(enemiesEven[i].name, 1, 100, hats[math.random(1,table.getn(hats))])
AnimSetGearPosition(enemiesEven[i].gear, enemiesEven[i].x, enemiesEven[i].y)
end
AddTeam(teamB.name, teamB.color, "Bone", "Island", "HillBilly", "cm_birdy")
for i=1,table.getn(enemiesOdd) do
- enemiesOdd[i].gear = AddHog(enemiesOdd[i].name, 1, 100, "war_desertgrenadier1")
+ enemiesOdd[i].gear = AddHog(enemiesOdd[i].name, 1, 100, hats[math.random(1,table.getn(hats))])
AnimSetGearPosition(enemiesOdd[i].gear, enemiesOdd[i].x, enemiesOdd[i].y)
end