Compare commits
3 Commits
87a68f056e
...
c380638166
| Author | SHA1 | Date | |
|---|---|---|---|
| c380638166 | |||
| ccb89d2990 | |||
| fe8e72cdde |
@@ -4,7 +4,7 @@ local CraftSystem = Smc.requireCraftSystem()
|
||||
local InventoryCraftHandler = CraftSystem:getPrimitiveCraftHandler('inside_player_inventory')
|
||||
|
||||
---@type TileSheet
|
||||
local rocksTileSheet = TileSheet:new("rocks_sheet.png", 16, 16)
|
||||
local rocksTileSheet = TileSheet:new('rocks_sheet.png', 16, 16)
|
||||
|
||||
---@class RockDef
|
||||
---@field rarity Item.Rarity?
|
||||
@@ -24,7 +24,7 @@ local function registerSegmentsCrafts(name, craftGroup)
|
||||
end
|
||||
|
||||
---@param name string
|
||||
---@param y number
|
||||
---@param y integer
|
||||
---@param def RockDef?
|
||||
---@param staff {block:boolean?,bricks:boolean?,pillar:boolean?}
|
||||
local function registerRock(name, y, def, staff)
|
||||
@@ -150,6 +150,7 @@ local function registerRock(name, y, def, staff)
|
||||
end
|
||||
end
|
||||
|
||||
--[[
|
||||
-- Sylite group
|
||||
registerRock('sylite', 0, {}, {block = true, bricks = true, pillar = true})
|
||||
registerRock('sylite_gray', 1, {}, {block = true, bricks = true, pillar = true})
|
||||
@@ -165,11 +166,10 @@ registerRock('falmyte_light', 6, {}, {block = true, bricks = true})
|
||||
registerRock('falmyte_yellow', 7, {}, {block = true, bricks = true})
|
||||
registerRock('falmyte_red', 8, {}, {block = true, bricks = true})
|
||||
registerRock('falmyte_dark', 9, {}, {block = true, bricks = true})
|
||||
--]]
|
||||
|
||||
registerRock('basalt', 0, {}, {block = true, bricks = true})
|
||||
registerRock('granite_red', 1, {}, {block = true, bricks = true})
|
||||
registerRock('limestone', 2, {}, {block = true, bricks = true})
|
||||
registerRock('dolomit', 3, {}, {block = true, bricks = true})
|
||||
|
||||
-- TODO:
|
||||
-- iyellite
|
||||
-- falmyte
|
||||
-- hapcoryte
|
||||
-- burcite
|
||||
-- felhor
|
||||
-- malachite
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 151 KiB After Width: | Height: | Size: 5.0 KiB |
@@ -19,7 +19,7 @@ local function registerSand(type, y)
|
||||
defaultSandNode:new({
|
||||
settings = {
|
||||
name = type..'_sand',
|
||||
tiles = { sandTileSheet:t(0, y)},
|
||||
tiles = { sandTileSheet:t(0, y) },
|
||||
groups = { sand = 1 }
|
||||
}
|
||||
})
|
||||
@@ -27,7 +27,7 @@ local function registerSand(type, y)
|
||||
defaultSandNode:new({
|
||||
settings = {
|
||||
name = type..'_sandstone',
|
||||
tiles = { sandTileSheet:t(1, y)},
|
||||
tiles = { sandTileSheet:t(1, y) },
|
||||
groups = { sandstone = 1 }
|
||||
}
|
||||
})
|
||||
@@ -35,7 +35,7 @@ local function registerSand(type, y)
|
||||
defaultSandNode:new({
|
||||
settings = {
|
||||
name = type..'_sandstone_chipped',
|
||||
tiles = { sandTileSheet:t(2, y)},
|
||||
tiles = { sandTileSheet:t(2, y) },
|
||||
groups = { sandstone = 1 }
|
||||
}
|
||||
})
|
||||
|
||||
@@ -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 |
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