player_api/mods/tnt
Auke Kok 12d5ca2f48 Allow the on_blast API to pass an itemstack.
If the node is special and has an on_blast() handler, we need
to call it instead of getting node drops manually. However, we
do want to know if drops should be added for the special nodes,
so we modify the on_blast() handler code to allow the nodedef
handlers to pass back itemstacks. This could be used by e.g.
the doors mod to drop door items after a blast.

Since this API is documented in lua_api.txt, a separate PR will
be incoming to update the on_blast() documentation.
2016-04-16 19:27:16 +01:00
..
sounds Add tnt mod (freeminer version) 2014-07-05 16:02:58 +02:00
textures Add gunpowder trails 2015-06-07 14:27:18 +02:00
depends.txt Rewrite TNT 2014-07-22 12:05:40 -04:00
init.lua Allow the on_blast API to pass an itemstack. 2016-04-16 19:27:16 +01:00
README.txt Rename to Minetest Game 2015-09-30 23:33:12 +01:00

Minetest Game mod: tnt
======================
by PilzAdam and ShadowNinja

Introduction:
This mod adds TNT to Minetest. TNT is a tool to help the player
in mining.

How to use the mod:
Craft gunpowder by placing coal and gravel in the crafting area. The
gunpowder can be used to craft TNT or as fuze for TNT. To craft TNT
surround gunpowder with 4 wood in a + shape.
There are different ways to blow up TNT:
  1. Hit it with a torch.
  2. Hit a gunpowder fuze that leads to a TNT block with a torch.
  3. Activate it with mesecons (fastest way)
Be aware of the damage radius of 7 blocks!

License:
WTFPL (see below)

See also:
http://minetest.net/

         DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                    Version 2, December 2004

 Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>

 Everyone is permitted to copy and distribute verbatim or modified
 copies of this license document, and changing it is allowed as long
 as the name is changed.

            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  0. You just DO WHAT THE FUCK YOU WANT TO.