Expose Unit Spawner Attributes

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

Expose Unit Spawner Attributes

Post by Muppet9010 »

Could the unique attributes of the Unit Spawner prototype be exposed as read only within the API under LuaEntity.

It was the "call_for_help_radius" attribute that I was trying to get, but after a discord discussion with Bilka I also notice that a number of other Unit Spawner specific attributes aren't exposed, i.e. spawning_radius

Bilka
Factorio Staff
Factorio Staff
Posts: 3129
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: Expose Unit Spawner Attributes

Post by Bilka »

Added LuaEntityPrototype::call_for_help_radius, max_count_of_owned_units, max_friends_around_to_spawn, spawning_radius and spawning_spacing read for the next version.
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”