Makes allow_ERP for a player start off by default.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3388 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
VivianFoxfoot@gmail.com
2012-04-01 17:32:42 +00:00
parent 554b4bafb7
commit 21ae24c083
3 changed files with 7 additions and 2 deletions

View File

@@ -805,7 +805,7 @@ var/list/ERPVerbs = typesof(/client/ERP/command/proc/)
/* TODO: Finish these. /* TODO: Finish these. Add vore by request.
/client/ERP/command/proc/ERP_Kiss() /client/ERP/command/proc/ERP_Kiss()
set name = "Kiss" set name = "Kiss"
set desc = "The loving part." set desc = "The loving part."

View File

@@ -115,7 +115,7 @@ datum/preferences
// Naughty. // Naughty.
allow_ERP = 1 allow_ERP = 0
ERP_Notes = "" ERP_Notes = ""

View File

@@ -131,6 +131,11 @@ datum/preferences/proc/savefile_load(mob/user)
F["allow_ERP"] >> src.allow_ERP F["allow_ERP"] >> src.allow_ERP
F["ERP_Notes"] >> src.ERP_Notes F["ERP_Notes"] >> src.ERP_Notes
if(isnull(allow_ERP))
allow_ERP = 0
if(isnull(ERP_Notes))
ERP_Notes = ""
//NOTE: Conversion things go inside this if statement //NOTE: Conversion things go inside this if statement
//When updating the save file remember to add 1 to BOTH the savefile constants //When updating the save file remember to add 1 to BOTH the savefile constants
//Also take the old conversion things that no longer apply out of this if //Also take the old conversion things that no longer apply out of this if