21,449
edits
Line 11: | Line 11: | ||
'''AUTO DESTRUCT''' is composed of the fragments "AUTO" and "DESTRUCT". It can be used on turrets and large turrets.{{fact}}--can we get names for these? Create articles since they are enemies?-- | '''AUTO DESTRUCT''' is composed of the fragments "AUTO" and "DESTRUCT". It can be used on turrets and large turrets.{{fact}}--can we get names for these? Create articles since they are enemies?-- | ||
;Code | ;Code | ||
: | :<code>AUTO_DISTRUCT | ||
:{ | |||
: IF POWER == 0 THEN | |||
: POWER=GET_ENERGY() | |||
: POWER *= 9999;--semicolon or colon?-- | |||
: EXPLOSION(POWER) | |||
:}</code> | |||
When activated, AUTO DESTRUCT immediately destroys the turret. If the turret is placed on a destructible wall, the explosion will also take out the wall, opening new paths and preventing the turret from ever respawning. | When activated, AUTO DESTRUCT immediately destroys the turret. If the turret is placed on a destructible wall, the explosion will also take out the wall, opening new paths and preventing the turret from ever respawning. | ||
{{-}}--> | {{-}}--> | ||
===DISC JAMMER=== | ===DISC JAMMER=== | ||
===ENERGY JAMMER=== | ===ENERGY JAMMER=== |
edits