I noticed that the `follows_player` attribute set in the data stage for `combat-robot` prototype isn't readable during the runtime stage in the `LuaEntityPrototype` class.
Data stage: https://wiki.factorio.com/Prototype/Com ... ows_player
Runtime class I'd hope/expect the field is added to: https://lua-api.factorio.com/latest/Lua ... otype.html
LuaEntityPrototype follows_player missing
- Muppet9010
- Filter Inserter
- Posts: 283
- Joined: Sat Dec 09, 2017 6:01 pm
- Contact:
Re: LuaEntityPrototype follows_player missing
Okay, added LuaEntityPrototype::range_from_player, combat_robot_friction, destroy_action and follows_player read for 2.0.67.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.