1
0
mirror of https://github.com/Sokomine/cottages.git synced 2025-07-15 06:00:26 +02:00

remove dependency on futil

This commit is contained in:
flux
2023-02-08 12:07:24 -08:00
parent 0157649fa5
commit 549c697bc0
10 changed files with 263 additions and 13 deletions

View File

@ -1,6 +1,6 @@
local has = cottages.has
local resolve_item = futil.resolve_item
local resolve_item = cottages.util.resolve_item
local ci = {}

View File

@ -1,6 +1,6 @@
local has = cottages.has
local check_exists = futil.check_exists
local item_exists = cottages.util.resolve_item
local textures = {}
@ -27,7 +27,7 @@ if has.farming then
textures.wheat_seed = "farming_wheat_seed.png"
textures.wheat = "farming_wheat.png"
if cottages.settings.roof.use_farming_straw_stairs and check_exists("farming:straw") then
if cottages.settings.roof.use_farming_straw_stairs and item_exists("farming:straw") then
textures.straw = "farming_straw.png"
end
end