[0.18.x] New API to spawn particles

Post Reply
cogito123
Inserter
Inserter
Posts: 23
Joined: Thu Feb 28, 2019 7:05 pm
Contact:

[0.18.x] New API to spawn particles

Post by cogito123 »

Hi,

As the particles are not entities anymore how can I create them using 0.18 API? I tried using LuaSurface::create_trivial_smoke, but particle names were not recognized.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13209
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.18.x] New API to spawn particles

Post by Rseding91 »

Moving to modding interface requests.
If you want to get ahold of me I'm almost always on Discord.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13209
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.18.x] New API to spawn particles

Post by Rseding91 »

I've added LuaSurface::create_particle() for the next release.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Implemented mod requests”