bed_tuckable
Tucking element, for things that can be tucked into bed.
Vars | |
change_dir | Whether the item changes its dir to match the desired lying direction of the bed that it's tucked into. |
---|---|
change_layer | Whether the item changes its layer to the layer suggested by the bed for tucked-in item. When the item is untucked, it is returned to its initial() layer. |
rotation_degree | our rotation degree - how much the item turns when in bed (+degrees turns it more parallel) |
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) |
Procs | |
tuck_into_bed | Tuck our object into bed. |
untuck | If we rotate our object, then we need to un-rotate it when it's picked up |
Var Details
change_dir
Whether the item changes its dir to match the desired lying direction of the bed that it's tucked into.
change_layer
Whether the item changes its layer to the layer suggested by the bed for tucked-in item. When the item is untucked, it is returned to its initial() layer.
rotation_degree
our rotation degree - how much the item turns when in bed (+degrees turns it more parallel)
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