Interface ShipHullSpecAPI

All Superinterfaces:
WithSourceMod

public interface ShipHullSpecAPI extends WithSourceMod
  • Method Details

    • getShieldSpec

    • getDefenseType

      ShieldAPI.ShieldType getDefenseType()
    • getHullId

      String getHullId()
    • getHullName

      String getHullName()
    • getHints

    • getNoCRLossTime

      float getNoCRLossTime()
    • getCRToDeploy

      float getCRToDeploy()
    • getCRLossPerSecond

      float getCRLossPerSecond()
    • getCRLossPerSecond

      float getCRLossPerSecond(MutableShipStatsAPI stats)
      (Equivalent to getCRLossPerSecond(), the parameter is ignored.)
      Parameters:
      stats -
      Returns:
    • getBaseValue

      float getBaseValue()
    • getOrdnancePoints

      int getOrdnancePoints(MutableCharacterStatsAPI stats)
    • getHullSize

      ShipAPI.HullSize getHullSize()
    • getHitpoints

      float getHitpoints()
    • getArmorRating

      float getArmorRating()
    • getFluxCapacity

      float getFluxCapacity()
    • getFluxDissipation

      float getFluxDissipation()
    • getShieldType

      ShieldAPI.ShieldType getShieldType()
    • getAllWeaponSlotsCopy

      List<WeaponSlotAPI> getAllWeaponSlotsCopy()
    • getSpriteName

      String getSpriteName()
    • isCompatibleWithBase

      boolean isCompatibleWithBase()
    • getBaseHullId

      String getBaseHullId()
    • getBaseShieldFluxPerDamageAbsorbed

      float getBaseShieldFluxPerDamageAbsorbed()
    • getHullNameWithDashClass

      String getHullNameWithDashClass()
    • hasHullName

      boolean hasHullName()
    • getBreakProb

      float getBreakProb()
    • getMinPieces

      float getMinPieces()
    • getMaxPieces

      float getMaxPieces()
    • getFighterBays

      int getFighterBays()
    • getMinCrew

      float getMinCrew()
    • getMaxCrew

      float getMaxCrew()
    • getCargo

      float getCargo()
    • getFuel

      float getFuel()
    • getFuelPerLY

      float getFuelPerLY()
    • isDHull

      boolean isDHull()
    • isDefaultDHull

      boolean isDefaultDHull()
    • setDParentHullId

      void setDParentHullId(String dParentHullId)
    • getDParentHullId

      String getDParentHullId()
    • getDParentHull

      ShipHullSpecAPI getDParentHull()
    • getBaseHull

      ShipHullSpecAPI getBaseHull()
    • getBuiltInWings

      List<String> getBuiltInWings()
    • isBuiltInWing

      boolean isBuiltInWing(int index)
    • getDesignation

      String getDesignation()
    • hasDesignation

      boolean hasDesignation()
    • isRestoreToBase

      boolean isRestoreToBase()
    • setRestoreToBase

      void setRestoreToBase(boolean restoreToBase)
    • getModuleAnchor

      org.lwjgl.util.vector.Vector2f getModuleAnchor()
    • setModuleAnchor

      void setModuleAnchor(org.lwjgl.util.vector.Vector2f moduleAnchor)
    • setCompatibleWithBase

      void setCompatibleWithBase(boolean compatibleWithBase)
    • getTags

      Set<String> getTags()
    • addTag

      void addTag(String tag)
    • hasTag

      boolean hasTag(String tag)
    • getRarity

      float getRarity()
    • getNameWithDesignationWithDashClass

      String getNameWithDesignationWithDashClass()
    • getDescriptionId

      String getDescriptionId()
    • isBaseHull

      boolean isBaseHull()
    • setManufacturer

      void setManufacturer(String manufacturer)
    • getManufacturer

      String getManufacturer()
    • getFleetPoints

      int getFleetPoints()
    • getBuiltInMods

      List<String> getBuiltInMods()
    • getWeaponSlotAPI

      WeaponSlotAPI getWeaponSlotAPI(String slotId)
    • getDescriptionPrefix

      String getDescriptionPrefix()
    • isBuiltInMod

      boolean isBuiltInMod(String modId)
    • addBuiltInMod

      void addBuiltInMod(String modId)
    • isCivilianNonCarrier

      boolean isCivilianNonCarrier()
    • setHullName

      void setHullName(String hullName)
    • setDesignation

      void setDesignation(String designation)
    • isPhase

      boolean isPhase()
    • getShipFilePath

      String getShipFilePath()
    • getTravelDriveId

      String getTravelDriveId()
    • setTravelDriveId

      void setTravelDriveId(String travelDriveId)
    • getEngineSpec

    • getSuppliesToRecover

      float getSuppliesToRecover()
    • setSuppliesToRecover

      void setSuppliesToRecover(float suppliesToRecover)
    • getSuppliesPerMonth

      float getSuppliesPerMonth()
    • setSuppliesPerMonth

      void setSuppliesPerMonth(float suppliesPerMonth)
    • setRepairPercentPerDay

      void setRepairPercentPerDay(float repairPercentPerDay)
    • setCRToDeploy

      void setCRToDeploy(float crToDeploy)
    • getNoCRLossSeconds

      float getNoCRLossSeconds()
    • setNoCRLossSeconds

      void setNoCRLossSeconds(float noCRLossSeconds)
    • setCRLossPerSecond

      void setCRLossPerSecond(float crLossPerSecond)
    • getBuiltInWeapons

      HashMap<String,String> getBuiltInWeapons()
    • isBuiltIn

      boolean isBuiltIn(String slotId)
    • addBuiltInWeapon

      void addBuiltInWeapon(String slotId, String weaponId)
    • getShipDefenseId

      String getShipDefenseId()
    • setShipDefenseId

      void setShipDefenseId(String shipDefenseId)
    • getShipSystemId

      String getShipSystemId()
    • setShipSystemId

      void setShipSystemId(String shipSystemId)
    • setDescriptionPrefix

      void setDescriptionPrefix(String descriptionPrefix)
    • getWeaponSlot

      WeaponSlotAPI getWeaponSlot(String slotId)
    • setFleetPoints

      void setFleetPoints(int fleetPoints)
    • setDescriptionId

      void setDescriptionId(String descriptionId)
    • getHyperspaceJitterColor

      Color getHyperspaceJitterColor()
    • isDHullOldMethod

      boolean isDHullOldMethod()
    • isCarrier

      boolean isCarrier()
    • getLogisticsNAReason

      String getLogisticsNAReason()
    • setLogisticsNAReason

      void setLogisticsNAReason(String logisticsNAReason)
    • getCollisionRadius

      float getCollisionRadius()
    • getCodexVariantId

      String getCodexVariantId()
    • setCodexVariantId

      void setCodexVariantId(String codexVariantId)
    • getRestoredToHullId

      String getRestoredToHullId()