In Factorio 1.0.0 was added a new 'spawn_decoration' property to Prototype/EnemySpawner and Prototype/Turret.
This property is accessible during data stage but not during control stage.
Could you make it so we can have access to it (read-only indeed) during control stage too, please?
LuaEntityPrototype::spawn_decoration [R]
Re: LuaEntityPrototype::spawn_decoration [R]
Ok, this has been added for the next 1.1. release.
If you want to get ahold of me I'm almost always on Discord.