Daedalus Dock - Modules - TypesVar Details - Proc Details

game_mode

Vars

antagonistsALL antagonists, not just the roundstart ones
death_timersA k:v list of mind:time of death.
force_pre_setup_checkEven if the mode has no antag datum, force possible_antags to be built
max_popThe maximum players this gamemode can roll
min_popThe minimum players this gamemode can roll
permadead_antag_poolA list of names of antagonists who are permanantly. This list will be cut down to spend on midrounds.
possible_antagsA list of minds that are elligible to be given antagonist at roundstart
recommended_enemiesThe recommended number of antag players for this round type
required_enemiesThe number of antag players required for this round type to be considered
setup_errorDynamically set to what the problem(s) was/were.
votableIs the gamemode votable? !Not implimented!
weightThis is a WEIGHT not a PROBABILITY

Procs

admin_panelMode specific admin panel.
check_for_errorsPass in a list of players about to participate in roundstart, returns an error as a string if the round cannot start.
execute_roundstartTry to start this gamemode, called by SSticker. Returns FALSE if it fails.
get_required_jobsReturns a list of jobs that MUST roll.
init_mob_signalsSetup signals for the antagonist's mind and mob. Make sure it gets cleared in handle_antagonist_mind_transfer.
make_antag_chanceHandles late-join antag assignments
on_failed_executeClean up a mess we may have made during set up.
post_setupEveryone should now be on the station and have their normal gear. This is the place to give the special roles extra things
pre_setupPopulate the possible_antags list of minds, and any child behavior.
processStub for reference that gamemodes do infact, process.
setup_antagsThe absolute last thing called before the round starts. Setup gamemode info/antagonists.

Var Details

antagonists

ALL antagonists, not just the roundstart ones

death_timers

A k:v list of mind:time of death.

force_pre_setup_check

Even if the mode has no antag datum, force possible_antags to be built

max_pop

The maximum players this gamemode can roll

min_pop

The minimum players this gamemode can roll

permadead_antag_pool

A list of names of antagonists who are permanantly. This list will be cut down to spend on midrounds.

possible_antags

A list of minds that are elligible to be given antagonist at roundstart

recommended_enemies

The recommended number of antag players for this round type

required_enemies

The number of antag players required for this round type to be considered

setup_error

Dynamically set to what the problem(s) was/were.

votable

Is the gamemode votable? !Not implimented!

weight

This is a WEIGHT not a PROBABILITY

Proc Details

admin_panel

Mode specific admin panel.

check_for_errors

Pass in a list of players about to participate in roundstart, returns an error as a string if the round cannot start.

execute_roundstart

Try to start this gamemode, called by SSticker. Returns FALSE if it fails.

get_required_jobs

Returns a list of jobs that MUST roll.

init_mob_signals

Setup signals for the antagonist's mind and mob. Make sure it gets cleared in handle_antagonist_mind_transfer.

make_antag_chance

Handles late-join antag assignments

on_failed_execute

Clean up a mess we may have made during set up.

post_setup

Everyone should now be on the station and have their normal gear. This is the place to give the special roles extra things

pre_setup

Populate the possible_antags list of minds, and any child behavior.

process

Stub for reference that gamemodes do infact, process.

setup_antags

The absolute last thing called before the round starts. Setup gamemode info/antagonists.