Page 1 of 1

Can you respawn the spaceship wreck?

Posted: Wed Aug 18, 2021 11:55 pm
by GewaltSam
Hey there, pretty much the thread title. A "friend" visited our little factory, and we're 99% sure that it was him who deconstructed the prestige piece of our factory - when we discovered it, we were already 6 hours ahead :-(

Now, the question is, can you respawn this thing again, like, per console command or anything? I googled for it for a bit and searched around in the forums, but I couldn't find anything. Any help would be greatly appreciated!

Re: Can you respawn the spaceship wreck?

Posted: Thu Aug 19, 2021 12:09 am
by DaveMcW

Code: Select all

/c game.player.surface.create_entity{name="crash-site-spaceship", force="player", position={-5,-6}}
And optionally...

Code: Select all

/c shipwreck = game.player.surface.find_entities_filtered{name="crash-site-spaceship"}[1]
shipwreck.minable = false
shipwreck.destructible = false

Re: Can you respawn the spaceship wreck?

Posted: Thu Aug 19, 2021 12:16 am
by Silari
Should be able to with

Code: Select all

/c game.surfaces["nauvis"].create_entity{name="crash-site-spaceship",position={-5,-6},force="player"}
where {-5,-6} is the position where the spaceship was. Both games I checked that's where it was, so I'm assuming it's always put there by the freeplay scenario.

Re: Can you respawn the spaceship wreck?

Posted: Thu Aug 19, 2021 7:18 am
by GewaltSam
Thank you guys very much ❤️

One quick follow up question though, does it still allow for doing the achievements? I was thinking about trying the editor for getting the rocket back, but if we can't do achievements then, we would rather build a little memorial for our hare-brained friend and the lost rocket.

Re: Can you respawn the spaceship wreck?

Posted: Thu Aug 19, 2021 7:30 am
by Silari
There's no easy way to do it that won't make you lose achievements. Commands permanently mark the save as not being eligible for any achievements.

Re: Can you respawn the spaceship wreck?

Posted: Thu Aug 19, 2021 7:34 am
by GewaltSam
Aww, too bad, but I was afraid it will be like that :/
Well, blinking and insulting letters visible from space it is, then :-D

Thanks again for the quick responses! The Factorio community is still my favorite one for a reason ;)

Re: Can you respawn the spaceship wreck?

Posted: Thu Aug 19, 2021 8:13 pm
by eradicator
Silari wrote:
Thu Aug 19, 2021 7:30 am
There's no easy way to do it that won't make you lose achievements.
Depends on if you're talking about steam achievements or merely modded in-game achievements. ;)