Add help for: TNT, fire, flint and steel
This commit is contained in:
parent
638804cd5c
commit
91131dbdf0
3 changed files with 10 additions and 1 deletions
|
@ -39,6 +39,7 @@ tnt.ignite = function(pos)
|
|||
core.check_for_falling(pos)
|
||||
end
|
||||
|
||||
local TNT_RANGE = 3
|
||||
|
||||
minetest.register_node("mcl_tnt:tnt", {
|
||||
tiles = {"default_tnt_top.png", "default_tnt_bottom.png",
|
||||
|
@ -47,6 +48,8 @@ minetest.register_node("mcl_tnt:tnt", {
|
|||
is_ground_content = false,
|
||||
stack_max = 64,
|
||||
description = "TNT",
|
||||
_doc_items_longdesc = string.format("An explosive device. When it explodes, it will hurt living beings, destroy blocks around it, throw blocks affected by gravity all over the place and light fires. A single TNT has an explosion radius of %d. With a small chance, blocks may drop as an item (as if being mined) rather than being destroyed. TNT can be ignited by tools, explosions, igniter blocks and redstone signals.", TNT_RANGE),
|
||||
_doc_items_usagehelp = "Place the TNT on the ground and ignite it with one of the methods above. Quickly get in safe distance quickly. The TNT will start to be affected by gravity and explodes in 4 seconds.",
|
||||
groups = { dig_immediate = 3, tnt = 1, },
|
||||
mesecons = {effector = {
|
||||
action_on = tnt.ignite
|
||||
|
@ -54,7 +57,6 @@ minetest.register_node("mcl_tnt:tnt", {
|
|||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
local TNT_RANGE = 3
|
||||
local TNT = {
|
||||
-- Static definition
|
||||
physical = true, -- Collides with things
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue