mirror of
https://github.com/minetest-mods/drawers.git
synced 2024-11-22 06:33:44 +01:00
Add Wooden Trim for easy drawer network connections
This node is only used for connecting drawers, so that they are all in one drawer network and can be used with a drawer controller.
This commit is contained in:
parent
8702b6ac92
commit
bc48fc0c07
@ -96,6 +96,7 @@ Copyright (C) 2014 Justin Aquadro (MIT):
|
|||||||
textures/drawers_spruce_wood_front_2.png
|
textures/drawers_spruce_wood_front_2.png
|
||||||
textures/drawers_spruce_wood_front_4.png
|
textures/drawers_spruce_wood_front_4.png
|
||||||
textures/drawers_spruce_wood.png
|
textures/drawers_spruce_wood.png
|
||||||
|
textures/drawers_trim.png
|
||||||
textures/drawers_upgrade_diamond.png
|
textures/drawers_upgrade_diamond.png
|
||||||
textures/drawers_upgrade_emerald.png
|
textures/drawers_upgrade_emerald.png
|
||||||
textures/drawers_upgrade_gold.png
|
textures/drawers_upgrade_gold.png
|
||||||
|
18
init.lua
18
init.lua
@ -314,6 +314,24 @@ elseif core.get_modpath("mcl_core") and mcl_core then
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Register drawer trim
|
||||||
|
--
|
||||||
|
|
||||||
|
core.register_node("drawers:trim", {
|
||||||
|
description = S("Wooden Trim"),
|
||||||
|
tiles = {"drawers_trim.png"},
|
||||||
|
groups = {drawer = 1, choppy = 3, oddly_breakable_by_hand = 2}
|
||||||
|
})
|
||||||
|
|
||||||
|
core.register_craft({
|
||||||
|
output = "drawers:trim 6",
|
||||||
|
recipe = {
|
||||||
|
{"group:stick", "group:wood", "group:stick"},
|
||||||
|
{"group:wood", "group:wood", "group:wood"},
|
||||||
|
{"group:stick", "group:wood", "group:stick"}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Register drawer upgrade template
|
-- Register drawer upgrade template
|
||||||
|
BIN
textures/drawers_trim.png
Normal file
BIN
textures/drawers_trim.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 180 B |
Loading…
Reference in New Issue
Block a user