mirror of
https://github.com/Sokomine/cottages.git
synced 2025-07-04 17:10:23 +02:00
added option to override the textures of the npc chests
This commit is contained in:
@ -31,8 +31,7 @@ cottages_chests.can_dig = function(pos,player)
|
||||
minetest.register_node("cottages:chest_private", {
|
||||
description = S("private NPC chest"),
|
||||
infotext = "chest containing the possesions of one of the inhabitants",
|
||||
tiles = {"default_chest_top.png", "default_chest_top.png", "default_chest_side.png",
|
||||
"default_chest_side.png", "default_chest_side.png", "default_chest_front.png"},
|
||||
tiles = cottages.texture_chest,
|
||||
paramtype2 = "facedir",
|
||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
|
||||
legacy_facedir_simple = true,
|
||||
@ -44,8 +43,7 @@ minetest.register_node("cottages:chest_private", {
|
||||
minetest.register_node("cottages:chest_work", {
|
||||
description = S("chest for work utils and kitchens"),
|
||||
infotext = "everything the inhabitant needs for his work",
|
||||
tiles = {"default_chest_top.png", "default_chest_top.png", "default_chest_side.png",
|
||||
"default_chest_side.png", "default_chest_side.png", "default_chest_front.png"},
|
||||
tiles = cottages.texture_chest,
|
||||
paramtype2 = "facedir",
|
||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
|
||||
legacy_facedir_simple = true,
|
||||
@ -57,8 +55,7 @@ minetest.register_node("cottages:chest_work", {
|
||||
minetest.register_node("cottages:chest_storage", {
|
||||
description = S("storage chest"),
|
||||
infotext = "stored food reserves",
|
||||
tiles = {"default_chest_top.png", "default_chest_top.png", "default_chest_side.png",
|
||||
"default_chest_side.png", "default_chest_side.png", "default_chest_front.png"},
|
||||
tiles = cottages.texture_chest,
|
||||
paramtype2 = "facedir",
|
||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
|
||||
legacy_facedir_simple = true,
|
||||
|
Reference in New Issue
Block a user