survivalcapsule ![code/modules/mining/equipment/survival_pod.dm 12](git.png)
Vars | |
template | The template datum we use to load the shelter |
---|---|
template_id | The id we use to fetch the template datum |
used | If true, this capsule is active and will deploy the area if conditions are met. |
yeet_back | Will this capsule yeet mobs back once the area is deployed? |
Procs | |
expand | Expands the capsule into a full shelter, placing the template at the item's location (NOT triggerer's location) |
fail_feedback | Returns a message including the reason why it couldn't be deployed |
get_ignore_flags | Returns a bitfield used to ignore some checks in template.check_deploy() |
trigger_admin_alert | Logs if the capsule was triggered, by default only if it happened on non-lavaland |
yote_nearby | Throws any mobs near the deployed location away from the item / shelter Does some math to make closer mobs get thrown further |
Var Details
template ![code/modules/mining/equipment/survival_pod.dm 21](git.png)
The template datum we use to load the shelter
template_id ![code/modules/mining/equipment/survival_pod.dm 19](git.png)
The id we use to fetch the template datum
used ![code/modules/mining/equipment/survival_pod.dm 23](git.png)
If true, this capsule is active and will deploy the area if conditions are met.
yeet_back ![code/modules/mining/equipment/survival_pod.dm 25](git.png)
Will this capsule yeet mobs back once the area is deployed?
Proc Details
expand
Expands the capsule into a full shelter, placing the template at the item's location (NOT triggerer's location)
fail_feedback
Returns a message including the reason why it couldn't be deployed
get_ignore_flags
Returns a bitfield used to ignore some checks in template.check_deploy()
trigger_admin_alert
Logs if the capsule was triggered, by default only if it happened on non-lavaland
yote_nearby
Throws any mobs near the deployed location away from the item / shelter Does some math to make closer mobs get thrown further