Clarify how the weapons restocking works in Highlander
authorWuzzy <almikes@aol.com>
Tue, 25 Apr 2017 02:50:28 +0200
changeset 12326 1be56fa243c8
parent 12325 a85212a8d0e0
child 12327 9aa483762025
Clarify how the weapons restocking works in Highlander
share/hedgewars/Data/Scripts/Multiplayer/Highlander.lua
--- a/share/hedgewars/Data/Scripts/Multiplayer/Highlander.lua	Tue Apr 25 02:13:18 2017 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Highlander.lua	Tue Apr 25 02:50:28 2017 +0200
@@ -273,8 +273,8 @@
 	EnableGameFlags(gfInfAttack, gfRandomOrder, gfPerHogAmmo)
 	DisableGameFlags(gfResetWeps, gfSharedAmmo)
 	HealthCaseProb = 100
-	Goals = loc("Highlander: Eliminate enemy hogs and take their weapons") .."|" ..
-	loc("Constant Weaponry: Weapons are reset on end of turn")
+	Goals = loc("Highlander: Eliminate enemy hogs to take their weapons") .. "|" ..
+	loc("Replenishment: Weapons are restocked on turn start of a new hog")
 end
 
 function onGameStart()
@@ -313,6 +313,10 @@
 
 function CheckForHogSwitch()
 
+	--[[ Restock the weapons of the hog on turn start, provided it is not the same hog as before.
+	This exception is done do avoid a single hog receiving tons of weapons when it is the only unfrozen
+	hog and takes consecutive turns. ]]
+
 	if (CurrentHedgehog ~= nil) then
 
 		currHog = CurrentHedgehog