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

avatar_connection

Essentially temporary body with a twist - the virtual domain variant uses damage connections, listens for vdom relevant signals.

Vars

netpod_refThe netpod the avatar is in
old_body_refThe person in the netpod
old_mind_refThe mind of the person in the netpod
server_refThe server connected to the netpod

Procs

PostTransferThings that will disconnect forcefully:
UnregisterFromParentThings that cause safe disconnection:
full_avatar_disconnectDisconnects the avatar and returns the mind to the old_body.
on_domain_completedTriggers whenever the server gets a loot crate pushed to goal area
on_linked_damageTransfers damage from the avatar to the old_body
on_mind_transferHandles minds being swapped around in subsequent avatars
on_netpod_crowbarTriggers when someone starts prying open our netpod
on_netpod_damagedTriggers when the netpod is taking damage and is under 50%
on_safe_disconnectTriggers when a safe disconnect is called
on_sever_connectionReceived message to sever connection
on_shutting_downTriggers when the server is shutting down
on_station_spawnTriggers whenever an antag steps onto an exit turf and the server is emagged
on_threat_createdServer has spawned a ghost role threat
return_to_old_bodyReturns the mind to the old body

Var Details

netpod_ref

The netpod the avatar is in

old_body_ref

The person in the netpod

old_mind_ref

The mind of the person in the netpod

server_ref

The server connected to the netpod

Proc Details

PostTransfer

Things that will disconnect forcefully:

UnregisterFromParent

Things that cause safe disconnection:

full_avatar_disconnect

Disconnects the avatar and returns the mind to the old_body.

on_domain_completed

Triggers whenever the server gets a loot crate pushed to goal area

on_linked_damage

Transfers damage from the avatar to the old_body

on_mind_transfer

Handles minds being swapped around in subsequent avatars

on_netpod_crowbar

Triggers when someone starts prying open our netpod

on_netpod_damaged

Triggers when the netpod is taking damage and is under 50%

on_safe_disconnect

Triggers when a safe disconnect is called

on_sever_connection

Received message to sever connection

on_shutting_down

Triggers when the server is shutting down

on_station_spawn

Triggers whenever an antag steps onto an exit turf and the server is emagged

on_threat_created

Server has spawned a ghost role threat

return_to_old_body

Returns the mind to the old body