diff options
author | Sokomine <wegwerf@anarres.dyndns.org> | 2015-07-27 17:32:49 +0200 |
---|---|---|
committer | Sokomine <wegwerf@anarres.dyndns.org> | 2015-07-27 17:32:49 +0200 |
commit | 2d05ae5b7d76128f423b05e36ba9171c9769d937 (patch) | |
tree | 2a858df2cde7859d73453863f646f7767e24854a /adaptions.lua | |
parent | a07e2e706e718348a5ba183db2e686ad36f7b18f (diff) |
added option to override the textures of the npc chests
Diffstat (limited to 'adaptions.lua')
-rw-r--r-- | adaptions.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/adaptions.lua b/adaptions.lua index cef33de..db06d7d 100644 --- a/adaptions.lua +++ b/adaptions.lua @@ -51,6 +51,9 @@ if( not( minetest.registered_nodes['default:wood'])) then cottages.texture_furniture = "cottages_minimal_wood.png"; end +cottages.texture_chest = {"default_chest_top.png", "default_chest_top.png", "default_chest_side.png", + "default_chest_side.png", "default_chest_side.png", "default_chest_front.png"}; + -- texture for roofs where the tree bark is the main roof texture cottages.textures_roof_wood = "default_tree.png"; if( not( minetest.registered_nodes["default:tree"])) then @@ -71,6 +74,10 @@ if( not( minetest.registered_nodes["default:tree"])) then cottages.craftitem_coal_lump = "minerals:charcoal"; cottages.craftitem_junglewood = "trees:chestnut_planks"; cottages.craftitem_slab_wood = "group:plank"; + + cottages.texture_chest = { "spruce_chest_top.png", "spruce_chest_top.png", "spruce_chest_side.png", + "spruce_chest_side.png", "spruce_chest_side.png", "spruce_chest_front.png"}; + else -- does not look so well in this case as it's no bark; but what else shall we do? cottages.textures_roof_wood = "cottages_minimal_wood.png"; |