invalid
Vars | |
current_players | Associative list of current players, in order: living players, living antagonists, dead players and observers. |
---|---|
Procs | |
age_check | If the configuration option is set to require players to be logged as old enough to play certain jobs, then this proc checks that they are, otherwise it just returns 1 |
announce | Shows the gamemode's name and a fast description. |
are_special_antags_dead | For things that do not die easily |
can_start | Checks to see if the game can be setup and ran with the current number of players or whatnot. |
check_finished | Determines if a gamemode should end the round |
convert_roundtype | Allows rounds to basically be "rerolled" should the initial premise fall through. Also known as mulligan antags. |
didAntagsWin | Given a list of minds, returns TRUE if they completed all their objectives, FALSE otherwise |
get_all_by_department | Gets all crewmembers for a department including dead ones |
get_all_silicon | Gets all silicon members including dead ones |
get_living_by_department | Gets all living crewmembers for a department |
get_living_silicon | Gets all living silicon members |
get_remaining_days | Returns the numbers of days before the player can access a specific role |
make_antag_chance | Handles late-join antag assignments |
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 | Attempts to select players for special roles the mode might have. |
process | Called by the SSticker fires every second |
remove_antag_for_borging | Used to remove antag status on borging for some gamemodes |
set_round_result | Set the round results |
Var Details
current_players
Associative list of current players, in order: living players, living antagonists, dead players and observers.
Proc Details
age_check
If the configuration option is set to require players to be logged as old enough to play certain jobs, then this proc checks that they are, otherwise it just returns 1
announce
Shows the gamemode's name and a fast description.
are_special_antags_dead
For things that do not die easily
can_start
Checks to see if the game can be setup and ran with the current number of players or whatnot.
check_finished
Determines if a gamemode should end the round
convert_roundtype
Allows rounds to basically be "rerolled" should the initial premise fall through. Also known as mulligan antags.
didAntagsWin
Given a list of minds, returns TRUE if they completed all their objectives, FALSE otherwise
Arguments:
- antags - list of minds that we're checking
- antagonist_datum - The type we're checking for, is optional
get_all_by_department
Gets all crewmembers for a department including dead ones
get_all_silicon
Gets all silicon members including dead ones
get_living_by_department
Gets all living crewmembers for a department
get_living_silicon
Gets all living silicon members
get_remaining_days
Returns the numbers of days before the player can access a specific role
make_antag_chance
Handles late-join antag assignments
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
Attempts to select players for special roles the mode might have.
process
Called by the SSticker fires every second
remove_antag_for_borging
Used to remove antag status on borging for some gamemodes
set_round_result
Set the round results