Remove some chatslang from missions
authorWuzzy <Wuzzy2@mail.ru>
Mon, 19 Nov 2018 17:56:49 +0100
changeset 14239 748c611bee79
parent 14238 91a3aad23297
child 14240 c94905a5109c
Remove some chatslang from missions Note: loc("...") does not violate the string freeze, this string has already been collected
share/hedgewars/Data/Graphics/Missions/Scenario/User_Mission_-_Teamwork.png
share/hedgewars/Data/Graphics/Missions/Scenario/User_Mission_-_Teamwork@2x.png
share/hedgewars/Data/Missions/Scenario/User_Mission_-_Dangerous_Ducklings.lua
share/hedgewars/Data/Missions/Scenario/User_Mission_-_Teamwork.lua
Binary file share/hedgewars/Data/Graphics/Missions/Scenario/User_Mission_-_Teamwork.png has changed
Binary file share/hedgewars/Data/Graphics/Missions/Scenario/User_Mission_-_Teamwork@2x.png has changed
--- a/share/hedgewars/Data/Missions/Scenario/User_Mission_-_Dangerous_Ducklings.lua	Mon Nov 19 13:03:27 2018 +0100
+++ b/share/hedgewars/Data/Missions/Scenario/User_Mission_-_Dangerous_Ducklings.lua	Mon Nov 19 17:56:49 2018 +0100
@@ -42,7 +42,7 @@
 	SetGearPosition(instructor,317,902)
 	SetGearPosition(enemy,1918,837)
 
-	HogSay(player, ".............................", SAY_THINK)
+	HogSay(player, loc("..."), SAY_THINK)
 	HogTurnLeft(instructor, true)
 
 end
--- a/share/hedgewars/Data/Missions/Scenario/User_Mission_-_Teamwork.lua	Mon Nov 19 13:03:27 2018 +0100
+++ b/share/hedgewars/Data/Missions/Scenario/User_Mission_-_Teamwork.lua	Mon Nov 19 17:56:49 2018 +0100
@@ -70,16 +70,6 @@
 
 end
 
-
---function onGameTick()
-
-	--if CurrentHedgehog ~= nil then
-	--	AddCaption(GetX(CurrentHedgehog) .. ";" .. GetY(CurrentHedgehog))
-	--end
-
---end
-
-
 function onAmmoStoreInit()
 	SetAmmo(amBlowTorch, 0, 0, 0, 1)
 	SetAmmo(amGirder, 0, 0, 0, 1)
@@ -91,12 +81,6 @@
 	SetAmmo(amSkip, 9, 0, 0, 0)
 end
 
-function onGearDamage(gear, damage)
-	if (gear == player) and (damage == 30) then
-		HogSay(player,loc("T_T"),SAY_SHOUT)
-	end
-end
-
 function onGearDelete(gear)
 
 	if gear == bCrate then