golfcart_rear 
Vars | |
| cargo | Currently buckled cargo |
|---|---|
| lying_down_passenger_offsets | Same as /obj/golfcart_rear/passenger_offsets, except for when the passenger is lying down. |
| moving_from_parent | Was this move triggered by the parent? |
| passenger_offsets | List of offsets for buckled passengers. Indexed by passenger index, then by direction string. |
Procs | |
| allow_movement_between_bed_passengers | Called for COMSIG_ATOM_TRIED_PASS on passengers buckled to the cart. Allows them to not block each other's movement / get blocked by the cart. |
| check_if_shake | Jiggles the cargo_image as long as someone is trying to jiggle it. |
| easy_escape | Unload the container from the golfcart if it is cargo |
| hard_escape | Unload the container from the golfcart if it is cargo and after a little jiggling and a some time |
| load | Try to load something onto the cart. This proc may fail if the obj is not in allowed_cargo or is in banned_cargo. |
| move_from_parent | Called if the rear of the golfcart MUST move to destination and must NOT notify the parent about it. |
| on_attempted_bucklestack | Called on COMSIG_MOVABLE_PREBUCKLE for anything that's buckled to us. Disallows stacking buckles |
| on_dir_changed | Called from COMSIG_ATOM_POST_DIR_CHANGE on the rear of the cart. Only used to change buckled mobs' position / layers. |
| passenger_falling_down | Called when a passenger tries lying down/getting up. Automatically drops out people who can't stay on |
| relay_container_resist_act | Called when someone resists inside of the cargo hitch. |
| update_passenger_layers | Called when the golfcart rear turns in order to keep the buckled mobs in the right places |
Var Details
cargo 
Currently buckled cargo
lying_down_passenger_offsets 
Same as /obj/golfcart_rear/passenger_offsets, except for when the passenger is lying down.
moving_from_parent 
Was this move triggered by the parent?
passenger_offsets 
List of offsets for buckled passengers. Indexed by passenger index, then by direction string.
Proc Details
allow_movement_between_bed_passengers
Called for COMSIG_ATOM_TRIED_PASS on passengers buckled to the cart. Allows them to not block each other's movement / get blocked by the cart.
check_if_shake
Jiggles the cargo_image as long as someone is trying to jiggle it.
easy_escape
Unload the container from the golfcart if it is cargo
hard_escape
Unload the container from the golfcart if it is cargo and after a little jiggling and a some time
load
Try to load something onto the cart. This proc may fail if the obj is not in allowed_cargo or is in banned_cargo.
move_from_parent
Called if the rear of the golfcart MUST move to destination and must NOT notify the parent about it.
on_attempted_bucklestack
Called on COMSIG_MOVABLE_PREBUCKLE for anything that's buckled to us. Disallows stacking buckles
on_dir_changed
Called from COMSIG_ATOM_POST_DIR_CHANGE on the rear of the cart. Only used to change buckled mobs' position / layers.
passenger_falling_down
Called when a passenger tries lying down/getting up. Automatically drops out people who can't stay on
relay_container_resist_act
Called when someone resists inside of the cargo hitch.
update_passenger_layers
Called when the golfcart rear turns in order to keep the buckled mobs in the right places