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

interactable

Vars

interactionsA list of interactions that the user can engage in.
selfA hard reference to the parent

Procs

can_lewd_stripChecks if the target has ERP toys enabled, and can be logially reached by the user.
generate_strip_entryTakes the organ slot name, along with a target and source, along with the item on the target that the source can potentially interact with. If the source can't interact with said slot, or there is no item in the first place, it'll set the icon to null to indicate that TGUI should put a placeholder sprite.
is_toy_compatibleDecides if a player should be able to insert or remove an item from a provided lewd slot_index.
ui_interactUI Control

Var Details

interactions

A list of interactions that the user can engage in.

self

A hard reference to the parent

Proc Details

can_lewd_strip

Checks if the target has ERP toys enabled, and can be logially reached by the user.

generate_strip_entry

Takes the organ slot name, along with a target and source, along with the item on the target that the source can potentially interact with. If the source can't interact with said slot, or there is no item in the first place, it'll set the icon to null to indicate that TGUI should put a placeholder sprite.

Arguments:

is_toy_compatible

Decides if a player should be able to insert or remove an item from a provided lewd slot_index.

ui_interact

UI Control