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

sextoy

Vars

current_equipped_slotThis is to keep track of where we are stored, because sometimes we might want to know that
lewd_slot_flagsThis is used to decide what lewd slot a toy should be able to be inserted into. The currently accepted defines are all prefixes with LEWD_SLOT_, and there is one for each lewd organ. See code/__DEFINES/~skyrat_defines/inventory.dm for the full list.

Procs

check_menuA check to confirm if you can open the toy's color/design radial menu
is_inside_lewd_slotReturns if the item is inside a lewd slot.
lewd_equippedCalled after an item is placed in a lewd slot via the interaction menu. This gets called after equipped() does.

Var Details

current_equipped_slot

This is to keep track of where we are stored, because sometimes we might want to know that

lewd_slot_flags

This is used to decide what lewd slot a toy should be able to be inserted into. The currently accepted defines are all prefixes with LEWD_SLOT_, and there is one for each lewd organ. See code/__DEFINES/~skyrat_defines/inventory.dm for the full list.

Proc Details

check_menu

A check to confirm if you can open the toy's color/design radial menu

is_inside_lewd_slot

Returns if the item is inside a lewd slot.

lewd_equipped

Called after an item is placed in a lewd slot via the interaction menu. This gets called after equipped() does.

Use this instead of equipped() when dealing with lewd slots. We really should hook this better into the upstream equip chain but for now this will have to do.

Arguments: