Interface SettlementMap


public interface SettlementMap
Pure policies for a location map and paid arrivals; the host owns UI and saved orders.
  • Method Details

    • supports

      boolean supports(SettlementTrading.World world)
      Selects worlds that expose this map.
      Parameters:
      world - detached settlement context
      Returns:
      whether this policy applies; the last applicable registration wins
    • locations

      Supplies settlement-bearing locations; the host shows founded current towns and completed settlements.
      Parameters:
      world - current campaign context
      Returns:
      immutable authored locations, using native campaign stage coordinates
    • factions

      Supplies independent faction outposts, alongside campaign cities. Factions use their own namespaced identity and coordinates, never a fake campaign stage. The host exposes their finite trade stock even without a separate trading mod.
      Parameters:
      world - current world and campaign context
      Returns:
      immutable faction entries; at most 32 for the active map policy
    • travelDays

      int travelDays(String biome)
      Determines an ordered unit's journey from its source location.
      Parameters:
      biome - native uppercase biome identifier
      Returns:
      travel days, bounded by the host to 1..48