naev 0.12.6
ShipStats Struct Reference

Represents ship statistics, properties ship can use. More...

#include <shipstats.h>

Data Fields

double speed
double turn
double accel
double speed_mod
double turn_mod
double accel_mod
double energy
double energy_regen
double energy_mod
double energy_regen_mod
double energy_regen_malus
double shield
double shield_regen
double shield_mod
double shield_regen_mod
double shield_regen_malus
double armour
double armour_regen
double armour_mod
double armour_regen_mod
double armour_regen_malus
double damage
double disable
double cargo_mod
double fuel_mod
double fuel_usage_mod
double cpu_mod
double cpu_max
double absorb
double cooldown_mod
double shielddown_mod
double jump_delay
double land_delay
double cargo_inertia
double ew_hide
double ew_signature
double ew_stealth
double ew_detect
double ew_track
double ew_jump_detect
double ew_stealth_timer
double ew_scanned_time
double heat_dissipation
double stress_dissipation
double crew_mod
double mass_mod
double weapon_range
double weapon_damage
double weapon_firerate
double weapon_energy
double launch_rate
double launch_range
double launch_damage
double launch_energy
double ammo_capacity
double launch_lockon
double launch_calibration
double launch_reload
double launch_accel
double launch_speed
double launch_turn
double fbay_damage
double fbay_health
double fbay_movement
double fbay_capacity
double fbay_rate
double fbay_reload
double fwd_heat
double fwd_damage
double fwd_firerate
double fwd_energy
double fwd_dam_as_dis
double fwd_range
double tur_heat
double tur_damage
double tur_tracking
double tur_firerate
double tur_energy
double tur_dam_as_dis
double tur_range
double jam_chance
double engine_limit_rel
double engine_limit
double nebu_absorb
double nebu_visibility
int misc_instant_jump
int misc_reverse_thrust
double asteroid_scan
double mining_bonus
int misc_hidden_jump_detect
int fuel
double fuel_regen
int cargo
int crew
double loot_mod
double time_mod
double time_speedup
double cooldown_time
double jump_distance
double jump_warmup

Detailed Description

Represents ship statistics, properties ship can use.

Doubles: These are normalized and centered around 1 so they are in the [0:2] range, with 1. being default. This value then modulates the stat's base value. Example: 0.7 would lower by 30% the base value. 1.2 would increase by 20% the base value.

Absolute and Integers: Absolute values in whatever units it's meant to use.

Absolute Percentage: Absolute percentage values (get added together).

Booleans: 1 or 0 values wher 1 indicates property is set.

Definition at line 229 of file shipstats.h.

Field Documentation

◆ absorb

double ShipStats::absorb

Flat damage absorption.

Definition at line 263 of file shipstats.h.

◆ accel

double ShipStats::accel

Accel modifier.

Definition at line 233 of file shipstats.h.

◆ accel_mod

double ShipStats::accel_mod

Accel multiplier.

Definition at line 236 of file shipstats.h.

◆ ammo_capacity

double ShipStats::ammo_capacity

Capacity of launchers.

Definition at line 301 of file shipstats.h.

◆ armour

double ShipStats::armour

Armour modifier.

Definition at line 249 of file shipstats.h.

◆ armour_mod

double ShipStats::armour_mod

Armour multiplier.

Definition at line 251 of file shipstats.h.

◆ armour_regen

double ShipStats::armour_regen

Armour regeneration modifier.

Definition at line 250 of file shipstats.h.

◆ armour_regen_malus

double ShipStats::armour_regen_malus

Armour regeneration (flat).

Definition at line 253 of file shipstats.h.

◆ armour_regen_mod

double ShipStats::armour_regen_mod

Armour regeneration multiplier.

Definition at line 252 of file shipstats.h.

◆ asteroid_scan

double ShipStats::asteroid_scan

Distance at which asteroids can be scanned.

Definition at line 348 of file shipstats.h.

◆ cargo

int ShipStats::cargo

Maximum cargo modifier.

Definition at line 353 of file shipstats.h.

◆ cargo_inertia

double ShipStats::cargo_inertia

Lowers the effect of cargo mass.

Definition at line 271 of file shipstats.h.

◆ cargo_mod

double ShipStats::cargo_mod

Cargo space multiplier.

Definition at line 258 of file shipstats.h.

◆ cooldown_mod

double ShipStats::cooldown_mod

Ability cooldown mod.

Definition at line 264 of file shipstats.h.

◆ cooldown_time

double ShipStats::cooldown_time

Modifies cooldown time.

Definition at line 358 of file shipstats.h.

◆ cpu_max

double ShipStats::cpu_max

CPU modifier.

Definition at line 262 of file shipstats.h.

◆ cpu_mod

double ShipStats::cpu_mod

CPU multiplier.

Definition at line 261 of file shipstats.h.

◆ crew

int ShipStats::crew

Crew modifier.

Definition at line 354 of file shipstats.h.

◆ crew_mod

double ShipStats::crew_mod

Relative crew modification.

Definition at line 287 of file shipstats.h.

◆ damage

double ShipStats::damage

Damage over time.

Definition at line 254 of file shipstats.h.

◆ disable

double ShipStats::disable

Disable over time.

Definition at line 255 of file shipstats.h.

◆ energy

double ShipStats::energy

Energy modifier.

Definition at line 239 of file shipstats.h.

◆ energy_mod

double ShipStats::energy_mod

Energy multiplier.

Definition at line 241 of file shipstats.h.

◆ energy_regen

double ShipStats::energy_regen

Energy regeneration modifier.

Definition at line 240 of file shipstats.h.

◆ energy_regen_malus

double ShipStats::energy_regen_malus

Energy usage (flat).

Definition at line 243 of file shipstats.h.

◆ energy_regen_mod

double ShipStats::energy_regen_mod

Energy regeneration multiplier.

Definition at line 242 of file shipstats.h.

◆ engine_limit

double ShipStats::engine_limit

Engine limit.

Definition at line 340 of file shipstats.h.

◆ engine_limit_rel

double ShipStats::engine_limit_rel

Engine limit modifier.

Definition at line 339 of file shipstats.h.

◆ ew_detect

double ShipStats::ew_detect

Electronic warfare detection modifier.

Definition at line 277 of file shipstats.h.

◆ ew_hide

double ShipStats::ew_hide

Electronic warfare hide modifier.

Definition at line 274 of file shipstats.h.

◆ ew_jump_detect

double ShipStats::ew_jump_detect

Electronic warfare jump point detection modifier.

Definition at line 280 of file shipstats.h.

◆ ew_scanned_time

double ShipStats::ew_scanned_time

Time to scan.

Definition at line 282 of file shipstats.h.

◆ ew_signature

double ShipStats::ew_signature

Electronic warfare signature modifier.

Definition at line 275 of file shipstats.h.

◆ ew_stealth

double ShipStats::ew_stealth

Electronic warfare stealth modifier.

Definition at line 276 of file shipstats.h.

◆ ew_stealth_timer

double ShipStats::ew_stealth_timer

Stealth timer decrease speed.

Definition at line 281 of file shipstats.h.

◆ ew_track

double ShipStats::ew_track

Electronic warfare tracking modifier.

Definition at line 278 of file shipstats.h.

◆ fbay_capacity

double ShipStats::fbay_capacity

Capacity of fighter bays.

Definition at line 314 of file shipstats.h.

◆ fbay_damage

double ShipStats::fbay_damage

Fighter bay fighter damage (all weapons).

Definition at line 310 of file shipstats.h.

◆ fbay_health

double ShipStats::fbay_health

Fighter bay fighter health (armour and shield).

Definition at line 311 of file shipstats.h.

◆ fbay_movement

double ShipStats::fbay_movement

Fighter bay fighter movement (thrust, turn, and speed).

Definition at line 312 of file shipstats.h.

◆ fbay_rate

double ShipStats::fbay_rate

Launch rate of fighter bays.

Definition at line 315 of file shipstats.h.

◆ fbay_reload

double ShipStats::fbay_reload

Reload rate of fighters.

Definition at line 316 of file shipstats.h.

◆ fuel

int ShipStats::fuel

Maximum fuel modifier.

Definition at line 351 of file shipstats.h.

◆ fuel_mod

double ShipStats::fuel_mod

Fuel capacity multiplier.

Definition at line 259 of file shipstats.h.

◆ fuel_regen

double ShipStats::fuel_regen

Absolute fuel regeneration.

Definition at line 352 of file shipstats.h.

◆ fuel_usage_mod

double ShipStats::fuel_usage_mod

Fuel usage modifier.

Definition at line 260 of file shipstats.h.

◆ fwd_dam_as_dis

double ShipStats::fwd_dam_as_dis

Damage as disable for forward mounts.

Definition at line 323 of file shipstats.h.

◆ fwd_damage

double ShipStats::fwd_damage

Damage of forward mounts.

Definition at line 320 of file shipstats.h.

◆ fwd_energy

double ShipStats::fwd_energy

Consumption rate of forward mounts.

Definition at line 322 of file shipstats.h.

◆ fwd_firerate

double ShipStats::fwd_firerate

Rate of fire of forward mounts.

Definition at line 321 of file shipstats.h.

◆ fwd_heat

double ShipStats::fwd_heat

Heat of forward mounts.

Definition at line 319 of file shipstats.h.

◆ fwd_range

double ShipStats::fwd_range

Range of forward mounts.

Definition at line 324 of file shipstats.h.

◆ heat_dissipation

double ShipStats::heat_dissipation

Global ship dissipation.

Definition at line 285 of file shipstats.h.

◆ jam_chance

double ShipStats::jam_chance

Jamming chance.

Definition at line 336 of file shipstats.h.

◆ jump_delay

double ShipStats::jump_delay

Modulates the time that passes during a hyperspace jump.

Definition at line 268 of file shipstats.h.

◆ jump_distance

double ShipStats::jump_distance

Modifies how far the pilot can jump from the jump point.

Definition at line 359 of file shipstats.h.

◆ jump_warmup

double ShipStats::jump_warmup

Modifies the time that is necessary to jump.

Definition at line 361 of file shipstats.h.

◆ land_delay

double ShipStats::land_delay

Modulates the time that passes during landing.

Definition at line 270 of file shipstats.h.

◆ launch_accel

double ShipStats::launch_accel

< Missile accel.

Definition at line 305 of file shipstats.h.

◆ launch_calibration

double ShipStats::launch_calibration

Calibration speed of launchers.

Definition at line 303 of file shipstats.h.

◆ launch_damage

double ShipStats::launch_damage

Damage of launchers.

Definition at line 299 of file shipstats.h.

◆ launch_energy

double ShipStats::launch_energy

Energy usage of launchers.

Definition at line 300 of file shipstats.h.

◆ launch_lockon

double ShipStats::launch_lockon

Lock on speed of launchers.

Definition at line 302 of file shipstats.h.

◆ launch_range

double ShipStats::launch_range

Range of launchers.

Definition at line 298 of file shipstats.h.

◆ launch_rate

double ShipStats::launch_rate

Fire rate of launchers.

Definition at line 297 of file shipstats.h.

◆ launch_reload

double ShipStats::launch_reload

Reload rate of launchers.

Definition at line 304 of file shipstats.h.

◆ launch_speed

double ShipStats::launch_speed

Missile speed.

Definition at line 306 of file shipstats.h.

◆ launch_turn

double ShipStats::launch_turn

Missile turn.

Definition at line 307 of file shipstats.h.

◆ loot_mod

double ShipStats::loot_mod

Boarding loot reward bonus.

Definition at line 355 of file shipstats.h.

◆ mass_mod

double ShipStats::mass_mod

Relative mass modification.

Definition at line 288 of file shipstats.h.

◆ mining_bonus

double ShipStats::mining_bonus

Bonus when mining asteroids.

Definition at line 349 of file shipstats.h.

◆ misc_hidden_jump_detect

int ShipStats::misc_hidden_jump_detect

Degree of hidden jump detection.

Definition at line 350 of file shipstats.h.

◆ misc_instant_jump

int ShipStats::misc_instant_jump

Do not require brake or chargeup to jump.

Definition at line 345 of file shipstats.h.

◆ misc_reverse_thrust

int ShipStats::misc_reverse_thrust

Slows down the ship instead of turning it around.

Definition at line 346 of file shipstats.h.

◆ nebu_absorb

double ShipStats::nebu_absorb

Shield nebula resistance.

Definition at line 343 of file shipstats.h.

◆ nebu_visibility

double ShipStats::nebu_visibility

Nebula visibility.

Definition at line 344 of file shipstats.h.

◆ shield

double ShipStats::shield

Shield modifier.

Definition at line 244 of file shipstats.h.

◆ shield_mod

double ShipStats::shield_mod

Shield multiplier.

Definition at line 246 of file shipstats.h.

◆ shield_regen

double ShipStats::shield_regen

Shield regeneration modifier.

Definition at line 245 of file shipstats.h.

◆ shield_regen_malus

double ShipStats::shield_regen_malus

Shield usage (flat).

Definition at line 248 of file shipstats.h.

◆ shield_regen_mod

double ShipStats::shield_regen_mod

Shield regeneration multiplier.

Definition at line 247 of file shipstats.h.

◆ shielddown_mod

double ShipStats::shielddown_mod

Time shields are down.

Definition at line 265 of file shipstats.h.

◆ speed

double ShipStats::speed

Speed modifier.

Definition at line 231 of file shipstats.h.

◆ speed_mod

double ShipStats::speed_mod

Speed multiplier.

Definition at line 234 of file shipstats.h.

◆ stress_dissipation

double ShipStats::stress_dissipation

Global stress dissipation.

Definition at line 286 of file shipstats.h.

◆ time_mod

double ShipStats::time_mod

Time dilation modifier.

Definition at line 356 of file shipstats.h.

◆ time_speedup

double ShipStats::time_speedup

Makes the pilot operate at higher speeds.

Definition at line 357 of file shipstats.h.

◆ tur_dam_as_dis

double ShipStats::tur_dam_as_dis

Damage as disable for turrets.

Definition at line 332 of file shipstats.h.

◆ tur_damage

double ShipStats::tur_damage

Damage of turrets.

Definition at line 328 of file shipstats.h.

◆ tur_energy

double ShipStats::tur_energy

Consumption rate of turrets.

Definition at line 331 of file shipstats.h.

◆ tur_firerate

double ShipStats::tur_firerate

Rate of fire of turrets.

Definition at line 330 of file shipstats.h.

◆ tur_heat

double ShipStats::tur_heat

Heat of turrets.

Definition at line 327 of file shipstats.h.

◆ tur_range

double ShipStats::tur_range

Range of forward mounts.

Definition at line 333 of file shipstats.h.

◆ tur_tracking

double ShipStats::tur_tracking

Tracking of turrets.

Definition at line 329 of file shipstats.h.

◆ turn

double ShipStats::turn

Turn modifier.

Definition at line 232 of file shipstats.h.

◆ turn_mod

double ShipStats::turn_mod

Turn multiplier.

Definition at line 235 of file shipstats.h.

◆ weapon_damage

double ShipStats::weapon_damage

Weapon damage.

Definition at line 292 of file shipstats.h.

◆ weapon_energy

double ShipStats::weapon_energy

Weapon energy usage.

Definition at line 294 of file shipstats.h.

◆ weapon_firerate

double ShipStats::weapon_firerate

Weapon firerate.

Definition at line 293 of file shipstats.h.

◆ weapon_range

double ShipStats::weapon_range

Weapon range.

Definition at line 291 of file shipstats.h.


The documentation for this struct was generated from the following file: