/datum/award
Vars | |
database_id | What ID do we use in db, limited to 32 characters |
---|---|
icon | Found in UI_Icons/Achievements |
name | Name of the achievement, If null it wont show up in the achievement browser. (Handy for inheritance trees) |
Procs | |
get_changed_rows | This saves the changed data to the hub. |
get_raw_value | Get raw numerical achievement value from the database |
load | This proc loads the achievement data from the hub. |
on_unlock | Can be overriden for achievement specific events |
Var Details
database_id
What ID do we use in db, limited to 32 characters
icon
Found in UI_Icons/Achievements
name
Name of the achievement, If null it wont show up in the achievement browser. (Handy for inheritance trees)
Proc Details
get_changed_rows
This saves the changed data to the hub.
get_raw_value
Get raw numerical achievement value from the database
load
This proc loads the achievement data from the hub.
on_unlock
Can be overriden for achievement specific events