forked from VoxeLibre/VoxeLibre
Cleaning mods
This commit is contained in:
parent
b6634f2eeb
commit
347f317c71
|
@ -1,109 +0,0 @@
|
||||||
-- Crafting
|
|
||||||
local planks = "mcl_cherry_blossom:cherrywood"
|
|
||||||
local logs = "mcl_cherry_blossom:cherrytree"
|
|
||||||
local stripped_logs = "mcl_cherry_blossom:stripped_cherrytree"
|
|
||||||
local wood = "mcl_cherry_blossom:cherrytree_bark"
|
|
||||||
local stripped_wood = "mcl_cherry_blossom:stripped_cherrytree_bark"
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mcl_cherry_blossom:cherrytree_bark 3",
|
|
||||||
recipe = {
|
|
||||||
{ logs, logs },
|
|
||||||
{ logs, logs },
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mcl_cherry_blossom:stripped_cherrytree_bark 3",
|
|
||||||
recipe = {
|
|
||||||
{ stripped_logs, stripped_logs },
|
|
||||||
{ stripped_logs, stripped_logs },
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mcl_cherry_blossom:cherrywood 4",
|
|
||||||
recipe = {
|
|
||||||
{ logs },
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mcl_cherry_blossom:cherrywood 4",
|
|
||||||
recipe = {
|
|
||||||
{ wood },
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mcl_cherry_blossom:cherrywood 4",
|
|
||||||
recipe = {
|
|
||||||
{ stripped_logs },
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mcl_cherry_blossom:cherrywood 4",
|
|
||||||
recipe = {
|
|
||||||
{ stripped_wood },
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mcl_cherry_blossom:cherry_door 3",
|
|
||||||
recipe = {
|
|
||||||
{planks, planks},
|
|
||||||
{planks, planks},
|
|
||||||
{planks, planks}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mcl_cherry_blossom:cherry_trapdoor 2",
|
|
||||||
recipe = {
|
|
||||||
{planks, planks, planks},
|
|
||||||
{planks, planks, planks},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mcl_cherry_blossom:cherry_fence 3",
|
|
||||||
recipe = {
|
|
||||||
{planks, "mcl_core:stick", planks},
|
|
||||||
{planks, "mcl_core:stick", planks},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mcl_cherry_blossom:cherry_fence_gate",
|
|
||||||
recipe = {
|
|
||||||
{"mcl_core:stick", planks, "mcl_core:stick"},
|
|
||||||
{"mcl_core:stick", planks, "mcl_core:stick"},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
mcl_signs.register_sign_craft("mcl_cherry_blossom", "mcl_cherry_blossom:cherrywood", "_cherrywood")
|
|
||||||
|
|
||||||
-- Smelting
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "fuel",
|
|
||||||
recipe = "mcl_cherry_blossom:cherry_door",
|
|
||||||
burntime = 10,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "fuel",
|
|
||||||
recipe = "mcl_cherry_blossom:cherry_trapdoor",
|
|
||||||
burntime = 15,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "fuel",
|
|
||||||
recipe = "mcl_cherry_blossom:pressure_plate_cherrywood_off",
|
|
||||||
burntime = 15
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "fuel",
|
|
||||||
recipe = "mesecons_button:button_cherrywood_off",
|
|
||||||
burntime = 5,
|
|
||||||
})
|
|
|
@ -5,14 +5,6 @@ mcl_core.register_tree_trunk("cherrytree", S("Cherry Log"), S("Cherry Bark"),
|
||||||
S("The trunk of a cherry blossom tree."),
|
S("The trunk of a cherry blossom tree."),
|
||||||
"mcl_cherry_blossom_log_top.png", "mcl_cherry_blossom_log.png", "mcl_cherry_blossom:stripped_cherrytree")
|
"mcl_cherry_blossom_log_top.png", "mcl_cherry_blossom_log.png", "mcl_cherry_blossom:stripped_cherrytree")
|
||||||
|
|
||||||
-- Stripped
|
|
||||||
mcl_core.register_stripped_trunk("stripped_cherrytree", S("Stripped Cherry Log"), S("Stripped Cherry Wood"),
|
|
||||||
S("The stripped trunk of a cherry blossom tree."), S("The stripped wood of a cherry blossom tree."),
|
|
||||||
"mcl_cherry_blossom_log_top_stripped.png", "mcl_cherry_blossom_log_stripped.png")
|
|
||||||
|
|
||||||
--Planks
|
|
||||||
mcl_core.register_wooden_planks("cherrywood", S("Cherry Wood Planks"), {"mcl_cherry_blossom_planks.png"})
|
|
||||||
|
|
||||||
-- Leaves
|
-- Leaves
|
||||||
mcl_core.register_leaves("cherryleaves", S("Cherry Leaves"),
|
mcl_core.register_leaves("cherryleaves", S("Cherry Leaves"),
|
||||||
S("Cherry blossom leaves are grown from cherry blossom trees."), {"mcl_cherry_blossom_leaves.png"},
|
S("Cherry blossom leaves are grown from cherry blossom trees."), {"mcl_cherry_blossom_leaves.png"},
|
||||||
|
@ -22,82 +14,3 @@ mcl_core.register_leaves("cherryleaves", S("Cherry Leaves"),
|
||||||
mcl_core.register_sapling("cherrysapling", S("Cherry Sapling"),
|
mcl_core.register_sapling("cherrysapling", S("Cherry Sapling"),
|
||||||
S("Cherry blossom sapling can be planted to grow cherry trees."), nil,
|
S("Cherry blossom sapling can be planted to grow cherry trees."), nil,
|
||||||
"mcl_cherry_blossom_sapling.png", {-4/16, -0.5, -4/16, 4/16, 0.25, 4/16})
|
"mcl_cherry_blossom_sapling.png", {-4/16, -0.5, -4/16, 4/16, 0.25, 4/16})
|
||||||
|
|
||||||
-- Door and Trapdoor
|
|
||||||
mcl_doors:register_door("mcl_cherry_blossom:cherry_door", {
|
|
||||||
description = S("Cherry Door"),
|
|
||||||
inventory_image = "mcl_cherry_blossom_door_inv.png",
|
|
||||||
groups = {handy=1,axey=1, material_wood=1, flammable=-1},
|
|
||||||
_mcl_hardness = 3,
|
|
||||||
_mcl_blast_resistance = 3,
|
|
||||||
tiles_bottom = "mcl_cherry_blossom_door_bottom.png",
|
|
||||||
tiles_top = "mcl_cherry_blossom_door_top.png",
|
|
||||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
|
||||||
})
|
|
||||||
|
|
||||||
mcl_doors:register_trapdoor("mcl_cherry_blossom:cherry_trapdoor", {
|
|
||||||
description = S("Cherry Trapdoor"),
|
|
||||||
tile_front = "mcl_cherry_blossom_trapdoor.png",
|
|
||||||
tile_side = "mcl_cherry_blossom_trapdoor_side.png",
|
|
||||||
wield_image = "mcl_cherry_blossom_trapdoor.png",
|
|
||||||
groups = {handy=1,axey=1, mesecon_effector_on=1, material_wood=1, flammable=-1},
|
|
||||||
_mcl_hardness = 3,
|
|
||||||
_mcl_blast_resistance = 3,
|
|
||||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
|
||||||
})
|
|
||||||
|
|
||||||
-- Stairs and Slabs
|
|
||||||
mcl_stairs.register_stair("cherrywood", "mcl_cherry_blossom:cherrywood",
|
|
||||||
{handy=1,axey=1, flammable=3,wood_stairs=1, material_wood=1, fire_encouragement=5, fire_flammability=20},
|
|
||||||
{"mcl_cherry_blossom_planks.png"},
|
|
||||||
S("Cherry Stairs"),
|
|
||||||
mcl_sounds.node_sound_wood_defaults(), 3, 2,
|
|
||||||
"woodlike")
|
|
||||||
mcl_stairs.register_slab("cherrywood", "mcl_cherry_blossom:cherrywood",
|
|
||||||
{handy=1,axey=1, flammable=3,wood_slab=1, material_wood=1, fire_encouragement=5, fire_flammability=20},
|
|
||||||
{"mcl_cherry_blossom_planks.png"},
|
|
||||||
S("Cherry Slab"),
|
|
||||||
mcl_sounds.node_sound_wood_defaults(), 3, 2,
|
|
||||||
S("Double Cherry Slab"))
|
|
||||||
|
|
||||||
-- Signs
|
|
||||||
mcl_signs.register_sign_custom("mcl_cherry_blossom", "_cherrywood",
|
|
||||||
"mcl_cherry_blossom_sign.png", nil,
|
|
||||||
"mcl_cherry_blossom_sign_inv.png", "mcl_cherry_blossom_sign_inv.png", S("Cherry Sign"))
|
|
||||||
|
|
||||||
-- Fences & Gates
|
|
||||||
mcl_fences.register_fence_and_fence_gate(
|
|
||||||
"cherry_fence",
|
|
||||||
S("Cherry Fence"),
|
|
||||||
S("Cherry Gate"),
|
|
||||||
"mcl_cherry_blossom_planks.png",
|
|
||||||
{handy=1, axey=1, flammable=2, fence_wood=1, fire_encouragement=5, fire_flammability=20},
|
|
||||||
minetest.registered_nodes["mcl_core:wood"]._mcl_hardness,
|
|
||||||
minetest.registered_nodes["mcl_core:wood"]._mcl_blast_resistance,
|
|
||||||
{"group:fence_wood"},
|
|
||||||
mcl_sounds.node_sound_wood_defaults())
|
|
||||||
|
|
||||||
-- Redstone
|
|
||||||
mesecon.register_pressure_plate(
|
|
||||||
"mcl_cherry_blossom:pressure_plate_cherrywood",
|
|
||||||
S("Cherry Pressure Plate"),
|
|
||||||
{"mcl_cherry_blossom_planks.png"},
|
|
||||||
{"mcl_cherry_blossom_planks.png"},
|
|
||||||
"mcl_cherry_blossom_planks.png",
|
|
||||||
nil,
|
|
||||||
{{"mcl_cherry_blossom:cherrywood", "mcl_cherry_blossom:cherrywood"}},
|
|
||||||
mcl_sounds.node_sound_wood_defaults(),
|
|
||||||
{axey=1, material_wood=1},
|
|
||||||
nil)
|
|
||||||
|
|
||||||
mesecon.register_button(
|
|
||||||
"cherrywood",
|
|
||||||
S("Cherry Button"),
|
|
||||||
"mcl_cherry_blossom_planks.png",
|
|
||||||
"mcl_cherry_blossom:cherrywood",
|
|
||||||
mcl_sounds.node_sound_wood_defaults(),
|
|
||||||
{material_wood=1,handy=1,axey=1},
|
|
||||||
1.5,
|
|
||||||
true,
|
|
||||||
nil,
|
|
||||||
"mesecons_button_push_wood")
|
|
||||||
|
|
|
@ -22,17 +22,9 @@ mcl_core.register_tree_trunk("mangrove_tree", S("Mangrove Wood"), S("Mangrove Ba
|
||||||
S("The trunk of a Mangrove tree."),
|
S("The trunk of a Mangrove tree."),
|
||||||
"mcl_mangrove_log_top.png", "mcl_mangrove_log.png", "mcl_mangrove:mangrove_stripped")
|
"mcl_mangrove_log_top.png", "mcl_mangrove_log.png", "mcl_mangrove:mangrove_stripped")
|
||||||
|
|
||||||
mcl_core.register_wooden_planks("mangrove_wood", S("Mangrove Wood Planks"), {"mcl_mangrove_planks.png"})
|
|
||||||
|
|
||||||
mcl_core.register_leaves("mangroveleaves", S("Mangrove Leaves"), S("Mangrove leaves are grown from mangrove trees."),
|
mcl_core.register_leaves("mangroveleaves", S("Mangrove Leaves"), S("Mangrove leaves are grown from mangrove trees."),
|
||||||
{"mcl_mangrove_leaves.png"}, "#48B518", "color", "mcl_core_palette_foliage.png", "mcl_mangrove:propagule", true, {20, 16, 12, 10}, 1)
|
{"mcl_mangrove_leaves.png"}, "#48B518", "color", "mcl_core_palette_foliage.png", "mcl_mangrove:propagule", true, {20, 16, 12, 10}, 1)
|
||||||
|
|
||||||
mcl_core.register_stripped_trunk("mangrove_stripped", S("Stripped Mangrove Log"), S("Stripped Mangrove Wood"),
|
|
||||||
S("The stripped wood of a Mangrove tree"), S("The stripped bark of a Mangrove tree"),
|
|
||||||
"mcl_stripped_mangrove_log_top.png", "mcl_stripped_mangrove_log_side.png")
|
|
||||||
|
|
||||||
minetest.register_alias("mcl_mangrove:mangrove_stripped_trunk", "mcl_mangrove:mangrove_stripped")
|
|
||||||
|
|
||||||
minetest.register_node("mcl_mangrove:mangrove_roots", {
|
minetest.register_node("mcl_mangrove:mangrove_roots", {
|
||||||
description = S("Mangrove Roots"),
|
description = S("Mangrove Roots"),
|
||||||
_doc_items_longdesc = S("Mangrove roots are decorative blocks that form as part of mangrove trees."),
|
_doc_items_longdesc = S("Mangrove roots are decorative blocks that form as part of mangrove trees."),
|
||||||
|
@ -280,58 +272,6 @@ minetest.register_node("mcl_mangrove:mangrove_mud_roots", {
|
||||||
_mcl_hardness = 0.7,
|
_mcl_hardness = 0.7,
|
||||||
})
|
})
|
||||||
|
|
||||||
mcl_doors:register_door("mcl_mangrove:mangrove_door", {
|
|
||||||
description = S("Mangrove Door"),
|
|
||||||
_doc_items_longdesc = S("Wooden doors are 2-block high barriers which can be opened or closed by hand and by a redstone signal."),
|
|
||||||
_doc_items_usagehelp = S("To open or close a wooden door, rightclick it or supply its lower half with a redstone signal."),
|
|
||||||
inventory_image = "mcl_mangrove_doors.png",
|
|
||||||
groups = {handy=1,axey=1, material_wood=1, flammable=-1},
|
|
||||||
_mcl_hardness = 3,
|
|
||||||
_mcl_blast_resistance = 3,
|
|
||||||
tiles_bottom = "mcl_mangrove_door_bottom.png",
|
|
||||||
tiles_top = "mcl_mangrove_door_top.png",
|
|
||||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
|
||||||
})
|
|
||||||
|
|
||||||
mcl_doors:register_trapdoor("mcl_mangrove:mangrove_trapdoor", {
|
|
||||||
description = S("Mangrove Trapdoor"),
|
|
||||||
_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."),
|
|
||||||
tile_front = "mcl_mangrove_trapdoor.png",
|
|
||||||
tile_side = "mcl_mangrove_trapdoor_side.png",
|
|
||||||
wield_image = "mcl_mangrove_trapdoor.png",
|
|
||||||
groups = {handy=1,axey=1, mesecon_effector_on=1, material_wood=1, flammable=-1},
|
|
||||||
_mcl_hardness = 3,
|
|
||||||
_mcl_blast_resistance = 3,
|
|
||||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
|
||||||
})
|
|
||||||
|
|
||||||
mcl_fences.register_fence_and_fence_gate(
|
|
||||||
"mangrove_wood_fence",
|
|
||||||
S("Mangrove Wood Fence"),
|
|
||||||
S("Mangrove Wood Fence Gate"),
|
|
||||||
"mcl_mangrove_fence.png",
|
|
||||||
{handy=1,axey=1, flammable=2,fence_wood=1, fire_encouragement=5, fire_flammability=20},
|
|
||||||
minetest.registered_nodes["mcl_core:wood"]._mcl_hardness,
|
|
||||||
minetest.registered_nodes["mcl_core:wood"]._mcl_blast_resistance,
|
|
||||||
{"group:fence_wood"},
|
|
||||||
mcl_sounds.node_sound_wood_defaults(), "mcl_mangrove_mangrove_wood_fence_gate_open", "mcl_mangrove_mangrove_wood_fence_gate_close", 1, 1,
|
|
||||||
"mcl_mangrove_fence_gate.png")
|
|
||||||
|
|
||||||
mcl_stairs.register_stair("mangrove_wood", "mcl_mangrove:mangrove_wood",
|
|
||||||
{handy=1,axey=1, flammable=3,wood_stairs=1, material_wood=1, fire_encouragement=5, fire_flammability=20},
|
|
||||||
{"mcl_mangrove_planks.png"},
|
|
||||||
S("Mangrove Wood Stairs"),
|
|
||||||
mcl_sounds.node_sound_wood_defaults(), 3, 2,
|
|
||||||
"woodlike")
|
|
||||||
|
|
||||||
mcl_stairs.register_slab("mangrove_wood", "mcl_mangrove:mangrove_wood",
|
|
||||||
{handy=1,axey=1, flammable=3,wood_slab=1, material_wood=1, fire_encouragement=5, fire_flammability=20},
|
|
||||||
{"mcl_mangrove_planks.png"},
|
|
||||||
S("Mangrove Wood Slab"),
|
|
||||||
mcl_sounds.node_sound_wood_defaults(), 3, 2,
|
|
||||||
S("Double Mangrove Wood Slab"))
|
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "mcl_mangrove:mangrove_tree_bark 3",
|
output = "mcl_mangrove:mangrove_tree_bark 3",
|
||||||
recipe = {
|
recipe = {
|
||||||
|
@ -347,85 +287,6 @@ minetest.register_craft({
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "fuel",
|
|
||||||
recipe = "mcl_mangrove:mangrove_door",
|
|
||||||
burntime = 15,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mcl_mangrove:mangrove_door 3",
|
|
||||||
recipe = {
|
|
||||||
{"mcl_mangrove:mangrove_wood", "mcl_mangrove:mangrove_wood"},
|
|
||||||
{"mcl_mangrove:mangrove_wood", "mcl_mangrove:mangrove_wood"},
|
|
||||||
{"mcl_mangrove:mangrove_wood", "mcl_mangrove:mangrove_wood"},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mcl_mangrove:mangrove_trapdoor 2",
|
|
||||||
recipe = {
|
|
||||||
{"mcl_mangrove:mangrove_wood","mcl_mangrove:mangrove_wood","mcl_mangrove:mangrove_wood"},
|
|
||||||
{"mcl_mangrove:mangrove_wood","mcl_mangrove:mangrove_wood","mcl_mangrove:mangrove_wood"},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "fuel",
|
|
||||||
recipe = "mcl_mangrove:mangrove_trapdoor",
|
|
||||||
burntime = 15,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mcl_mangrove:mangrove_wood_fence_gate",
|
|
||||||
recipe = {
|
|
||||||
{"mcl_core:stick", "mcl_mangrove:mangrove_wood", "mcl_core:stick"},
|
|
||||||
{"mcl_core:stick", "mcl_mangrove:mangrove_wood", "mcl_core:stick"},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mcl_mangrove:mangrove_wood_fence 3",
|
|
||||||
recipe = {
|
|
||||||
{"mcl_mangrove:mangrove_wood", "mcl_core:stick", "mcl_mangrove:mangrove_wood"},
|
|
||||||
{"mcl_mangrove:mangrove_wood", "mcl_core:stick", "mcl_mangrove:mangrove_wood"},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mcl_mangrove:mangrove_wood 4",
|
|
||||||
recipe = {
|
|
||||||
{"mcl_mangrove:mangrove_tree"},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mcl_mangrove:mangrove_wood 4",
|
|
||||||
recipe = {
|
|
||||||
{"mcl_mangrove:mangrove_tree_bark"},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mcl_mangrove:mangrove_wood 4",
|
|
||||||
recipe = {
|
|
||||||
{"mcl_mangrove:mangrove_stripped"},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mcl_mangrove:mangrove_wood 4",
|
|
||||||
recipe = {
|
|
||||||
{"mcl_mangrove:mangrove_stripped_bark"},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "fuel",
|
|
||||||
recipe = "group:fence_wood",
|
|
||||||
burntime = 15,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "fuel",
|
type = "fuel",
|
||||||
recipe = "mcl_mangrove:mangrove_roots",
|
recipe = "mcl_mangrove:mangrove_roots",
|
||||||
|
|
Loading…
Reference in New Issue