Gunpowder Blocks: Difference between revisions

Remove fabricated shop price: ug[i][5] is never read for upgrades (dead data)
Stats from obj_box_n: flat 20 dmg upward bullet (reused drone bullet), 4-way chain cascade, pugChainReaction
 
Line 11: Line 11:


'''Gunpowder Blocks''' (カヤクブロック) is an [[Upgrades|upgrade]]. Blocks will shoot out bullets when destroyed.
'''Gunpowder Blocks''' (カヤクブロック) is an [[Upgrades|upgrade]]. Blocks will shoot out bullets when destroyed.
== Stats ==
From the breakable-block code (<code>obj_box_n</code>):
* Each destroyed block fires a single bullet straight up dealing '''20 damage'''. The damage is flat: it does not scale with area, depth, or anything else (and only one copy of the upgrade can be obtained).
* The bullet is a reused [[Drone]] bullet (<code>bulletDrone</code>) with its damage overridden from the Drone's 4 up to 20, five times stronger than the Drone's own shots.
* The upgrade also '''chains''': when a block breaks, the four orthogonally adjacent blocks are set to break 5 frames later, each releasing its own 20-damage bullet, so destruction cascades through connected clusters. The in-game description does not mention this.
* Internally the upgrade flag is called <code>pugChainReaction</code>, after the cascade rather than the bullets; the name ''Gunpowder Blocks'' appears only in the display strings.


[[Category:Upgrades]]
[[Category:Upgrades]]