SQL notes system

Creates and impliments a system of playernotes that actively pulls data
from SQL. Has one transfer proc in it that probably should not be run
unless the table is set up.
This commit is contained in:
skull132
2015-06-07 00:53:22 +03:00
parent ddff9868c0
commit 963378041a
5 changed files with 354 additions and 33 deletions
+5
View File
@@ -89,6 +89,11 @@ datum/admins/proc/notes_gethtml(var/ckey)
if (!key || !note)
return
//Master safety and override for SQL based noting:
if(!config.ban_legacy_system)
notes_add_sql(key, note, usr)
return
//Loading list of notes for this key
var/savefile/info = new("data/player_saves/[copytext(key, 1, 2)]/[key]/info.sav")
var/list/infos