Fix TNT being undiggable, fix TNT drop

This commit is contained in:
Wuzzy 2017-01-21 14:32:23 +01:00
parent e27cf666a9
commit 5d1bb3a8e8
2 changed files with 2 additions and 1 deletions

1
API.md
View File

@ -51,6 +51,7 @@ These groups are used mostly for informational purposes
* `compass`: Compass (rating doesn't matter) * `compass`: Compass (rating doesn't matter)
* `rail=1`: Rail * `rail=1`: Rail
* `music_record`: Music Disc (rating is track ID) * `music_record`: Music Disc (rating is track ID)
* `tnt=1`: Block is TNT
* `boat=1`: Boat * `boat=1`: Boat
* `minecart=1`: Minecart * `minecart=1`: Minecart
* `food`: Item is a comestible item which can be consumed (healthy or unhealthy) * `food`: Item is a comestible item which can be consumed (healthy or unhealthy)

View File

@ -42,10 +42,10 @@ minetest.register_node("tnt:tnt", {
tiles = {"default_tnt_top.png", "default_tnt_bottom.png", tiles = {"default_tnt_top.png", "default_tnt_bottom.png",
"default_tnt_side.png", "default_tnt_side.png", "default_tnt_side.png", "default_tnt_side.png",
"default_tnt_side.png", "default_tnt_side.png"}, "default_tnt_side.png", "default_tnt_side.png"},
drop = '', -- Get nothing
is_ground_content = false, is_ground_content = false,
stack_max = 64, stack_max = 64,
description = "TNT", description = "TNT",
groups = { dig_immediate = 3, tnt = 1, },
mesecons = {effector = { mesecons = {effector = {
action_on = tnt.ignite action_on = tnt.ignite
}}, }},