golfcart 
Vars | |
| allowed_cargo | Objects that can be buckled to the cargo hitch |
|---|---|
| banned_cargo | Has the final say on whether something can be buckled. |
| base_movedelay | Base movespeed before any modifiers. Humans run at 1.5 movedelay. |
| cargo_image | Seperate image for the cargo buckled to the rear |
| cell | The power source for the cart. Can be replaced with an engine. |
| charge_per_move | Each movement requires this much energy to be drawn from the internal cell |
| child | An invisible sprite that exists as a hitbox |
| engine | A more powerful power source for the cart. |
| engine_state | Can be unwrenched, wrenched, or welded |
| hood_open | Is the hood open? |
| hotrod_base_movedelay | Base movespeed for the hotrod before any modifiers |
| perform_extra_step | Perform an extra step after movement finishes? |
| smoke | Particle holder for low integrity smoking |
Procs | |
| allow_crawler_through | Called when something tries to pass us. Returns TRUE if it is trying to crawl past us. |
| allow_movement_between_passengers | Called for COMSIG_ATOM_TRIED_PASS on the golfcart front. Allows mobs buckled to the rear of the cart to not get blocked by the front of the cart. |
| dodge_friendly_fire | Allows mobs sitting in the rear of the cart to not shoot either the front of the cart or the driver of the cart. |
| fake_glide | Creates a fake glide effect on the golfcart and anything buckled to it. Called when moving up stairs as moving up stairs creates a two-tile move. |
| generate_cargo_overlay | Flattens the attached cargo into a list of mutable_appearances with proper layering to fit between layer and max_layer |
| get_rear_offset | Gets the pixel offsets of the rear part of the golf cart |
| pre_move | Called for COMSIG_MOVABLE_PRE_MOVE on the golfcart front. If the rear of the cart doesn't fit where we want to go, block movement. |
| run_over | Called when a resting victim is run over |
| set_movedelay_effect | Makes movedelay a factor of base_movedelay |
| shake_cargo | Jiggles the cargo_image up and down. |
| thrown_mob_landed | Called when something we crash into lands after being flinged |
| zMove | Sets perform_extra_step to TRUE if we are going up stairs. |
Var Details
allowed_cargo 
Objects that can be buckled to the cargo hitch
banned_cargo 
Has the final say on whether something can be buckled.
base_movedelay 
Base movespeed before any modifiers. Humans run at 1.5 movedelay.
cargo_image 
Seperate image for the cargo buckled to the rear
cell 
The power source for the cart. Can be replaced with an engine.
charge_per_move 
Each movement requires this much energy to be drawn from the internal cell
child 
An invisible sprite that exists as a hitbox
engine 
A more powerful power source for the cart.
engine_state 
Can be unwrenched, wrenched, or welded
hood_open 
Is the hood open?
hotrod_base_movedelay 
Base movespeed for the hotrod before any modifiers
perform_extra_step 
Perform an extra step after movement finishes?
smoke 
Particle holder for low integrity smoking
Proc Details
allow_crawler_through
Called when something tries to pass us. Returns TRUE if it is trying to crawl past us.
allow_movement_between_passengers
Called for COMSIG_ATOM_TRIED_PASS on the golfcart front. Allows mobs buckled to the rear of the cart to not get blocked by the front of the cart.
dodge_friendly_fire
Allows mobs sitting in the rear of the cart to not shoot either the front of the cart or the driver of the cart.
fake_glide
Creates a fake glide effect on the golfcart and anything buckled to it. Called when moving up stairs as moving up stairs creates a two-tile move.
generate_cargo_overlay
Flattens the attached cargo into a list of mutable_appearances with proper layering to fit between layer and max_layer
get_rear_offset
Gets the pixel offsets of the rear part of the golf cart
pre_move
Called for COMSIG_MOVABLE_PRE_MOVE on the golfcart front. If the rear of the cart doesn't fit where we want to go, block movement.
run_over
Called when a resting victim is run over
set_movedelay_effect
Makes movedelay a factor of base_movedelay
shake_cargo
Jiggles the cargo_image up and down.
thrown_mob_landed
Called when something we crash into lands after being flinged
zMove
Sets perform_extra_step to TRUE if we are going up stairs.