Civilization 13 - Modules - Types — Proc Details - Search

vehicle_walls

///////////////////// VEHICLE WALL/ARMOR SYSTEM //////////////////////// Manages vehicle walls and armor panels with proper encapsulation. Replaces the old list-based system with proper datum objects. Manages all 4 sides of vehicle armor

Procs

can_enterCheck if something can enter vehicle from direction
can_enter_relativeCheck if entry is possible from a world direction given vehicle orientation
can_exitCheck if player can exit vehicle in given direction
can_exit_relativeCheck if exit is possible to a world direction given vehicle orientation
damage_wallApply damage to wall in direction
get_all_wallsGet all walls for iteration
get_average_healthGet average health percentage
get_relative_dirConvert world direction to relative direction based on axis orientation
get_total_armorGet total armor rating across all sides
get_wallGet wall in specific direction
get_wall_relativeGet wall based on world entry direction and vehicle orientation
has_broken_wallsCheck if any walls are broken
set_wallSet wall in specific direction

Proc Details

can_enter

Check if something can enter vehicle from direction

can_enter_relative

Check if entry is possible from a world direction given vehicle orientation

can_exit

Check if player can exit vehicle in given direction

can_exit_relative

Check if exit is possible to a world direction given vehicle orientation

damage_wall

Apply damage to wall in direction

get_all_walls

Get all walls for iteration

get_average_health

Get average health percentage

get_relative_dir

Convert world direction to relative direction based on axis orientation

get_total_armor

Get total armor rating across all sides

get_wall

Get wall in specific direction

get_wall_relative

Get wall based on world entry direction and vehicle orientation

has_broken_walls

Check if any walls are broken

set_wall

Set wall in specific direction