rocks: new rocks, remove old rocks
This commit is contained in:
@@ -4,7 +4,7 @@ local CraftSystem = Smc.requireCraftSystem()
|
|||||||
local InventoryCraftHandler = CraftSystem:getPrimitiveCraftHandler('inside_player_inventory')
|
local InventoryCraftHandler = CraftSystem:getPrimitiveCraftHandler('inside_player_inventory')
|
||||||
|
|
||||||
---@type TileSheet
|
---@type TileSheet
|
||||||
local rocksTileSheet = TileSheet:new("rocks_sheet.png", 16, 16)
|
local rocksTileSheet = TileSheet:new('rocks_sheet.png', 16, 16)
|
||||||
|
|
||||||
---@class RockDef
|
---@class RockDef
|
||||||
---@field rarity Item.Rarity?
|
---@field rarity Item.Rarity?
|
||||||
@@ -24,7 +24,7 @@ local function registerSegmentsCrafts(name, craftGroup)
|
|||||||
end
|
end
|
||||||
|
|
||||||
---@param name string
|
---@param name string
|
||||||
---@param y number
|
---@param y integer
|
||||||
---@param def RockDef?
|
---@param def RockDef?
|
||||||
---@param staff {block:boolean?,bricks:boolean?,pillar:boolean?}
|
---@param staff {block:boolean?,bricks:boolean?,pillar:boolean?}
|
||||||
local function registerRock(name, y, def, staff)
|
local function registerRock(name, y, def, staff)
|
||||||
@@ -150,6 +150,7 @@ local function registerRock(name, y, def, staff)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--[[
|
||||||
-- Sylite group
|
-- Sylite group
|
||||||
registerRock('sylite', 0, {}, {block = true, bricks = true, pillar = true})
|
registerRock('sylite', 0, {}, {block = true, bricks = true, pillar = true})
|
||||||
registerRock('sylite_gray', 1, {}, {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_yellow', 7, {}, {block = true, bricks = true})
|
||||||
registerRock('falmyte_red', 8, {}, {block = true, bricks = true})
|
registerRock('falmyte_red', 8, {}, {block = true, bricks = true})
|
||||||
registerRock('falmyte_dark', 9, {}, {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 |
Reference in New Issue
Block a user