currently when making a new demolisher entity via create_entity the quality parameter is not valid for that type of entity.
i haven't figured out if i can yet make a demolisher for a territory yet, im guessing possibly not.
My goal is to be able to analysis the spawned demolisher for a territory and replace it with another one that has modified quality.
im guessing if the demolisher prototype exposes an ID for its assigned territory and quality is a valid param for that entity type, we can dynamically create extra demolishers or replace existing ones with higher quality if you "create before delete" so the territory doesn't unlock.
create a demolisher entity with quality
-
- Factorio Staff
- Posts: 244
- Joined: Fri Dec 07, 2018 3:41 pm
- Contact:
Re: create a demolisher entity with quality
Quickly checked that it is indeed possible to create demolishers with varying levels of qualities, both in the editor and via LuaSurface::create_entity. Now in 2.0.61, there is a full API for reading and controlling demolishers and their territories.