Space Station 13 - Modules - TypesProc Details

thunderdome_battle

#thunderdome_battle

This datum is responsible for making fun for non-admin ghosts who want to have a brawl on thunderdome.

Constants were defined in variables of this class in case if you need to adjust parameters of a brawl through VV. Be aware, that you'll have to make indestructible area if you want to use it properly. /obj/minigame_anchor/thunderdome_poller object is basically a center of the arena and can be used from "mob spawn" ghost menu.

Procs

clear_areaClears area from: All mobs All objects except thunderdome poller and poddors (shutters included) *Arguments: *zone - specific area
clear_thunderdomeClears thunderdome and it's specific areas, also resets thunderdome state.
get_random_itemsRolls items from a list and returns associative list with keys and values. Does not check if it's not associative list or some values don't have them.
get_rounded_locationGets location with rounded coordinates (needed for precise geometry builder)
handle_participant_deathHandles thunderdome's participants deaths. Called from /datum/component/death_timer_reset/
startStarts poll for candidates with a question and a preview of the mode

Proc Details

clear_area

Clears area from: All mobs All objects except thunderdome poller and poddors (shutters included) *Arguments: *zone - specific area

clear_thunderdome

Clears thunderdome and it's specific areas, also resets thunderdome state.

get_random_items

Rolls items from a list and returns associative list with keys and values. Does not check if it's not associative list or some values don't have them.

Arguments:

get_rounded_location

Gets location with rounded coordinates (needed for precise geometry builder)

handle_participant_death

Handles thunderdome's participants deaths. Called from /datum/component/death_timer_reset/

start

Starts poll for candidates with a question and a preview of the mode

Arguments: