1
0
mirror of https://github.com/Sokomine/cottages.git synced 2024-11-16 07:20:30 +01:00
cottages/resources/textures.lua

36 lines
1022 B
Lua
Raw Normal View History

2022-10-09 23:13:47 +02:00
local has = cottages.has
2023-02-08 21:07:24 +01:00
local item_exists = cottages.util.resolve_item
2022-10-09 23:13:47 +02:00
local textures = {}
if has.default then
textures.furniture = "default_wood.png"
textures.roof_sides = "default_wood.png"
textures.stick = "default_stick.png"
textures.roof_wood = "default_tree.png"
textures.tree = "default_tree.png"
textures.tree_top = "default_tree_top.png"
textures.dust = "default_item_smoke.png"
else
textures.furniture = "cottages_minimal_wood.png"
textures.roof_sides = "cottages_minimal_wood.png"
textures.stick = "cottages_minimal_wood.png"
textures.roof_wood = "cottages_minimal_wood.png"
textures.tree = "cottages_minimal_wood.png"
textures.tree_top = "cottages_minimal_wood.png"
end
textures.straw = "cottages_darkage_straw.png"
if has.farming then
textures.wheat_seed = "farming_wheat_seed.png"
textures.wheat = "farming_wheat.png"
2023-02-08 21:07:24 +01:00
if cottages.settings.roof.use_farming_straw_stairs and item_exists("farming:straw") then
2022-10-09 23:13:47 +02:00
textures.straw = "farming_straw.png"
end
end
cottages.textures = textures