swarmer 
Vars | |
| can_swap_to | Can swarmers swap to this type in core? |
|---|---|
| dismantle_speed | How much time does it take to dismantle a machine |
| mmi | Mmi inside contents if this swarmer is from a cyborg |
| spark_system | Spark system (since we use them a lot) |
| stack_extract_amount | How many items from a stack can we consume at once |
| swap_resource_cost | How many resources does it require to swap to this class from an existing one |
| swarmer_class_info | Text used in core tgui and sent to client to tell about current class abilities |
| team | Reference to swarmer team |
Procs | |
| CanAllowThrough | Swarmer projectiles pass through swarmers |
| add_datum_if_not_exist | Adds antag datum and updates team variable |
| construct_catwalk | Constructs a swarmer catwalk on given turf |
| contact_swarmers | Proc used to communicate with other swarmers |
| damage_object | Proc called in swarmer_act to damage target. |
| death | Just some sparks on death. |
| destroy_object | Proc called in swarmer_act to destroy the target. |
| dismantle_machine | Proc called in swarmer_act to dismantle machinery. |
| emp_act | Swarmers get damaged on emp |
| extract_resources | Proc called in swarmer_act to adjust resources and destroy target |
| fail_disperse_teleport | Proc called if no free organic analyzers were found |
| handle_impossible_swarmer_act | Handles swarmer_act calls that returned SWARMER_ACT_IMPOSSIBLE flag. |
| handle_mmi_on_destroy | Proc used on destroy if we have a mmi inside |
| handle_possible_swarmer_act | Handles swarmer_act calls that returned SWARMER_ACT_POSSIBLE flag. |
| handle_swarmer_act | Handles swarmer_act main flag returns and proc separation. |
| on_unarmed_attack | Unarmed_Attack signal proc |
| send_organic_processer_signal | Proc for organic processing. |
| toggle_light | Proc used to toggle light on hud |
| try_analyze | Proc used to disperse of mobs. |
| try_convert | Proc used to convert cyborgs to swarmers. |
Var Details
can_swap_to 
Can swarmers swap to this type in core?
dismantle_speed 
How much time does it take to dismantle a machine
mmi 
Mmi inside contents if this swarmer is from a cyborg
spark_system 
Spark system (since we use them a lot)
stack_extract_amount 
How many items from a stack can we consume at once
swap_resource_cost 
How many resources does it require to swap to this class from an existing one
swarmer_class_info 
Text used in core tgui and sent to client to tell about current class abilities
team 
Reference to swarmer team
Proc Details
CanAllowThrough
Swarmer projectiles pass through swarmers
add_datum_if_not_exist
Adds antag datum and updates team variable
construct_catwalk
Constructs a swarmer catwalk on given turf
contact_swarmers
Proc used to communicate with other swarmers
damage_object
Proc called in swarmer_act to damage target.
death
Just some sparks on death.
destroy_object
Proc called in swarmer_act to destroy the target.
dismantle_machine
Proc called in swarmer_act to dismantle machinery.
emp_act
Swarmers get damaged on emp
extract_resources
Proc called in swarmer_act to adjust resources and destroy target
fail_disperse_teleport
Proc called if no free organic analyzers were found
Puts restrains on target and teleports them randomly.
handle_impossible_swarmer_act
Handles swarmer_act calls that returned SWARMER_ACT_IMPOSSIBLE flag.
Returns COMPONENT_CANCEL_ATTACK_CHAIN if we fully cancel the attack
handle_mmi_on_destroy
Proc used on destroy if we have a mmi inside
handle_possible_swarmer_act
Handles swarmer_act calls that returned SWARMER_ACT_POSSIBLE flag.
Returns COMPONENT_CANCEL_ATTACK_CHAIN if we fully cancel the attack
handle_swarmer_act
Handles swarmer_act main flag returns and proc separation.
Returns COMPONENT_CANCEL_ATTACK_CHAIN if we fully cancel the attack
on_unarmed_attack
Unarmed_Attack signal proc
Redirects all attacks to be handled by swarmer_act return values
send_organic_processer_signal
Proc for organic processing.
Handles do_after and tries to send the item to a processer.
toggle_light
Proc used to toggle light on hud
try_analyze
Proc used to disperse of mobs.
Handles do_after and tries to send the mob to an analyzer. If there are no free analyzers, we teleport the target randomly.
try_convert
Proc used to convert cyborgs to swarmers.