Bamboo Extras intermediate changes 3

Added in original textures variant
This commit is contained in:
Michieal 2023-01-19 20:40:59 -05:00
parent 67eb813e3b
commit 6cea30484c
10 changed files with 42 additions and 26 deletions

View File

@ -24,21 +24,20 @@ local function tiki_lamp()
minetest.register_craft({
output = "mcl_lanterns:tikilamp_floor",
recipe = {
{bamboo, bamboo,bamboo},
{bamboo, bamboo, bamboo},
{bamboo, "mcl_torches:torch", bamboo},
{bamboo, bamboo,bamboo},
{bamboo, bamboo, bamboo},
},
})
end
end
end
local function green_bamboo_doors()
local BAMBOO_BLOCK = "mcl_bamboo:bamboo_block"
if minetest.get_modpath("mcl_doors") and mcl_doors then
minetest.register_craft({
output = "mcl_bamboo:bamboo_trapdoor_green 3",
output = "mcl_bamboo_extras:bamboo_trapdoor_green 3",
recipe = {
{BAMBOO_BLOCK, BAMBOO_BLOCK},
{BAMBOO_BLOCK, BAMBOO_BLOCK},
@ -46,7 +45,7 @@ local function green_bamboo_doors()
}
})
minetest.register_craft({
output = "mcl_bamboo:bamboo_trapdoor_green 2",
output = "mcl_bamboo_extras:bamboo_trapdoor_green 2",
recipe = {
{BAMBOO_BLOCK, BAMBOO_BLOCK, BAMBOO_BLOCK},
{BAMBOO_BLOCK, BAMBOO_BLOCK, BAMBOO_BLOCK},
@ -67,7 +66,7 @@ local function green_bamboo_doors()
bot_door_tiles = {"mcl_bamboo_door_bottom.png_green", "mcl_bamboo_door_bottom_side_green.png"}
end
local name = "mcl_bamboo:bamboo_door_green"
local name = "mcl_bamboo_extras:bamboo_door_green"
local def = {
description = S("Bamboo Door."),
inventory_image = "mcl_bamboo_door_wield_green.png",
@ -82,7 +81,7 @@ local function green_bamboo_doors()
mcl_doors:register_door(name, def)
name = "mcl_bamboo:bamboo_trapdoor_green"
name = "mcl_bamboo_extras:bamboo_trapdoor_green"
local trap_def = {
description = S("Bamboo Trapdoor."),
inventory_image = "mcl_bamboo_trapdoor_side_green.png",
@ -101,31 +100,49 @@ local function green_bamboo_doors()
mcl_doors:register_trapdoor(name, trap_def)
minetest.register_alias("bamboo_door", "mcl_bamboo:bamboo_door")
minetest.register_alias("bamboo_trapdoor", "mcl_bamboo:bamboo_trapdoor")
minetest.register_alias("bamboo_door_green", "mcl_bamboo_extras:bamboo_door_green")
minetest.register_alias("bamboo_trapdoor_green", "mcl_bamboo_extras:bamboo_trapdoor_green")
end
end
end
local function bamboo_doors_original()
if minetest.get_modpath("mcl_doors") then
local BAMBOO_BLOCK = "mcl_bamboo:bamboo_block_stripped"
if minetest.get_modpath("mcl_doors") and mcl_doors then
minetest.register_craft({
output = "mcl_bamboo_extras:bamboo_trapdoor_orig 3",
recipe = {
{BAMBOO_BLOCK, BAMBOO_BLOCK},
{BAMBOO_BLOCK, BAMBOO_BLOCK},
{BAMBOO_BLOCK, BAMBOO_BLOCK}
}
})
minetest.register_craft({
output = "mcl_bamboo_extras:bamboo_trapdoor_orig 2",
recipe = {
{BAMBOO_BLOCK, BAMBOO_BLOCK, BAMBOO_BLOCK},
{BAMBOO_BLOCK, BAMBOO_BLOCK, BAMBOO_BLOCK},
}
})
end
if mcl_doors then
local top_door_tiles = {}
local bot_door_tiles = {}
if BROKEN_DOORS then
top_door_tiles = {"mcl_bamboo_door_top_alt.png", "mcl_bamboo_door_top.png"}
bot_door_tiles = {"mcl_bamboo_door_bottom_alt.png", "mcl_bamboo_door_bottom.png"}
top_door_tiles = {"mcl_bamboo_door_top_alt_orig.png", "mcl_bamboo_door_top_side_orig.png"}
bot_door_tiles = {"mcl_bamboo_door_bottom_alt_orig.png", "mcl_bamboo_door_bottom_side_orig.png"}
else
top_door_tiles = {"mcl_bamboo_door_top.png", "mcl_bamboo_door_top.png"}
bot_door_tiles = {"mcl_bamboo_door_bottom.png", "mcl_bamboo_door_bottom.png"}
top_door_tiles = {"mcl_bamboo_door_top_orig.png", "mcl_bamboo_door_top_side_orig.png"}
bot_door_tiles = {"mcl_bamboo_door_bottom.png_orig", "mcl_bamboo_door_bottom_side_orig.png"}
end
local name = "mcl_bamboo:bamboo_door"
local name = "mcl_bamboo_extras:bamboo_door_orig"
local def = {
description = S("Bamboo Door."),
inventory_image = "mcl_bamboo_door_wield.png",
wield_image = "mcl_bamboo_door_wield.png",
inventory_image = "mcl_bamboo_door_wield_orig.png",
wield_image = "mcl_bamboo_door_wield_orig.png",
groups = {handy = 1, axey = 1, material_wood = 1, flammable = -1},
_mcl_hardness = 3,
_mcl_blast_resistance = 3,
@ -136,17 +153,17 @@ if minetest.get_modpath("mcl_doors") then
mcl_doors:register_door(name, def)
name = "mcl_bamboo:bamboo_trapdoor"
name = "mcl_bamboo_extras:bamboo_trapdoor_orig"
local trap_def = {
description = S("Bamboo Trapdoor."),
inventory_image = "mcl_bamboo_door_complete.png",
inventory_image = "mcl_bamboo_trapdoor_side_orig.png",
groups = {},
tile_front = "mcl_bamboo_trapdoor_side.png",
tile_side = "mcl_bamboo_trapdoor_side.png",
tile_front = "mcl_bamboo_trapdoor_side_orig.png",
tile_side = "mcl_bamboo_trapdoor_side_orig.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_usagehelp = S("To open or close the trapdoor, rightclick it or send a redstone signal to it."),
wield_image = "mcl_bamboo_trapdoor_side.png",
inventory_image = "mcl_bamboo_trapdoor_side.png",
wield_image = "mcl_bamboo_trapdoor_side_orig.png",
inventory_image = "mcl_bamboo_trapdoor_inventory.png",
groups = {handy = 1, axey = 1, mesecon_effector_on = 1, material_wood = 1, flammable = -1},
_mcl_hardness = 3,
_mcl_blast_resistance = 3,
@ -155,11 +172,10 @@ if minetest.get_modpath("mcl_doors") then
mcl_doors:register_trapdoor(name, trap_def)
minetest.register_alias("bamboo_door", "mcl_bamboo:bamboo_door")
minetest.register_alias("bamboo_trapdoor", "mcl_bamboo:bamboo_trapdoor")
minetest.register_alias("bamboo_door_orig", "mcl_bamboo_extras:bamboo_door_orig")
minetest.register_alias("bamboo_trapdoor_orig", "mcl_bamboo_extras:bamboo_trapdoor_orig")
end
end
end
-- ------------------------------------
tiki_lamp()

View File

Before

Width:  |  Height:  |  Size: 675 B

After

Width:  |  Height:  |  Size: 675 B

View File

Before

Width:  |  Height:  |  Size: 682 B

After

Width:  |  Height:  |  Size: 682 B

View File

Before

Width:  |  Height:  |  Size: 256 B

After

Width:  |  Height:  |  Size: 256 B

View File

Before

Width:  |  Height:  |  Size: 684 B

After

Width:  |  Height:  |  Size: 684 B

View File

Before

Width:  |  Height:  |  Size: 688 B

After

Width:  |  Height:  |  Size: 688 B

View File

Before

Width:  |  Height:  |  Size: 262 B

After

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 344 B

View File

Before

Width:  |  Height:  |  Size: 422 B

After

Width:  |  Height:  |  Size: 422 B