mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-11 07:59:08 +01:00
Reward for Patreons!
Introduces alittle heart into chat, for the supporters!
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#define PATREONFILE "[global.config.directory]/patreons.txt"
|
||||
|
||||
GLOBAL_LIST_EMPTY(patreons)
|
||||
|
||||
/proc/load_patreons()
|
||||
GLOB.patreons = list()
|
||||
for(var/line in world.file2list(PATREONFILE))
|
||||
if(!line)
|
||||
continue
|
||||
GLOB.patreons += ckey(line)
|
||||
|
||||
/proc/check_patreons(var/ckey)
|
||||
if(!GLOB.patreons)
|
||||
return FALSE
|
||||
. = (ckey in GLOB.patreons)
|
||||
Reference in New Issue
Block a user