[2.0.15] Add create_asteroid() to LuaSpacePlatform

Things that already exist in the current mod API
redplasticstraw
Inserter
Inserter
Posts: 20
Joined: Fri Sep 15, 2023 12:01 pm
Contact:

[2.0.15] Add create_asteroid() to LuaSpacePlatform

Post by redplasticstraw »

Essentially, add direct counterparts to spawn asteroids instead of asteroid chunks.

destroy_asteroids(area, position, name, limit, invert)
create_asteroids(asteroids)
find_asteroids_filtered(area, position, name, limit, invert)
curiosity
Filter Inserter
Filter Inserter
Posts: 690
Joined: Wed Sep 11, 2019 4:13 pm
Contact:

Re: [2.0.15] Add create_asteroid() to LuaSpacePlatform

Post by curiosity »

They are just entities.
Bilka
Factorio Staff
Factorio Staff
Posts: 3644
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [2.0.15] Add create_asteroid() to LuaSpacePlatform

Post by Bilka »

This already exists via getting the surface from the space platform and using the existing entity related methods.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Post Reply

Return to “Already exists”