diff options
author | Sokomine <wegwerf@anarres.dyndns.org> | 2015-07-26 05:54:37 +0200 |
---|---|---|
committer | Sokomine <wegwerf@anarres.dyndns.org> | 2015-07-26 05:54:37 +0200 |
commit | a07e2e706e718348a5ba183db2e686ad36f7b18f (patch) | |
tree | fed3f69e5dafe504bc9aaafcca78d5beaca3c8ef /init.lua | |
parent | d92685d20c6bebce0a88512991646a16121b0810 (diff) |
added missing textures; made indigrents for craft receipes configurable; added compatibility for realtest; added wool in case no wool is installed; other minor tweaks
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 28 |
1 files changed, 4 insertions, 24 deletions
@@ -22,31 +22,11 @@ cottages = {} --cottages.config_use_mesh_barrel = false; --cottages.config_use_mesh_handmill = true; --- uncomment parts you do not want - --- texture used for fence gate and bed posts -cottages.texture_furniture = "default_wood.png"; --- texture for the side of roof nodes -cottages.texture_roof_sides = "default_wood.png"; --- if the default wood node does not exist, use an alternate wood texture --- (which is also used for furnitures and doors in this mod) -if( not( minetest.registered_nodes['default:wood'])) then - cottages.texture_roof_sides = "cottages_minimal_wood.png"; - cottages.texture_furniture = "cottages_minimal_wood.png"; -end - --- 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 - -- realtest has diffrent barks; the spruce one seems to be the most fitting - if( minetest.registered_nodes["trees:spruce_log" ]) then - cottages.textures_roof_wood = "trees_spruce_trunk.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"; - end -end +-- set alternate crafting materials and textures where needed +-- (i.e. in combination with realtest) +dofile(minetest.get_modpath("cottages").."/adaptions.lua"); +-- uncomment parts you do not want dofile(minetest.get_modpath("cottages").."/nodes_furniture.lua"); dofile(minetest.get_modpath("cottages").."/nodes_historic.lua"); dofile(minetest.get_modpath("cottages").."/nodes_straw.lua"); |