Burner inventory validity for different entities
Posted: Sun Jan 16, 2022 10:09 am
Hello,
A small request. Make burner inventory for new entities valid in game API.
I created radar with burner energy source. It works fine, player or inserter can put fuel inside and it burns -> consumes energy, scans chunks...
But it doesn't allow to do anything with its inventory (e.g. get items count or insert fuel) in mod script. Burner inventory validity check always returns false. And if this check is skipped then error occurs about burner inventory currently being not valid. I tried to give entity some time to maybe finish initiating burner, but its inventory always remains invalid, even after player puts some fuel.
Tried to fuel stone-furnace via script - works fine, its burner inventory is always valid.
Excuse me if I put this request in wrong thread.
A small request. Make burner inventory for new entities valid in game API.
I created radar with burner energy source. It works fine, player or inserter can put fuel inside and it burns -> consumes energy, scans chunks...
But it doesn't allow to do anything with its inventory (e.g. get items count or insert fuel) in mod script. Burner inventory validity check always returns false. And if this check is skipped then error occurs about burner inventory currently being not valid. I tried to give entity some time to maybe finish initiating burner, but its inventory always remains invalid, even after player puts some fuel.
Tried to fuel stone-furnace via script - works fine, its burner inventory is always valid.
Excuse me if I put this request in wrong thread.