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

quirks

Vars

hardcore_quirksAn assoc list of quirks that can be obtained as a hardcore character, and their hardcore value.
max_positive_quirksThe number of max positive quirks that we allow, per server config
points_enabledWhether or not quirk points are enabled, per server config

Procs

filter_invalid_quirksTakes a list of quirk names and returns a new list of quirks that would be valid. If no changes need to be made, will return the same list. Expects all quirk names to be unique, but makes no other expectations.
get_quirksReturns the list of possible quirks

Var Details

hardcore_quirks

An assoc list of quirks that can be obtained as a hardcore character, and their hardcore value.

max_positive_quirks

The number of max positive quirks that we allow, per server config

points_enabled

Whether or not quirk points are enabled, per server config

Proc Details

filter_invalid_quirks

Takes a list of quirk names and returns a new list of quirks that would be valid. If no changes need to be made, will return the same list. Expects all quirk names to be unique, but makes no other expectations.

get_quirks

Returns the list of possible quirks