Refurbished from Juggle Physics, updated to modern standards.
A download link can be found here:
https://drive.google.com/file/d/1WU8DMb ... sp=sharing
Demo:
https://www.youtube.com/watch?v=iuFO-R_ISsY
0:20
Installation instructions can be found in the handbook or in my thread.
Modifications and adaptations of the code is permitted. If you use this particular code as a basis for an enhanced version of these NPCs, please give credit.
NPC codes:
stunID: ID the NPC turns into when stunned (835 | 837)
radius: explosion area of effect radius (48 | 96)
timer: explosion timer (280)
smmbomb.lua:
smmbomb.registerHotNPC(id)
smmbomb.unregisterHotNPC(id)
Registers/unregisters an NPC ID from the "if the bomb touches this, it gets ignited" table. The default table includes the following IDs:
13,108,246,276,85,87,260,12,210,259,206,282, 356, 307, 308, 348, 351, 359, 358, 359, 362, 384, 385, 390, 402, 414, 589, 590, 667