Bomb: Difference between revisions
(Created page with "{{ID |name = Bomb |id = 36 |robotic = Bomb |color = 8 |param = select |idchar = 11 |pushable = all |explode_bombed = y |effect_touch = FIXME }} Category:MegaZeux Category:MegaZeux built-in objects Category:Items A Bomb (ID 36, <code>Bomb</code>) 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...") |
mNo edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
|robotic = Bomb | |robotic = Bomb | ||
|color = 8 | |color = 8 | ||
|param = select | |param = <code>p00</code> (select) | ||
|idchar = 11 | |idchar = 11 | ||
|pushable = | |pushable = any | ||
|explode_bombed = y | |explode_bombed = y | ||
|effect_touch = | |effect_touch = See below | ||
}} | }} | ||
[[Category:MegaZeux]] [[Category:MegaZeux built-in objects]] [[Category:Items]] | [[Category:MegaZeux]] [[Category:MegaZeux built-in objects]] [[Category:Items]] | ||
[[Bomb]] (ID 36, <code>Bomb</code>) is a [[built-in]] [[Items|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 == | == Behavior == | ||
Line 19: | Line 19: | ||
=== Collect bombs enabled === | === 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]]. | 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 === | === Collect bombs disabled === | ||
Line 27: | Line 27: | ||
=== Detonate effect === | === Detonate effect === | ||
When detonated by a [[Potion]] or [[Ring]], a low strength Bomb will become an [[Explosion]] with a radius of | 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 == | == 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. | 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. |
Latest revision as of 21:10, 14 June 2025
Bomb # 36 ![]() | |
Robotic name | Bomb
|
Default color | 8 |
Default param | p00 (select)
|
ID char | 11 (#36) |
Attributes | Pushable: any 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.