Yogstation 13 - Modules - TypesVar Details - Proc Details

invalid

Vars

current_playersAssociative list of current players, in order: living players, living antagonists, dead players and observers.

Procs

age_checkIf 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
announceShows the gamemode's name and a fast description.
are_special_antags_deadFor things that do not die easily
can_startChecks to see if the game can be setup and ran with the current number of players or whatnot.
check_finishedDetermines if a gamemode should end the round
convert_roundtypeAllows rounds to basically be "rerolled" should the initial premise fall through. Also known as mulligan antags.
didAntagsWinGiven a list of minds, returns TRUE if they completed all their objectives, FALSE otherwise
get_all_by_departmentGets all crewmembers for a department including dead ones
get_all_siliconGets all silicon members including dead ones
get_living_by_departmentGets all living crewmembers for a department
get_living_siliconGets all living silicon members
get_remaining_daysReturns the numbers of days before the player can access a specific role
make_antag_chanceHandles late-join antag assignments
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_setupAttempts to select players for special roles the mode might have.
processCalled by the SSticker fires every second
remove_antag_for_borgingUsed to remove antag status on borging for some gamemodes
set_round_resultSet 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:

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