I did some quick testing from the console window, and I couldn't get the create_decoratives or destroy_decoratives function to work at all.
/c game.surfaces[1].create_decoratives{check_collision=false, decoratives={{name="red-asterisk", position=game.player.position, amount=1}}}
/c game.surfaces[1].destroy_decoratives{{-100, -100}, {100, 100}}
Both don't seem to do anything for me.
[Harkonnen] [0.15.12] create/destroy_decoratives not doing anything.
Re: [Harkonnen] [0.15.12] create/destroy_decoratives not doing anything.
For me they work fine (as per 0.15.16). First command creates one decorative near player, the second wipes them all out. I've checked it by starting a new game in 500x500 world.
Re: [Harkonnen] [0.15.12] create/destroy_decoratives not doing anything.
Do you have rendering of decoratives disabled in graphics options?Daid wrote:Both don't seem to do anything for me.