Applies WRITE_FILE to Citadel saves + Belly clone fix (#2694)

* Applies WRITE_FILE to everything

* Maybe this works, actually

* HAHAH I FIXED IT FUCKOS
This commit is contained in:
Poojawa
2017-09-17 02:26:27 -05:00
committed by GitHub
parent a9d42c9051
commit 7cf4d0797b
3 changed files with 99 additions and 82 deletions
+17 -3
View File
@@ -118,8 +118,22 @@ V::::::V V::::::VO:::::::OOO:::::::ORR:::::R R:::::REE::::::EEEEEE
if(!S) return FALSE
S.cd = "/character[slot]"
S["digestable"] << digestable
S["devourable"] << devourable
S["belly_prefs"] << belly_prefs
WRITE_FILE(S["digestable"], digestable)
WRITE_FILE(S["devourable"], devourable)
WRITE_FILE(S["belly_prefs"], belly_prefs)
return TRUE
#ifdef TESTING
//DEBUG
//Some crude tools for testing savefiles
//path is the savefile path
/client/verb/vore_savefile_export(path as text)
var/savefile/S = new /savefile(path)
S.ExportText("/",file("[path].txt"))
//path is the savefile path
/client/verb/vore_savefile_import(path as text)
var/savefile/S = new /savefile(path)
S.ImportText("/",file("[path].txt"))
#endif