Merge pull request 'Clean-up mcl_bamboo code' (#3662) from bamboofix into master

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3662
Reviewed-by: 𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 <mrrar@noreply.git.minetest.land>
This commit is contained in:
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 2023-05-05 18:11:16 +00:00
commit 10459f51b1
2 changed files with 4 additions and 6 deletions

View file

@ -62,7 +62,7 @@ if minetest.get_modpath("mcl_doors") then
local name = "mcl_bamboo:bamboo_door" local name = "mcl_bamboo:bamboo_door"
local def = { local def = {
description = S("Bamboo Door."), description = S("Bamboo Door"),
inventory_image = "mcl_bamboo_door_wield.png", inventory_image = "mcl_bamboo_door_wield.png",
wield_image = "mcl_bamboo_door_wield.png", wield_image = "mcl_bamboo_door_wield.png",
groups = { handy = 1, axey = 1, material_wood = 1, flammable = -1 }, groups = { handy = 1, axey = 1, material_wood = 1, flammable = -1 },
@ -77,15 +77,13 @@ if minetest.get_modpath("mcl_doors") then
name = "mcl_bamboo:bamboo_trapdoor" name = "mcl_bamboo:bamboo_trapdoor"
local trap_def = { local trap_def = {
description = S("Bamboo Trapdoor."), description = S("Bamboo Trapdoor"),
inventory_image = "mcl_bamboo_door_complete.png",
groups = {}, groups = {},
tile_front = "mcl_bamboo_trapdoor_side.png", tile_front = "mcl_bamboo_trapdoor_side.png",
tile_side = "mcl_bamboo_trapdoor_side.png", tile_side = "mcl_bamboo_trapdoor_side.png",
_doc_items_longdesc = S("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_longdesc = S("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 = S("To open or close the trapdoor, rightclick it or send a redstone signal to it."), _doc_items_usagehelp = S("To open or close the trapdoor, rightclick it or send a redstone signal to it."),
wield_image = "mcl_bamboo_trapdoor_side.png", wield_image = "mcl_bamboo_trapdoor_side.png",
inventory_image = "mcl_bamboo_trapdoor_side.png",
groups = { handy = 1, axey = 1, mesecon_effector_on = 1, material_wood = 1, flammable = -1 }, groups = { handy = 1, axey = 1, mesecon_effector_on = 1, material_wood = 1, flammable = -1 },
_mcl_hardness = 3, _mcl_hardness = 3,
_mcl_blast_resistance = 3, _mcl_blast_resistance = 3,

View file

@ -14,7 +14,7 @@ A wooden pressure plate is a redstone component which supplies its surrounding b
Bamboo= Bamboo=
Bamboo Button= Bamboo Button=
Bamboo Door.= Bamboo Door=
Bamboo Fence= Bamboo Fence=
Bamboo Fence Gate= Bamboo Fence Gate=
Bamboo Mosaic Slab= Bamboo Mosaic Slab=
@ -24,7 +24,7 @@ Bamboo Plank Stair=
Bamboo Pressure Plate= Bamboo Pressure Plate=
Bamboo Slab= Bamboo Slab=
Bamboo Stair= Bamboo Stair=
Bamboo Trapdoor.= Bamboo Trapdoor=
Double Bamboo Mosaic Slab= Double Bamboo Mosaic Slab=
Double Bamboo Plank Slab= Double Bamboo Plank Slab=
Double Bamboo Slab= Double Bamboo Slab=