[Harkonnen] [0.15.12] create/destroy_decoratives not doing anything.

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
Daid
Fast Inserter
Fast Inserter
Posts: 213
Joined: Sun Jul 03, 2016 7:42 am
Contact:

[Harkonnen] [0.15.12] create/destroy_decoratives not doing anything.

Post by Daid »

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
Fast Inserter
Fast Inserter
Posts: 207
Joined: Fri Sep 02, 2016 9:23 am
Contact:

Re: [Harkonnen] [0.15.12] create/destroy_decoratives not doing anything.

Post by Harkonnen »

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.
posila
Factorio Staff
Factorio Staff
Posts: 5421
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [Harkonnen] [0.15.12] create/destroy_decoratives not doing anything.

Post by posila »

Daid wrote:Both don't seem to do anything for me.
Do you have rendering of decoratives disabled in graphics options?
Post Reply

Return to “Pending”