Bomb
Bomb # 36 ![]() | |
Robotic name | Bomb
|
Default color | 8 |
Default param | p00 (select)
|
ID char | 11 (#36) |
Attributes | Pushable: all Explode when bombed |
Effect when touched |
See below |
Bomb (ID 36, Bomb
) is a built-in item. When touched by the Player, if the board setting Collect bombs is enabled, it will give the Player 1 LOBOMB or 1 HIBOMB. If Collect bombs is disabled, it will turn into a Lit Bomb.
Behavior
When a Bomb's parameter is p00
, it is a low strength bomb, and when its parameter is p01
, it is a high strength bomb. Out-of-range parameters behave differently depending on the context.
Collect bombs enabled
When collected by the Player, if the board setting Collect bombs is enabled, a low strength Bomb will play SFX 6 (Lo Bomb) and give 1 LOBOMBS. A high strength or out-of-range Bomb will play SFX 7 (Hi Bomb) and give 1 HIBOMBS. The collected Bomb will become a Space and the Player will be moved on top of the new Space.
Collect bombs disabled
When Collect bombs is disabled, collecting a low strength Bomb will turn it into a low strength Lit Bomb. Collecting a high strength Bomb will turn it into a high strength Lit Bomb. SFX 33 (Place Lo) will be played regardless of the Bomb type.
In this case, Bombs with out-of-range parameters are treated as low strength when parameter MODULO 2
is 0 and as high strength when parameter MODULO 2
is 1.
Detonate effect
When detonated by a Potion or Ring, a low strength Bomb will become an Explosion with a radius of 2. A high strength or out-of-range Bomb will become an Explosion with a radius of 4.
ZZT connection
In ZZT, the equivalent element to Bomb is zzt:Bomb. ZZT Bombs can't be collected and are always lit when touched by the Player.