Damage Record is the top-level object used for tracking damage suffered by the various parts of the ships involved in the conflicts.

Attributes Edit

  • Max_Hits -- This integer value is the maximum damage that can be absorbed by the black box in question.
  • Current_Dmg -- This integer value tracks how much damage the black box in question currently has on it. Once this value reaches (or exceeds) the Max_Hits value, the black box in question has been completely destroyed.

Functions Edit

  • Soak_Dmg -- This function adds damage (i.e.: raises the Current_Dmg value).
  • Repair -- This function repairs damage (i.e.: lowers the Current_Dmg value).