Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/gang

Vars

announcer_radioThe radio headset that the gang's announcer will use.
announcer_sourceThe radio source for the gang's announcer, who will announce various messages of importance over the gang's frequency.
baseThe location of this gang's locker.
claimed_briefcaseWhether or not the leader of this gang has claimed a recruitment briefcase
color_idThe ID of the color selected
controlled_areasThe various areas that this gang currently controls.
current_max_gang_membersThe maximum number of gang members per gang.
current_newmember_pricePrice to hire a spectator gang member, for this gang
current_revival_pricePrice of the janktank II, for this gang (gang member revival syringe)
gangGreetingsStrings used to build PDA messages sent to civilians.
gang_frequencyThe unique radio frequency that members of this gang will communicate over.
gang_nameThe chosen name of this gang.
gang_pointsAssociative list between Gang members -> their points
gang_tagThe randomly selected tag of this gang.
gear_cooldownThe minds of members of this gang who are currently on cooldown from redeeming their gear from the gang locker.
headwearThe chosen mask or hat item of this gang.
headwear_listMask or hat items that are being used by other gangs as part of their gang uniform.
items_purchasedAn associative list of the items that this gang has purchased and the quantity in which they have been purchased.
leaderThe mind of this gang's leader.
leader_claimableWhether a gang member can claim to be leader. For when the leader cryos & observes (and NOT when the leader dies)
lockerThe gang locker of this gang.
membersThe minds of gang members associated with this gang. Does not include the gang leader.
potential_drop_zonesPotential loot drop zones for this gang
score_cashThe total quantity of cash that this gang has deposited.
score_drugPoints gained by this gang from drug deposits.
score_eventPoints gained by this gang from completing events.
score_gunPoints gained by this gang from gun deposits.
score_totalTotal score. may not be perfectly up to date
score_turfPoints gained by this gang from owning areas.
spray_paint_remainingThe amount of spray paint cans this gang may spawn.
street_credThe usable number of points that this gang has to spend with. The street cred this gang has - used exclusively by the leader for purchasing gang members & revives
tiles_controlledThe number of tiles this gang controls.
uniformThe chosen jumpsuit item of this gang.
uniform_listJumpsuit items that are being used by other gangs as part of their gang uniform.
used_frequenciesRadio frequencies that are being used by other gangs.
used_namesGang names that are being used by other gangs.
used_tagsGang tag icon states that are being used by other gangs.
vandalism_trackerAssociative list of tracked vandalism zones to the remaining score needed.

Procs

add_pointsadd points to this gang, bonusMob optionally getting a bonus if location is defined, maptext will come from that location, for all members.
claim_tilesClaim all tiles within claimRange, making all within minimumRange unclaimable.
do_vandalismChecks to see if is one the gang has to vandalise. If so, adds progress.
find_potential_drop_zonescollects and remembers all valid areas to spawn loot/crates
get_random_civviepick a random civilian (non-gang, non-sec), ideally not picking any deferred_minds
handle_leader_early_deathhow to handle the gang leader dying horribly early into the shift (suicide etc)
handle_leader_perma_cryohandle the gang leader entering cryo permanently
handle_leader_temp_cryohow to handle the gang leader entering cryo (but not guaranteed to be permanent)
lootbag_spawnhide a loot bag somewhere, return a probably-somewhat-believable PDA message explaining its' location
show_score_maptextShows maptext to the gang, with formatting for score increases.
show_vandal_maptextShows maptext to the gang, with formatting for score increases.
target_loot_spawnspawn loot and message a specific mind about it

Var Details

announcer_radio

The radio headset that the gang's announcer will use.

announcer_source

The radio source for the gang's announcer, who will announce various messages of importance over the gang's frequency.

base

The location of this gang's locker.

claimed_briefcase

Whether or not the leader of this gang has claimed a recruitment briefcase

color_id

The ID of the color selected

controlled_areas

The various areas that this gang currently controls.

current_max_gang_members

The maximum number of gang members per gang.

current_newmember_price

Price to hire a spectator gang member, for this gang

current_revival_price

Price of the janktank II, for this gang (gang member revival syringe)

gangGreetings

Strings used to build PDA messages sent to civilians.

gang_frequency

The unique radio frequency that members of this gang will communicate over.

gang_name

The chosen name of this gang.

gang_points

Associative list between Gang members -> their points

gang_tag

The randomly selected tag of this gang.

gear_cooldown

The minds of members of this gang who are currently on cooldown from redeeming their gear from the gang locker.

headwear

The chosen mask or hat item of this gang.

headwear_list

Mask or hat items that are being used by other gangs as part of their gang uniform.

items_purchased

An associative list of the items that this gang has purchased and the quantity in which they have been purchased.

leader

The mind of this gang's leader.

leader_claimable

Whether a gang member can claim to be leader. For when the leader cryos & observes (and NOT when the leader dies)

locker

The gang locker of this gang.

members

The minds of gang members associated with this gang. Does not include the gang leader.

potential_drop_zones

Potential loot drop zones for this gang

score_cash

The total quantity of cash that this gang has deposited.

score_drug

Points gained by this gang from drug deposits.

score_event

Points gained by this gang from completing events.

score_gun

Points gained by this gang from gun deposits.

score_total

Total score. may not be perfectly up to date

score_turf

Points gained by this gang from owning areas.

spray_paint_remaining

The amount of spray paint cans this gang may spawn.

street_cred

The usable number of points that this gang has to spend with. The street cred this gang has - used exclusively by the leader for purchasing gang members & revives

tiles_controlled

The number of tiles this gang controls.

uniform

The chosen jumpsuit item of this gang.

uniform_list

Jumpsuit items that are being used by other gangs as part of their gang uniform.

used_frequencies

Radio frequencies that are being used by other gangs.

used_names

Gang names that are being used by other gangs.

used_tags

Gang tag icon states that are being used by other gangs.

vandalism_tracker

Associative list of tracked vandalism zones to the remaining score needed.

Proc Details

add_points

add points to this gang, bonusMob optionally getting a bonus if location is defined, maptext will come from that location, for all members.

claim_tiles

Claim all tiles within claimRange, making all within minimumRange unclaimable.

do_vandalism

Checks to see if is one the gang has to vandalise. If so, adds progress.

find_potential_drop_zones

collects and remembers all valid areas to spawn loot/crates

get_random_civvie

pick a random civilian (non-gang, non-sec), ideally not picking any deferred_minds

handle_leader_early_death

how to handle the gang leader dying horribly early into the shift (suicide etc)

handle_leader_perma_cryo

handle the gang leader entering cryo permanently

handle_leader_temp_cryo

how to handle the gang leader entering cryo (but not guaranteed to be permanent)

lootbag_spawn

hide a loot bag somewhere, return a probably-somewhat-believable PDA message explaining its' location

show_score_maptext

Shows maptext to the gang, with formatting for score increases.

show_vandal_maptext

Shows maptext to the gang, with formatting for score increases.

target_loot_spawn

spawn loot and message a specific mind about it