🧢XTASK.cat

The category that an achievement will be listed under.

▸ Data Type

string

▸ Description

When specifying a category, you can write in a new one never used; or you can use an existing category name.

In-game, a list of categories will be available for the player to click on which groups the achievements up based on each category.

▸ Existing Categories

Connections

Cops and Robbers

Crouching

Damage

Deaths

Finances

General

Jail

Jobs

Kills

Messages

Population

Rounds

Secrets

Spells

Time Played

Walking

▸ Example

XTASK.title             = 'Who Keeps Giving Birth?'
XTASK.desc              = sf( 'Play on the server when there\'s %s or more people. (Bots don\'t count)', tostring( XTASK.param_extra ) )
XTASK.cat               = 'Population'

The above code will place the achievement Who Keeps Giving Birth? in the Population category.

Last updated