/datum/gang
Vars | |
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. |
Procs | |
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 |
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 |
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
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