Drop wrought iron fence and metal cabinet (with aliases)
This commit is contained in:
parent
4894600bb0
commit
4c0441527f
2
aliases.lua
Normal file
2
aliases.lua
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
minetest.register_alias("xdecor:fence_wrought_iron", "default:fence_wood")
|
||||||
|
minetest.register_alias("xdecor:metal_cabinet", "xdecor:cabinet")
|
1
init.lua
1
init.lua
@ -3,6 +3,7 @@ local modpath = minetest.get_modpath("xdecor")
|
|||||||
|
|
||||||
dofile(modpath.."/handlers/nodeboxes.lua")
|
dofile(modpath.."/handlers/nodeboxes.lua")
|
||||||
dofile(modpath.."/handlers/registration.lua")
|
dofile(modpath.."/handlers/registration.lua")
|
||||||
|
dofile(modpath.."/aliases.lua")
|
||||||
dofile(modpath.."/crafts.lua")
|
dofile(modpath.."/crafts.lua")
|
||||||
dofile(modpath.."/enchanting.lua")
|
dofile(modpath.."/enchanting.lua")
|
||||||
dofile(modpath.."/hive.lua")
|
dofile(modpath.."/hive.lua")
|
||||||
|
23
nodes.lua
23
nodes.lua
@ -294,17 +294,6 @@ minetest.register_on_joinplayer(function(player)
|
|||||||
inv:set_size("enderchest", 8*4)
|
inv:set_size("enderchest", 8*4)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
xdecor.register("fence_wrought_iron", {
|
|
||||||
description = "Wrought Iron Fence",
|
|
||||||
drawtype = "fencelike",
|
|
||||||
groups = {cracky=2},
|
|
||||||
tiles = {"xdecor_wrought_iron.png"},
|
|
||||||
selection_box = {
|
|
||||||
type = "fixed", fixed = {-1/7, -1/2, -1/7, 1/7, 1/2, 1/7}
|
|
||||||
},
|
|
||||||
inventory_image = "default_fence_overlay.png^xdecor_wrought_iron.png^default_fence_overlay.png^[makealpha:255,126,126"
|
|
||||||
})
|
|
||||||
|
|
||||||
xdecor.register("fire", {
|
xdecor.register("fire", {
|
||||||
description = "Fancy Fire",
|
description = "Fancy Fire",
|
||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
@ -449,18 +438,6 @@ xdecor.register("plant_pot", {
|
|||||||
sounds = default.node_sound_stone_defaults()
|
sounds = default.node_sound_stone_defaults()
|
||||||
})
|
})
|
||||||
|
|
||||||
xdecor.register("metal_cabinet", {
|
|
||||||
description = "Metal Cabinet",
|
|
||||||
inventory = {size=24},
|
|
||||||
groups = {snappy=3},
|
|
||||||
infotext = "Metal Cabinet",
|
|
||||||
tiles = {
|
|
||||||
"xdecor_metal_cabinet_sides.png", "xdecor_metal_cabinet_sides.png",
|
|
||||||
"xdecor_metal_cabinet_sides.png", "xdecor_metal_cabinet_sides.png",
|
|
||||||
"xdecor_metal_cabinet_sides.png", "xdecor_metal_cabinet_front.png"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
xdecor.register("moonbrick", {
|
xdecor.register("moonbrick", {
|
||||||
drawtype = "normal",
|
drawtype = "normal",
|
||||||
description = "Moon Brick",
|
description = "Moon Brick",
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 216 B |
Binary file not shown.
Before Width: | Height: | Size: 128 B |
Binary file not shown.
Before Width: | Height: | Size: 229 B |
Loading…
x
Reference in New Issue
Block a user