HelperLib: add processing station requires
This commit is contained in:
@@ -79,3 +79,27 @@ function Smc.requirePlayerInventoryUI()
|
|||||||
|
|
||||||
return class
|
return class
|
||||||
end
|
end
|
||||||
|
|
||||||
|
---@return BaseProcessingStation
|
||||||
|
function Smc.requireBaseProcessingStation()
|
||||||
|
---@type BaseProcessingStation
|
||||||
|
local class = Mod.getInfo('smc__core__base_processing_station').require('BaseProcessingStation')
|
||||||
|
|
||||||
|
return class
|
||||||
|
end
|
||||||
|
|
||||||
|
---@return ProcessingContainerStation
|
||||||
|
function Smc.requireProcessingContainerStation()
|
||||||
|
---@type ProcessingContainerStation
|
||||||
|
local class = Mod.getInfo('smc__core__processing_container_station').require('ProcessingContainerStation')
|
||||||
|
|
||||||
|
return class
|
||||||
|
end
|
||||||
|
|
||||||
|
---@return ProcessingFuelStation
|
||||||
|
function Smc.requireProcessingFuelStation()
|
||||||
|
---@type ProcessingFuelStation
|
||||||
|
local class = Mod.getInfo('smc__core__processing_fuel_station').require('ProcessingFuelStation')
|
||||||
|
|
||||||
|
return class
|
||||||
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user