soils: idk, refactoring? Experements?
This commit is contained in:
@@ -28,7 +28,7 @@ local function registerSoil(name, x, def, turfs)
|
|||||||
defaultSoil:new({
|
defaultSoil:new({
|
||||||
settings = {
|
settings = {
|
||||||
name = name,
|
name = name,
|
||||||
tiles = {soilTexture}
|
tiles = { soilTexture }
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -61,9 +61,10 @@ local function registerSoil(name, x, def, turfs)
|
|||||||
settings = {
|
settings = {
|
||||||
name = turfName,
|
name = turfName,
|
||||||
tiles = {
|
tiles = {
|
||||||
soilTileSheet:t(turfX,2),
|
--soilTileSheet:t(turfX,2),
|
||||||
|
{ name = 'soils_test_top.png', align_style = 'world', scale = 2},
|
||||||
soilTexture,
|
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})
|
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 |
BIN
mods/GAME/ITEMS/soils/textures/soils_test_top.png
Normal file
BIN
mods/GAME/ITEMS/soils/textures/soils_test_top.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
Reference in New Issue
Block a user