chastity 
A lockable device worn in a lewd slot that closes genitals off: a chastity cage, belt or plate.
It draws in place of the genital it sits over (see device_state on the genital's bodypart overlay), so clothing,
underwear and the genital's own visibility settings hide it exactly as they hide the genital. Genitals it closes
off refuse interactions and other toys until it comes off, and it only comes off unlocked: with the key that
comes tucked inside it, or with its lock picked. Fitting one needs the wearer's chastity preference.
Vars | |
| broken_lock | A picked lock never catches again. |
|---|---|
| closes | CHASTITY_* genitals it closes off. |
| covers | CHASTITY_* genitals hidden under it besides the one it's drawn over. |
| drawn_over | The genital slot it's drawn over while worn. |
| genital_flags | Genital slots by the CHASTITY_* flag that names them. |
| key_path | The key that comes tucked inside it, or null for one that has no keyhole. |
| locked | Whether it's locked shut. |
| needs | CHASTITY_* genitals the wearer must have for it to fit. |
| pick_tool | The tool that can pick its lock. |
| status_lights | Status lights that glow while it's locked, from "[state]_e" emissive states. |
| wearer_ref | Whoever has it on. |
| worn_shape | Its worn shape in that sheet, drawn as "[worn_shape]_m" or "_f" by body. |
| worn_sheet | The sheet its worn shapes come from. |
Procs | |
| arousal_line_key | Which arousal flavour bank fits the wearer and what the device holds. |
| come_off | Takes it off the wearer whether locked or not, and drops it at their feet. |
| draw_slot_for | The genital it's drawn over on human: a penis it closes off, else a vagina. |
| fit | Closes the wearer's genitals off and draws the device in place of the one it sits over. |
| genitals_of | The CHASTITY_* genitals human has. |
| get_worn_shape | Its worn shape on human. |
| on_lewd_received | A partner did something lewd to the wearer; now and then, the wearer thinks about what the device keeps from them. |
| on_organ_gained | Newly inserted organs acquire the worn device's restrictions and drawing state. |
| on_organ_lost | A genital it holds came off the body (surgery, a lost limb), so the device drops off with nothing to hold. |
| pick_lock | Works the lock with a screwdriver (a multitool for smart locks), like a locked collar's. It breaks open a third of the time. |
| refresh_organs | Reconciles the device's organ state without repeating fitting effects or signal registration. |
| release | Clears what the device set on one genital: its block, the device drawn over it, or its cover. |
| set_locked | Locks or unlocks it, from close by or through a remote. Returns FALSE if a broken lock won't catch. |
| turn_key | Turns its key, on the wearer or in hand. |
| unfit | Lets the wearer's genitals go again. Safe to call when it isn't worn. |
Var Details
broken_lock 
A picked lock never catches again.
closes 
CHASTITY_* genitals it closes off.
covers 
CHASTITY_* genitals hidden under it besides the one it's drawn over.
drawn_over 
The genital slot it's drawn over while worn.
genital_flags 
Genital slots by the CHASTITY_* flag that names them.
key_path 
The key that comes tucked inside it, or null for one that has no keyhole.
locked 
Whether it's locked shut.
needs 
CHASTITY_* genitals the wearer must have for it to fit.
pick_tool 
The tool that can pick its lock.
status_lights 
Status lights that glow while it's locked, from "[state]_e" emissive states.
wearer_ref 
Whoever has it on.
worn_shape 
Its worn shape in that sheet, drawn as "[worn_shape]_m" or "_f" by body.
worn_sheet 
The sheet its worn shapes come from.
Proc Details
arousal_line_key
Which arousal flavour bank fits the wearer and what the device holds.
come_off
Takes it off the wearer whether locked or not, and drops it at their feet.
draw_slot_for
The genital it's drawn over on human: a penis it closes off, else a vagina.
fit
Closes the wearer's genitals off and draws the device in place of the one it sits over.
genitals_of
The CHASTITY_* genitals human has.
get_worn_shape
Its worn shape on human.
on_lewd_received
A partner did something lewd to the wearer; now and then, the wearer thinks about what the device keeps from them.
on_organ_gained
Newly inserted organs acquire the worn device's restrictions and drawing state.
on_organ_lost
A genital it holds came off the body (surgery, a lost limb), so the device drops off with nothing to hold.
pick_lock
Works the lock with a screwdriver (a multitool for smart locks), like a locked collar's. It breaks open a third of the time.
refresh_organs
Reconciles the device's organ state without repeating fitting effects or signal registration.
release
Clears what the device set on one genital: its block, the device drawn over it, or its cover.
set_locked
Locks or unlocks it, from close by or through a remote. Returns FALSE if a broken lock won't catch.
turn_key
Turns its key, on the wearer or in hand.
unfit
Lets the wearer's genitals go again. Safe to call when it isn't worn.