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

deathmatch_modifier

Deathmatch modifiers are little options the host can choose to spice the match a bit.

Vars

blacklisted_modifiersA list of modifiers this is incompatible with.
colorThe color of the button shown in the UI
descriptionA small description/tooltip shown in the UI
nameThe name of the modifier
random_exemptedIs this trait exempted from the "Random Modifiers" modifier.

Procs

applyApply the modifier to the newly spawned player as the game is about to start
on_end_gameCalled as the game has ended, right before the reservation is deleted.
on_map_changedCalled when the host chooses to change map.
on_selectCalled when selecting the deathmatch modifier.
on_start_gameCalled as the game is about to start.
selectableWhether or not this modifier can be selected, for both host and player-selected modifiers.
unselectWhen the host changes his mind and unselects it.

Var Details

blacklisted_modifiers

A list of modifiers this is incompatible with.

color

The color of the button shown in the UI

description

A small description/tooltip shown in the UI

name

The name of the modifier

random_exempted

Is this trait exempted from the "Random Modifiers" modifier.

Proc Details

apply

Apply the modifier to the newly spawned player as the game is about to start

on_end_game

Called as the game has ended, right before the reservation is deleted.

on_map_changed

Called when the host chooses to change map.

on_select

Called when selecting the deathmatch modifier.

on_start_game

Called as the game is about to start.

selectable

Whether or not this modifier can be selected, for both host and player-selected modifiers.

unselect

When the host changes his mind and unselects it.