soils: idk, refactoring? Experements?

This commit is contained in:
Van
2026-08-14 21:31:25 +03:00
parent ccb89d2990
commit c380638166
4 changed files with 4 additions and 6 deletions

View File

@@ -28,7 +28,7 @@ local function registerSoil(name, x, def, turfs)
defaultSoil:new({
settings = {
name = name,
tiles = {soilTexture}
tiles = { soilTexture }
},
})
@@ -61,9 +61,10 @@ local function registerSoil(name, x, def, turfs)
settings = {
name = turfName,
tiles = {
soilTileSheet:t(turfX,2),
--soilTileSheet:t(turfX,2),
{ name = 'soils_test_top.png', align_style = 'world', scale = 2},
soilTexture,
soilTexture..'^'..soilTileSheet:t(turfX,3)
{ soilTexture..'^'..soilTileSheet:t(turfX,3) }
},
},
})
@@ -289,7 +290,4 @@ soilFactory:registerItems({
})--]]
---@type TileSheet
local tsT = TileSheet:new("soils_turfs_sheet.png", 16, 16)
registerSoil('humus', 0, {maxFertility = 100, rarity = 'uncommon'}, {turf_meadow=0})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB