/tg/ Station 13 - Modules - TypesVar Details

portal

Vars

allow_anchoredDo we teleport anchored objects?
force_teleportDoes this portal bypass teleport restrictions? like TRAIT_NO_TELEPORT and NOTELEPORT flags.
hard_targetFor when a portal needs a hard target and isn't to be linked.
hardlinkedRequires a linked portal at all times. Destroy if there's no linked portal, if there is destroy it when this one is deleted.
innate_accuracy_penaltyWhat precision value do we pass to do_teleport (how far from the target destination we will pop out at).
last_effectUsed to track how often sparks should be output. Might want to turn this into a cooldown.
linkedA reference to another "linked" destination portal
mech_sizedAre mechs able to enter this portal?
sparklessDoes this portal create spark effect when teleporting?
teleport_channelWhat teleport channel does this portal use?
wibblesIf FALSE, the wibble filter will not be applied to this portal (only a visual effect).

Var Details

allow_anchored

Do we teleport anchored objects?

force_teleport

Does this portal bypass teleport restrictions? like TRAIT_NO_TELEPORT and NOTELEPORT flags.

hard_target

For when a portal needs a hard target and isn't to be linked.

hardlinked

Requires a linked portal at all times. Destroy if there's no linked portal, if there is destroy it when this one is deleted.

innate_accuracy_penalty

What precision value do we pass to do_teleport (how far from the target destination we will pop out at).

last_effect

Used to track how often sparks should be output. Might want to turn this into a cooldown.

linked

A reference to another "linked" destination portal

mech_sized

Are mechs able to enter this portal?

sparkless

Does this portal create spark effect when teleporting?

teleport_channel

What teleport channel does this portal use?

wibbles

If FALSE, the wibble filter will not be applied to this portal (only a visual effect).