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)
[2.0.15] Add create_asteroid() to LuaSpacePlatform
-
- Inserter
- Posts: 20
- Joined: Fri Sep 15, 2023 12:01 pm
- Contact:
Re: [2.0.15] Add create_asteroid() to LuaSpacePlatform
They are just entities.
Re: [2.0.15] Add create_asteroid() to LuaSpacePlatform
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.