Interface MarketConditionAPI


public interface MarketConditionAPI
  • Method Details

    • getId

      String getId()
      Id of the condition spec, i.e. "ore_sparse".
      Returns:
    • getName

      String getName()
    • getPlugin

    • getIdForPluginModifications

      String getIdForPluginModifications()
      Globally unique id for this specific condition, i.e. "ore_sparse_b44c3".
      Returns:
    • isSurveyed

      boolean isSurveyed()
    • setSurveyed

      void setSurveyed(boolean wasSurveyed)
    • requiresSurveying

      boolean requiresSurveying()
    • getGenSpec

      ConditionGenDataSpec getGenSpec()
    • isPlanetary

      boolean isPlanetary()
      Calls MarketConditionPlugin.isPlanetary(). "Planetary" conditions show up on the right side of the conditions widget. "Market" conditions show up in a group to the left of the planetary conditions.
      Returns:
    • getSpec