ProcessingStation: minor changes

This commit is contained in:
Van
2026-05-20 21:22:04 +03:00
parent 0051dea067
commit 8a5b358d79

View File

@@ -13,7 +13,7 @@ local ProcessingStationNode = Node:getExtended({
name = '', name = '',
drawtype = 'normal', drawtype = 'normal',
paramtype = 'light', paramtype = 'light',
groups = { processing_node = 1, dig_immediate = 2 } groups = { processing_station = 1, dig_immediate = 2 }
}, },
}) })
@@ -150,6 +150,7 @@ end
---@param pos MapPosition ---@param pos MapPosition
function ProcessingStation:init(pos) function ProcessingStation:init(pos)
---@type ProcessingStation.MetaData
local meta = core.get_meta(pos) local meta = core.get_meta(pos)
meta:set_float('remaining_fuel', 0.0) meta:set_float('remaining_fuel', 0.0)
meta:set_float('processing_time', 0.0) meta:set_float('processing_time', 0.0)