mirror of
https://github.com/Aurorastation/Aurora-Old.git
synced 2026-08-24 05:06:16 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user