FANDOM


Black box is the top-level object which represents any of the components that make up a ship (basically, any of the components from Fire, Fusion, and Steel).

Each BlackBox may be PoweredUp or PoweredDown. If PoweredUp, then subtract the BlackBox's PowerUsage from the Ship's PowerAvailable. If PoweredDown, then the BlackBox cannot be used this turn. Note that some BlackBoxes may have more than one level of PowerUsage (different Gs for a SublightDrive, overpowering a laser Socket, reduced power production for a damaged PowerPlant, etc.).

Child Classes Edit

Attributes Edit

  • Exact_Name, Generic_Name, Category -- Each of these text strings returns the corresponding text value for the specific black box in question.

    Here are some example values:

Exact Generic Category
Port airlock Airlock Quarters
Stateroom #3 Stateroom Hold
Dorsal turret socket Laser weapon Weapons

  • Where_Installed -- This is a link back to the specific ship (or bunker) in which this specific black box is installed.
  • Power_State -- This integer value tracks the current status of the specific black box in question: "0" for "powered down"; or "1" for "powered up".
  • Tech_Level -- This integer value is the tech level of the world which built this black box.
  • Power_Used -- This floating-point value is how much power is consumed by this specific black box, while it is powered up.
Note that some black boxes may have more than one level of power usage (different Gs for a sublight drive, overpowering a laser socket, reduced power production for a damaged power plant, etc.).
  • Internal_Dmg and/or Surface_Dmg -- Every black box has one (or both) of these damage records, to keep track of the damage suffered by the internal or surface portions (respectively) of the component in question. Some black boxes (such as computers or most power plants) will be internal only, some (such as airlocks or cargo hatches) will be external only, while others (such as sensors and communicators) will be both.

Optional Attributes Edit

In the event that Yeoman is expanded to include the process of ship design, the following attributes will also need to be included.

  • Volume -- This floating-point value is the volume (in cubic meters) of the ship's displacement taken up by the component in question.
  • Mass -- This floating-point value is the mass (in kilograms) of the component in question.
  • Price -- This floating-point value is the price (in millions of credits) of the component in question.
  • Surface -- This floating-point value is the surface area (in square meters) of the ship's hull taken up by the component in question.

Functions Edit

  • Power_Up, Power_Down -- These two functions allow for powering up/down (respectively) the specific black box in question. Note that, depending on whether or not this black box has been damaged, the Power_Up function might not be permitted.
.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.