ghost_entity.bar

apriori
Filter Inserter
Filter Inserter
Posts: 282
Joined: Thu Feb 18, 2016 8:13 pm
Contact:

ghost_entity.bar

Post by apriori »

There's no simple way to get bar-value for container ghost. Only by reading a blueprint and finding a BP-part caused this entity ghost using aligns, but it's a real pain. Please add:
bar :: uint [R] - value if exists or nil

EDIT: Hm. I can revive the ghost, get the bar of its inventory, then destroy it and place a new ghost)))) heureka :lol:
Any code or mods posted by me are WTFPL, unless otherwise copyrights are specified.
Bilka
Factorio Staff
Factorio Staff
Posts: 3617
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: ghost_entity.bar

Post by Bilka »

I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Post Reply

Return to “Implemented mod requests”