Fix rubber duck not being used in Highlander
authorWuzzy <almikes@aol.com>
Wed, 18 Oct 2017 02:08:24 +0200
changeset 12711 b5e2834cd7b3
parent 12710 a523295df9d3
child 12712 18941b52c8d7
Fix rubber duck not being used in Highlander
share/hedgewars/Data/Scripts/Multiplayer/Highlander.lua
--- a/share/hedgewars/Data/Scripts/Multiplayer/Highlander.lua	Mon Oct 16 16:45:19 2017 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Highlander.lua	Wed Oct 18 02:08:24 2017 +0200
@@ -92,7 +92,7 @@
 HedgewarsScriptLoad("/Scripts/Tracker.lua")
 HedgewarsScriptLoad("/Scripts/Params.lua")
 
--- These define weps allowed by the script. At present Tardis and Resurrection is banned for example
+-- These define weps allowed by the script.
 -- These were arbitrarily defined out-of-order in initial script, so that was preserved here, resulting 
 -- in a moderately odd syntax.
 local atkWeps = 	{
@@ -104,6 +104,7 @@
                     [amSeduction]=true, [amHammer]=true, [amMine]=true, [amDynamite]=true, [amCake]=true,
                     [amBallgun]=true, [amSMine]=true, [amRCPlane]=true, [amBirdy]=true, [amKnife]=true,
                     [amAirAttack]=true, [amMineStrike]=true, [amNapalm]=true, [amDrillStrike]=true, [amPiano]=true, [amAirMine] = true,
+                    [amDuck]=true,
 					}
 
 local utilWeps =  {
@@ -114,6 +115,11 @@
 					[amLandGun]=true, [amRubber]=true, [amIceGun]=true,
 					}
 
+-- Intentionally left out:
+-- * Resurrector (guaranteed to screw up the game)
+-- * Time Box
+-- * Switch Hedgehog (not sure why)
+
 local wepArray = {}
 
 local atkChoices = {}