/datum/summon_things_controller
The "Give everyone in the crew and also latejoins a buncha stuff" controller. Used for summon magic and summon guns.
Vars | |
give_proc_path | The proc path we call on someone to equip them with stuff. Cannot function without it. |
---|---|
num_to_give_to_latejoiners | The number of equipment we give to latejoiners, to make sure they catch up if it was casted multiple times. |
survivor_probability | Prob. chance someone who is given things will be made a survivalist antagonist. |
Procs | |
gear_up_new_crew | Signal proc from COMSIG_GLOB_CREWMEMBER_JOINED. Calls give_proc_path on latejoiners a number of times (based on num_to_give_to_latejoiners) |
give_out_gear | Calls our give_proc_path on all humans in the player list. |
Var Details
give_proc_path
The proc path we call on someone to equip them with stuff. Cannot function without it.
num_to_give_to_latejoiners
The number of equipment we give to latejoiners, to make sure they catch up if it was casted multiple times.
survivor_probability
Prob. chance someone who is given things will be made a survivalist antagonist.
Proc Details
gear_up_new_crew
Signal proc from COMSIG_GLOB_CREWMEMBER_JOINED. Calls give_proc_path on latejoiners a number of times (based on num_to_give_to_latejoiners)
give_out_gear
Calls our give_proc_path on all humans in the player list.