Save game function

Place to ask discuss and request the modding support of Factorio. Don't request mods here.

Save game function

Postby sparr » Sun May 07, 2017 3:56 pm

I want to be able to trigger a game save in singleplayer mode, from a mod.

Relatedly, I'd like to know the name the current game is most recently saved with.
sparr
Filter Inserter
Filter Inserter
 
Posts: 814
Joined: Fri Feb 14, 2014 5:52 pm

Re: Save game function

Postby moon69 » Fri Jul 14, 2017 2:50 pm

Agreed :)

Including:
Setting Save game name on save
Reading list of saved games
Loading a named save game
User avatar
moon69
Inserter
Inserter
 
Posts: 41
Joined: Sun Sep 18, 2016 6:53 pm

Re: Save game function

Postby bobingabout » Mon Jul 17, 2017 8:59 am

Why can't we do this already?
User avatar
bobingabout
Smart Inserter
Smart Inserter
 
Posts: 4476
Joined: Fri May 09, 2014 1:01 pm

Re: Save game function

Postby Rseding91 » Mon Jul 17, 2017 9:41 am

bobingabout wrote:Why can't we do this already?


There are several things that have to happen during saving to ensure the save file is valid to be loaded meaning saving can't happen during the middle of a game tick.

It hasn't happened yet because I haven't gotten around to adding a system to do post-tick saving.
If you want to get ahold of me I'm almost always on IRC.
My Github page with my mods: https://github.com/Rseding91?tab=repositories
Find my mods on the mod portal: https://mods.factorio.com/mods/Rseding91
Rseding91
Factorio Staff
Factorio Staff
 
Posts: 5970
Joined: Wed Jun 11, 2014 5:23 am


Return to Modding interface requests

Who is online

Users browsing this forum: No registered users and 1 guest