Goonstation 13 - Modules - TypesVar Details - Proc Details

Vehicle Pod

Vars

afterburner_accel_modacceleration modification provided by afterburner if installed
afterburner_speed_modspeed modification provided by afterburner if installed
allow_muzzle_flashallow muzzle flash when firing pod weapon
init_comms_typeI got sick of having the comms type swapping code in 17 New() ship types so this is the initial type of comms array this vehicle will have
installed_partsAssociative list of part slot to the part installed in it
numbers_in_nameWhether to append a random number to the name of the vehicle
rcsbrake toggle
speedmodmultiplicative ship speed modification

Procs

MouseDrop_TMouseDrop Crate Loading
access_computerMain Ship Computer Access
access_main_computerShip Verbs
attackbyAttack Code
boardBoard Code (also eject code lol)
delete_partRemove the part from the ship and delete it from existance. Returns TRUE if there was a part to delete.
ejectCalled when the loc of an occupant changes to something other than a pod. (It's in mob/set_loc. Yes, really.) Use leave_pod if the occupant is exiting the pod normally, and don't call this directly.
eject_part/////Install/Eject Ship Part////////////////////////////////////////////
exit_shipExit Ship Code
find_part_slotDon't know which slot a part is in? Use this.
find_pilotFind new pilot
get_partReturns the part currently installed in the specified slot, if any
get_usable_partCheck if the part can be used before returning it
get_welding_positionsProduces a random small welding line across the vehicle
handle_occupants_shipdeathWhat happens to occupants when ship is destroyed
install_partUse this proc to install a part onto the ship. Returns TRUE if successful.
open_parts_panelOpen Part Panel
setup_ion_trailNew Vehicle Code
ship_messageShip Message
shipdeathShip Death
threat_alertIncoming!
weld_actionCallback for welding repair actionbar

Var Details

afterburner_accel_mod

acceleration modification provided by afterburner if installed

afterburner_speed_mod

speed modification provided by afterburner if installed

allow_muzzle_flash

allow muzzle flash when firing pod weapon

init_comms_type

I got sick of having the comms type swapping code in 17 New() ship types so this is the initial type of comms array this vehicle will have

installed_parts

Associative list of part slot to the part installed in it

numbers_in_name

Whether to append a random number to the name of the vehicle

rcs

brake toggle

speedmod

multiplicative ship speed modification

Proc Details

MouseDrop_T

MouseDrop Crate Loading

access_computer

Main Ship Computer Access

access_main_computer

Ship Verbs

attackby

Attack Code

board

Board Code (also eject code lol)

delete_part

Remove the part from the ship and delete it from existance. Returns TRUE if there was a part to delete.

eject

Called when the loc of an occupant changes to something other than a pod. (It's in mob/set_loc. Yes, really.) Use leave_pod if the occupant is exiting the pod normally, and don't call this directly.

eject_part

/////Install/Eject Ship Part////////////////////////////////////////////

Remove the part from the ship and drop it. Returns the part.

exit_ship

Exit Ship Code

find_part_slot

Don't know which slot a part is in? Use this.

find_pilot

Find new pilot

get_part

Returns the part currently installed in the specified slot, if any

get_usable_part

Check if the part can be used before returning it

get_welding_positions

Produces a random small welding line across the vehicle

handle_occupants_shipdeath

What happens to occupants when ship is destroyed

install_part

Use this proc to install a part onto the ship. Returns TRUE if successful.

open_parts_panel

Open Part Panel

setup_ion_trail

New Vehicle Code

ship_message

Ship Message

shipdeath

Ship Death

threat_alert

Incoming!

weld_action

Callback for welding repair actionbar