diff --git a/init.lua b/init.lua index f5708a6..7c9c0a4 100644 --- a/init.lua +++ b/init.lua @@ -22,6 +22,7 @@ factions_modpath = minetest.get_modpath("factions") dofile (factions_modpath .. "/factions.lua") dofile (factions_modpath .. "/chatcommands.lua") +dofile (factions_modpath .. "/nodes.lua") factions.load() diff --git a/nodes.lua b/nodes.lua new file mode 100644 index 0000000..6cfa75e --- /dev/null +++ b/nodes.lua @@ -0,0 +1,7 @@ + +minetest.register_node("factions:chest", { + tiles = {"factions_chest_top", "factions_chest_top", + "factions_chest_side", "factions_chest_side", + "factions_chest_side", "factions_chest_front"}, +}) + diff --git a/textures/factions_chest_front.png b/textures/factions_chest_front.png new file mode 100644 index 0000000..1655719 Binary files /dev/null and b/textures/factions_chest_front.png differ diff --git a/textures/factions_chest_side.png b/textures/factions_chest_side.png new file mode 100644 index 0000000..98a70e6 Binary files /dev/null and b/textures/factions_chest_side.png differ diff --git a/textures/factions_chest_top.png b/textures/factions_chest_top.png new file mode 100644 index 0000000..a8c0462 Binary files /dev/null and b/textures/factions_chest_top.png differ