game_mode

Vars | |
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 |
Procs | |
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. |
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.