I can get the control behavior of a requester chest just fine when an entity is a ghost, but not get_requester_point(). I assume this is because it's not a 'real' LogisticPoint.
I know this is part of gamestate though, as players can now edit it. So I request some way of getting this disconnected LogisticPoint so I can edit it via script just the same.
this might also be considered a bug report, if so here's the title I would've made: [2.0.11] get_logistic_point() returns empty table on ghost
I didn't put it in bug reports because I thought it might've been intentional due to the assumed detail of it not being 'real'
Btw, I already uploaded the mod I was trying to do this in for another bug report, so you can see my workaround if you want.
A way to get a ghost LogisticPoint
Re: A way to get a ghost LogisticPoint
Got added in 2.0.29 :D
Scripting
- Changed LuaEntity::get_logistic_point() and LuaEntity::get_logistic_sections() to work with ghosts.