forked from MineClone5/MineClone5
Update trapdoor help
This commit is contained in:
parent
bb0123c789
commit
bf57c48245
|
@ -40,9 +40,9 @@ function mcl_doors:register_trapdoor(name, def)
|
||||||
longdesc = def._doc_items_longdesc
|
longdesc = def._doc_items_longdesc
|
||||||
if not longdesc then
|
if not longdesc then
|
||||||
if def.only_redstone_can_open then
|
if def.only_redstone_can_open then
|
||||||
longdesc = "Trapdoors are horizontal barriers which can be opened or closed. They occupy the upper or lower part of a block, depending on how they have been placed. This trapdoor can only be opened or closed by redstone power."
|
longdesc = "Trapdoors are horizontal barriers which can be opened or closed and climbed like a ladder when open. They occupy the upper or lower part of a block, depending on how they have been placed. This trapdoor can only be opened or closed by redstone power."
|
||||||
else
|
else
|
||||||
longdesc = "Trapdoors are horizontal barriers which can be opened or closed. They occupy the upper or lower part of a block, depending on how they have been placed. This trapdoor can be opened or closed by hand or redstone power."
|
longdesc = "Trapdoors are horizontal barriers which can be opened or closed and climbed like a ladder when open. They occupy the upper or lower part of a block, depending on how they have been placed. This trapdoor can be opened or closed by hand or redstone power."
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
usagehelp = def._doc_items_usagehelp
|
usagehelp = def._doc_items_usagehelp
|
||||||
|
|
|
@ -205,7 +205,7 @@ minetest.register_craft({
|
||||||
|
|
||||||
mcl_doors:register_trapdoor("mcl_doors:trapdoor", {
|
mcl_doors:register_trapdoor("mcl_doors:trapdoor", {
|
||||||
description = "Wooden Trapdoor",
|
description = "Wooden Trapdoor",
|
||||||
_doc_items_longdesc = "Wooden trapdoors are horizontal barriers which can be opened and closed by hand or a redstone signal. They occupy the upper or lower part of a block, depending on how they have been placed.",
|
_doc_items_longdesc = "Wooden trapdoors are horizontal barriers which can be opened and closed by hand or a redstone signal. They occupy the upper or lower part of a block, depending on how they have been placed. When open, they can be climbed like a ladder.",
|
||||||
_doc_items_usagehelp = "To open or close the trapdoor, rightclick it or send a redstone signal to it.",
|
_doc_items_usagehelp = "To open or close the trapdoor, rightclick it or send a redstone signal to it.",
|
||||||
tiles = {"door_trapdoor.png"},
|
tiles = {"door_trapdoor.png"},
|
||||||
wield_image = "door_trapdoor.png",
|
wield_image = "door_trapdoor.png",
|
||||||
|
@ -231,7 +231,7 @@ minetest.register_craft({
|
||||||
|
|
||||||
mcl_doors:register_trapdoor("mcl_doors:iron_trapdoor", {
|
mcl_doors:register_trapdoor("mcl_doors:iron_trapdoor", {
|
||||||
description = "Iron Trapdoor",
|
description = "Iron Trapdoor",
|
||||||
_doc_items_longdesc = "Iron trapdoors are horizontal barriers which can only be opened and closed by redstone signals, but not by hand. They occupy the upper or lower part of a block, depending on how they have been placed.",
|
_doc_items_longdesc = "Iron trapdoors are horizontal barriers which can only be opened and closed by redstone signals, but not by hand. They occupy the upper or lower part of a block, depending on how they have been placed. When open, they can be climbed like a ladder.",
|
||||||
tiles = {"iron_trapdoor.png"},
|
tiles = {"iron_trapdoor.png"},
|
||||||
wield_image = "iron_trapdoor.png",
|
wield_image = "iron_trapdoor.png",
|
||||||
groups = {pickaxey=1, mesecon_effector_on=1},
|
groups = {pickaxey=1, mesecon_effector_on=1},
|
||||||
|
|
Loading…
Reference in New Issue