# HG changeset patch # User Wuzzy # Date 1508285304 -7200 # Node ID b5e2834cd7b34a2168ccf3760335fd346058b32b # Parent a523295df9d33d90b962460eb0d4b67abb84abfc Fix rubber duck not being used in Highlander diff -r a523295df9d3 -r b5e2834cd7b3 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 = {}