diff --git a/API.md b/API.md index 086eb321..aabdf501 100644 --- a/API.md +++ b/API.md @@ -51,6 +51,7 @@ These groups are used mostly for informational purposes * `compass`: Compass (rating doesn't matter) * `rail=1`: Rail * `music_record`: Music Disc (rating is track ID) +* `tnt=1`: Block is TNT * `boat=1`: Boat * `minecart=1`: Minecart * `food`: Item is a comestible item which can be consumed (healthy or unhealthy) diff --git a/mods/tnt/init.lua b/mods/tnt/init.lua index 8e2ebaf5..e34dc082 100644 --- a/mods/tnt/init.lua +++ b/mods/tnt/init.lua @@ -42,10 +42,10 @@ minetest.register_node("tnt:tnt", { 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"}, - drop = '', -- Get nothing is_ground_content = false, stack_max = 64, description = "TNT", + groups = { dig_immediate = 3, tnt = 1, }, mesecons = {effector = { action_on = tnt.ignite }},