Yogstation 13 - Modules - TypesVar Details

achievement

Achievement datums

Each achievement datum represents an achievement the user can get. To add a new achievement, simply add a new typepath with a unique ID, the name and description can match others' but they probably shouldn't. Then use /datum/controller/subsystem/achievements/proc/has_achievement and /datum/controller/subsystem/achievements/proc/unlock_achievement.

Vars

descDescription of the achievement. Should probably be how to get it.
hiddenWhether or not we hide the achievement's description in the in-game viewer
idID of the achievement. Should be unique, since this is what we use to keep track of them
nameName of the achievement. Make it a reference or a joke or something

Var Details

desc

Description of the achievement. Should probably be how to get it.

hidden

Whether or not we hide the achievement's description in the in-game viewer

id

ID of the achievement. Should be unique, since this is what we use to keep track of them

name

Name of the achievement. Make it a reference or a joke or something