ProcessingStation: minor changes
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user