How to count decoratives?

Place to get help with not working mods / modding interface.
Post Reply
AntiElitz
Filter Inserter
Filter Inserter
Posts: 445
Joined: Sat Aug 29, 2015 11:37 pm
Contact:

How to count decoratives?

Post by AntiElitz »

Is there still a way to count decoratives? Since they are not an entities anymore, I can't use "count_entities_filtered". The only thing I found for the new type was "surface.destroy_decoratives"

AntiElitz
Filter Inserter
Filter Inserter
Posts: 445
Joined: Sat Aug 29, 2015 11:37 pm
Contact:

Re: How to count decoratives?

Post by AntiElitz »

A bit more precice now: What i want to do is limit the number of decoratives to about 100 per chunk. I also don't know how i can select a single doodad for removal, since you can only remove them i a specified area.

Post Reply

Return to “Modding help”