Drop a bunch of redundant nodes
@ -1,3 +1,7 @@
|
|||||||
minetest.register_alias("xdecor:fence_wrought_iron", "default:fence_wood")
|
minetest.register_alias("xdecor:fence_wrought_iron", "default:fence_wood")
|
||||||
minetest.register_alias("xdecor:metal_cabinet", "xdecor:cabinet")
|
minetest.register_alias("xdecor:metal_cabinet", "xdecor:cabinet")
|
||||||
minetest.register_alias("xdecor:trash_can", "xdecor:chair")
|
minetest.register_alias("xdecor:trash_can", "xdecor:chair")
|
||||||
|
minetest.register_alias("xdecor:plant_pot", "default:dirt")
|
||||||
|
minetest.register_alias("xdecor:chandelier", "xdecor:candle")
|
||||||
|
minetest.register_alias("xdecor:cardboard_box", "xdecor:cabinet_half")
|
||||||
|
minetest.register_alias("xdecor:stereo", "xdecor:television")
|
||||||
|
34
crafts.lua
@ -46,14 +46,6 @@ minetest.register_craft({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "xdecor:cardboard_box",
|
|
||||||
recipe = {
|
|
||||||
{"default:paper", "default:paper", "default:paper"},
|
|
||||||
{"default:paper", "default:paper", "default:paper"}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "xdecor:cauldron",
|
output = "xdecor:cauldron",
|
||||||
recipe = {
|
recipe = {
|
||||||
@ -71,14 +63,6 @@ minetest.register_craft({
|
|||||||
{"group:stick", "", "group:stick"}
|
{"group:stick", "", "group:stick"}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "xdecor:chandelier",
|
|
||||||
recipe = {
|
|
||||||
{"default:gold_ingot", "default:gold_ingot", "default:gold_ingot"},
|
|
||||||
{"default:torch", "default:torch", "default:torch"}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "xdecor:coalstone_tile 4",
|
output = "xdecor:coalstone_tile 4",
|
||||||
@ -264,15 +248,6 @@ minetest.register_craft({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "xdecor:plant_pot",
|
|
||||||
recipe = {
|
|
||||||
{"default:clay_brick", "default:dirt", "default:clay_brick"},
|
|
||||||
{"default:clay_brick", "default:dirt", "default:clay_brick"},
|
|
||||||
{"default:clay_brick", "default:clay_brick", "default:clay_brick"}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "xdecor:prison_door",
|
output = "xdecor:prison_door",
|
||||||
recipe = {
|
recipe = {
|
||||||
@ -318,15 +293,6 @@ minetest.register_craft({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "xdecor:stereo",
|
|
||||||
recipe = {
|
|
||||||
{"default:steel_ingot", "default:copper_ingot", "default:steel_ingot"},
|
|
||||||
{"default:steel_ingot", "default:copper_ingot", "default:steel_ingot"},
|
|
||||||
{"default:steel_ingot", "default:copper_ingot", "default:steel_ingot"}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "xdecor:stone_tile 2",
|
output = "xdecor:stone_tile 2",
|
||||||
recipe = {
|
recipe = {
|
||||||
|
44
nodes.lua
@ -87,18 +87,6 @@ xdecor.register("candle", {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
xdecor.register("cardboard_box", {
|
|
||||||
description = "Cardboard Box",
|
|
||||||
inventory = {size=8},
|
|
||||||
infotext = "Cardboard Box",
|
|
||||||
groups = {snappy=3, flammable=3},
|
|
||||||
tiles = {"xdecor_cardbox_top.png", "xdecor_cardbox_top.png",
|
|
||||||
"xdecor_cardbox_sides.png"},
|
|
||||||
node_box = {
|
|
||||||
type = "fixed", fixed = {{-0.3125, -0.5, -0.3125, 0.3125, 0, 0.3125}}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
xdecor.register("cauldron", {
|
xdecor.register("cauldron", {
|
||||||
description = "Cauldron",
|
description = "Cauldron",
|
||||||
groups = {cracky=2},
|
groups = {cracky=2},
|
||||||
@ -162,17 +150,6 @@ xdecor.register("chair", {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
xdecor.register("chandelier", {
|
|
||||||
description = "Chandelier",
|
|
||||||
drawtype = "plantlike",
|
|
||||||
walkable = false,
|
|
||||||
inventory_image = "xdecor_chandelier.png",
|
|
||||||
tiles = {"xdecor_chandelier.png"},
|
|
||||||
groups = {dig_immediate=3},
|
|
||||||
light_source = 14,
|
|
||||||
selection_box = xdecor.nodebox.slab_y(0.5, 0.5)
|
|
||||||
})
|
|
||||||
|
|
||||||
xdecor.register("cobweb", {
|
xdecor.register("cobweb", {
|
||||||
description = "Cobweb",
|
description = "Cobweb",
|
||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
@ -428,17 +405,6 @@ xdecor.register("painting", {
|
|||||||
groups = {dig_immediate=3, flammable=3, attached_node=1}
|
groups = {dig_immediate=3, flammable=3, attached_node=1}
|
||||||
})
|
})
|
||||||
|
|
||||||
xdecor.register("plant_pot", {
|
|
||||||
description = "Plant Pot",
|
|
||||||
drawtype = "plantlike",
|
|
||||||
inventory_image = "xdecor_plant_pot.png",
|
|
||||||
wield_image = "xdecor_plant_pot.png",
|
|
||||||
groups = {snappy=3},
|
|
||||||
tiles = {"xdecor_plant_pot.png"},
|
|
||||||
sounds = default.node_sound_stone_defaults()
|
|
||||||
})
|
|
||||||
|
|
||||||
|
|
||||||
for _, b in pairs({{"cactus", "cactus"}, {"moon", "stone"}}) do
|
for _, b in pairs({{"cactus", "cactus"}, {"moon", "stone"}}) do
|
||||||
xdecor.register(b[1].."brick", {
|
xdecor.register(b[1].."brick", {
|
||||||
drawtype = "normal",
|
drawtype = "normal",
|
||||||
@ -481,16 +447,6 @@ xpanes.register_pane("rust_bar", {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
xdecor.register("stereo", {
|
|
||||||
description = "Stereo",
|
|
||||||
groups = {snappy=3},
|
|
||||||
tiles = {
|
|
||||||
"xdecor_stereo_top.png", "xdecor_stereo_bottom.png",
|
|
||||||
"xdecor_stereo_left.png^[transformFX", "xdecor_stereo_left.png",
|
|
||||||
"xdecor_stereo_back.png", "xdecor_stereo_front.png"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
xdecor.register("stonepath", {
|
xdecor.register("stonepath", {
|
||||||
description = "Garden Stone Path",
|
description = "Garden Stone Path",
|
||||||
tiles = {"default_stone.png"},
|
tiles = {"default_stone.png"},
|
||||||
|
Before Width: | Height: | Size: 122 B |
Before Width: | Height: | Size: 133 B |
Before Width: | Height: | Size: 332 B |
Before Width: | Height: | Size: 198 B |
Before Width: | Height: | Size: 146 B |
Before Width: | Height: | Size: 154 B |
Before Width: | Height: | Size: 167 B |
Before Width: | Height: | Size: 107 B |
Before Width: | Height: | Size: 99 B |