isAvailableAtMarket

open fun isAvailableAtMarket(market: MarketAPI, market_id: List<String>, marketFaction_any: List<String>, marketFaction_alliedWith: Boolean, marketFaction_none: List<String>, marketFaction_enemyWith: Boolean, market_minSize: Int): Boolean

Return

Parameters

market

checked market for triggers

market_id

list of preferred market IDs, bypass all other checks

marketFaction_any

list of suitable faction IDs, any will do

marketFaction_alliedWith

market is suitable if least FAVORABLE with ANY of the required factions

marketFaction_none

list of unsuitable faction IDs

marketFaction_enemyWith

market is unsuitable if it is not HOSTILE with EVERY blacklisted factions

market_minSize

minimal market size