armored

Vars | |
armored_flags | Tank bitflags |
---|---|
damage_icon_path | Icon file path for the damage overlay |
damage_overlay | Damage overlay for when the vehicle gets damaged |
drive_inside_loop | sound that plays inside when we drive around |
drive_loop | sound loop that plays while we move around |
driver_utility_module | Our driver utility module |
easy_load_list | List for storing all item typepaths that we may "easy load" into the tank by attacking its entrance This will be turned into a typeCache on initialize |
engine_off_interior_sound | sound to play inside the tank after the driver leaves |
engine_off_sound | sound to play outside the tank after the driver leaves |
gunner_utility_module | Our driver utility module |
idle_inside_loop | sound loop that plays inside the tank when driver is in but we're not moving |
idle_loop | sound loop that plays when we are not moving with a driver present |
interior | reference to our interior datum if set, uses the typepath its set to |
minimap_flags | Minimap flags to use for this vehcile |
minimap_icon_state | minimap iconstate to use for this vehicle |
permitted_mods | list of mods we allow to attach |
permitted_weapons | list of weapons we allow to attach |
primary_weapon | What weapon we have in our primary slot |
ram_damage | damage done by rams |
required_entry_skill | Skill required to enter this vehicle |
secondary_weapon | What weapon we have in our secondary slot |
secondary_weapon_overlay | secondary independently rotating overlay, if we only have a secondary weapon |
strafe | Wether we are strafing |
turret_icon | Icon for the rotating turret icon. also should hold the icons for the weapon icons |
turret_icon_state | Iconstate for the rotating main turret |
turret_overlay | Cool and good turret overlay that allows independently swiveling guns |
underlay | Overlay for larger vehicles that need under parts |
weapons_safety | if true disables stops users from being able to shoot weapons |
Procs | |
enter_locations | returns a list of possible locations that this vehicle may be entered from |
interior_exit | called when a mob tried to leave our interior |
on_mouseclick | handles mouseclicks by a user in the vehicle |
play_interior_sound | playsound_local identical args, use this when a sound should be played for the occupants. |
set_safety | Toggles Weapons Safety |
swivel_turret | Rotates the cannon overlay |
toggle_strafe | Toggles strafemode on or off |
try_easy_load | call to try easy_loading an item into the tank. Checks for all being in the list , interior existing and the user bieng at the enter loc |
update_minimap_icon | Updates the vehicles minimap icon |
Var Details
armored_flags

Tank bitflags
damage_icon_path

Icon file path for the damage overlay
damage_overlay

Damage overlay for when the vehicle gets damaged
drive_inside_loop

sound that plays inside when we drive around
drive_loop

sound loop that plays while we move around
driver_utility_module

Our driver utility module
easy_load_list

List for storing all item typepaths that we may "easy load" into the tank by attacking its entrance This will be turned into a typeCache on initialize
engine_off_interior_sound

sound to play inside the tank after the driver leaves
engine_off_sound

sound to play outside the tank after the driver leaves
gunner_utility_module

Our driver utility module
idle_inside_loop

sound loop that plays inside the tank when driver is in but we're not moving
idle_loop

sound loop that plays when we are not moving with a driver present
interior

reference to our interior datum if set, uses the typepath its set to
minimap_flags

Minimap flags to use for this vehcile
minimap_icon_state

minimap iconstate to use for this vehicle
permitted_mods

list of mods we allow to attach
permitted_weapons

list of weapons we allow to attach
primary_weapon

What weapon we have in our primary slot
ram_damage

damage done by rams
required_entry_skill

Skill required to enter this vehicle
secondary_weapon

What weapon we have in our secondary slot
secondary_weapon_overlay

secondary independently rotating overlay, if we only have a secondary weapon
strafe

Wether we are strafing
turret_icon

Icon for the rotating turret icon. also should hold the icons for the weapon icons
turret_icon_state

Iconstate for the rotating main turret
turret_overlay

Cool and good turret overlay that allows independently swiveling guns
underlay

Overlay for larger vehicles that need under parts
weapons_safety

if true disables stops users from being able to shoot weapons
Proc Details
enter_locations
returns a list of possible locations that this vehicle may be entered from
interior_exit
called when a mob tried to leave our interior
on_mouseclick
handles mouseclicks by a user in the vehicle
play_interior_sound
playsound_local identical args, use this when a sound should be played for the occupants.
set_safety
Toggles Weapons Safety
Handles enabling or disabling the safety function.
swivel_turret
Rotates the cannon overlay
toggle_strafe
Toggles strafemode on or off
try_easy_load
call to try easy_loading an item into the tank. Checks for all being in the list , interior existing and the user bieng at the enter loc
update_minimap_icon
Updates the vehicles minimap icon