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

bed_tuckable

Tucking element, for things that can be tucked into bed.

Vars

rotation_degreeour rotation degree - how many degrees we need to turn the item to get to the left/right side
starting_angleour starting angle for the item
x_offsetour pixel_x offset - how much the item moves x when in bed (+x is closer to the pillow)
y_offsetour pixel_y offset - how much the item move y when in bed (-y is closer to the middle)

Procs

tuck_into_bedTuck our object into bed.
untuckIf we rotate our object, then we need to un-rotate it when it's picked up

Var Details

rotation_degree

our rotation degree - how many degrees we need to turn the item to get to the left/right side

starting_angle

our starting angle for the item

x_offset

our pixel_x offset - how much the item moves x when in bed (+x is closer to the pillow)

y_offset

our pixel_y offset - how much the item move y when in bed (-y is closer to the middle)

Proc Details

tuck_into_bed

Tuck our object into bed.

tucked - the object being tucked target_bed - the bed we're tucking them into tucker - the guy doing the tucking

untuck

If we rotate our object, then we need to un-rotate it when it's picked up

tucked - the object that is tucked