LuaEntityPrototype follows_player missing

User avatar
Muppet9010
Filter Inserter
Filter Inserter
Posts: 283
Joined: Sat Dec 09, 2017 6:01 pm
Contact:

LuaEntityPrototype follows_player missing

Post by Muppet9010 »

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
Bilka
Factorio Staff
Factorio Staff
Posts: 3646
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: LuaEntityPrototype follows_player missing

Post by Bilka »

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.
Post Reply

Return to “Implemented mod requests”