forked from LizzyFleckenstein03/Memeclone
Fix TNT being undiggable, fix TNT drop
This commit is contained in:
parent
e27cf666a9
commit
5d1bb3a8e8
1
API.md
1
API.md
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
}},
|
}},
|
||||||
|
|
Loading…
Reference in New Issue