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:
@@ -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
|
||||
Reference in New Issue
Block a user