/tg/ Station 13 - Modules - TypesVar Details - Proc Details

survivalcapsule

Vars

templateThe template datum we use to load the shelter
template_idThe id we use to fetch the template datum
usedIf true, this capsule is active and will deploy the area if conditions are met.
yeet_backWill this capsule yeet mobs back once the area is deployed?

Procs

expandExpands the capsule into a full shelter, placing the template at the item's location (NOT triggerer's location)
fail_feedbackReturns a message including the reason why it couldn't be deployed
get_ignore_flagsReturns a bitfield used to ignore some checks in template.check_deploy()
trigger_admin_alertLogs if the capsule was triggered, by default only if it happened on non-lavaland
yote_nearbyThrows any mobs near the deployed location away from the item / shelter Does some math to make closer mobs get thrown further

Var Details

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?

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