Skip to content
Snippets Groups Projects
Forked from Illuna-Minetest / minetest_game
Source project has a limited visibility.
  • Auke Kok's avatar
    e6cef576
    TNT: Move timer start to on_create() for burning nodes. · e6cef576
    Auke Kok authored
    We add on_create() handlers for both burning TNT and burning
    gunpowder. Because gunpowder will explode TNT in 1 second,
    and not 4, we need to modify the 4 second timer after we
    make the TNT burning. Other mods can now place burning TNT
    that will by default explode after 4 seconds.
    e6cef576
    History
    TNT: Move timer start to on_create() for burning nodes.
    Auke Kok authored
    We add on_create() handlers for both burning TNT and burning
    gunpowder. Because gunpowder will explode TNT in 1 second,
    and not 4, we need to modify the 4 second timer after we
    make the TNT burning. Other mods can now place burning TNT
    that will by default explode after 4 seconds.