lost_crew_manager
Handles procs and timers for the lost crew bodies
Vars | |
credits_on_succes | How many credits we reward the medical budget on a succesful revive |
---|---|
starting_funds | How much the revived crew start with on their cards |
succes_check_time | How long after succesful revival we check to see if theyre still alive, and give rewards |
Procs | |
award_succes | Give medbay a happy announcement and put some money into their budget |
create_lost_crew | Creates a body with random background and injuries |
on_succesful_revive | Set a timer for awarding succes and drop some awesome deathlore |
Var Details
credits_on_succes
How many credits we reward the medical budget on a succesful revive
starting_funds
How much the revived crew start with on their cards
succes_check_time
How long after succesful revival we check to see if theyre still alive, and give rewards
Proc Details
award_succes
Give medbay a happy announcement and put some money into their budget
create_lost_crew
Creates a body with random background and injuries
Arguments:
- revivable - Whether or not we can be revived to grand a ghost controle
- container - Humans really dont like not having a loc, so please either give the container where you want to spawn it or a turf
- forced_class - To force a specific damage class for some specific lore reason
- recovered_items - Items recovered, such as some organs, dropped directly with the body
- protected_items - Items that can only be recovered by the revived player
- body_data - Debug data we can use to get a readout of what has been done
on_succesful_revive
Set a timer for awarding succes and drop some awesome deathlore