/tg/ Station 13 - Modules - TypesVar Details - Proc Details

/datum/award

Vars

database_idWhat ID do we use in db, limited to 32 characters
iconFound in UI_Icons/Achievements
nameName of the achievement, If null it won't show up in the achievement browser. (Handy for inheritance trees)

Procs

get_changed_rowsThis saves the changed data to the hub.
get_raw_valueGet raw numerical achievement value from the database
loadThis proc loads the achievement data from the hub.
on_unlockCan 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 won't 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