90 |
90 |
91 HedgewarsScriptLoad("/Scripts/Locale.lua") |
91 HedgewarsScriptLoad("/Scripts/Locale.lua") |
92 HedgewarsScriptLoad("/Scripts/Tracker.lua") |
92 HedgewarsScriptLoad("/Scripts/Tracker.lua") |
93 HedgewarsScriptLoad("/Scripts/Params.lua") |
93 HedgewarsScriptLoad("/Scripts/Params.lua") |
94 |
94 |
95 -- These define weps allowed by the script. At present Tardis and Resurrection is banned for example |
95 -- These define weps allowed by the script. |
96 -- These were arbitrarily defined out-of-order in initial script, so that was preserved here, resulting |
96 -- These were arbitrarily defined out-of-order in initial script, so that was preserved here, resulting |
97 -- in a moderately odd syntax. |
97 -- in a moderately odd syntax. |
98 local atkWeps = { |
98 local atkWeps = { |
99 [amBazooka]=true, [amBee]=true, [amMortar]=true, [amDrill]=true, [amSnowball]=true, |
99 [amBazooka]=true, [amBee]=true, [amMortar]=true, [amDrill]=true, [amSnowball]=true, |
100 [amGrenade]=true, [amClusterBomb]=true, [amMolotov]=true, [amWatermelon]=true, |
100 [amGrenade]=true, [amClusterBomb]=true, [amMolotov]=true, [amWatermelon]=true, |
102 [amFlamethrower]=true, [amSniperRifle]=true, [amSineGun]=true, |
102 [amFlamethrower]=true, [amSniperRifle]=true, [amSineGun]=true, |
103 [amFirePunch]=true, [amWhip]=true, [amBaseballBat]=true, [amKamikaze]=true, |
103 [amFirePunch]=true, [amWhip]=true, [amBaseballBat]=true, [amKamikaze]=true, |
104 [amSeduction]=true, [amHammer]=true, [amMine]=true, [amDynamite]=true, [amCake]=true, |
104 [amSeduction]=true, [amHammer]=true, [amMine]=true, [amDynamite]=true, [amCake]=true, |
105 [amBallgun]=true, [amSMine]=true, [amRCPlane]=true, [amBirdy]=true, [amKnife]=true, |
105 [amBallgun]=true, [amSMine]=true, [amRCPlane]=true, [amBirdy]=true, [amKnife]=true, |
106 [amAirAttack]=true, [amMineStrike]=true, [amNapalm]=true, [amDrillStrike]=true, [amPiano]=true, [amAirMine] = true, |
106 [amAirAttack]=true, [amMineStrike]=true, [amNapalm]=true, [amDrillStrike]=true, [amPiano]=true, [amAirMine] = true, |
|
107 [amDuck]=true, |
107 } |
108 } |
108 |
109 |
109 local utilWeps = { |
110 local utilWeps = { |
110 [amBlowTorch]=true, [amPickHammer]=true, [amGirder]=true, [amPortalGun]=true, |
111 [amBlowTorch]=true, [amPickHammer]=true, [amGirder]=true, [amPortalGun]=true, |
111 [amRope]=true, [amParachute]=true, [amTeleport]=true, [amJetpack]=true, |
112 [amRope]=true, [amParachute]=true, [amTeleport]=true, [amJetpack]=true, |
112 [amInvulnerable]=true, [amLaserSight]=true, [amVampiric]=true, |
113 [amInvulnerable]=true, [amLaserSight]=true, [amVampiric]=true, |
113 [amLowGravity]=true, [amExtraDamage]=true, [amExtraTime]=true, |
114 [amLowGravity]=true, [amExtraDamage]=true, [amExtraTime]=true, |
114 [amLandGun]=true, [amRubber]=true, [amIceGun]=true, |
115 [amLandGun]=true, [amRubber]=true, [amIceGun]=true, |
115 } |
116 } |
|
117 |
|
118 -- Intentionally left out: |
|
119 -- * Resurrector (guaranteed to screw up the game) |
|
120 -- * Time Box |
|
121 -- * Switch Hedgehog (not sure why) |
116 |
122 |
117 local wepArray = {} |
123 local wepArray = {} |
118 |
124 |
119 local atkChoices = {} |
125 local atkChoices = {} |
120 local utilChoices = {} |
126 local utilChoices = {} |