Boats-Harbours-Expeditions: Difference between revisions

From The Colonists
Jump to navigation Jump to search
initial page creation
 
add placeholders for relationships
Line 1: Line 1:
Relationship between [[ModBoats|Boats]], [[ModBuildings|Harbours]], and [[ModExpeditions|Expeditions]]
Relationship between [[ModBoats|Boats]], [[ModBuildings|Harbours]], and [[ModExpeditions|Expeditions]]
=Boats docking at Harbour (placeholder) <br>=
In a harbour-type building add the types of boats allowed to dock: <br>
<pre>
"componentInfos": [
    {
      "$type": "BuildingPortDataInfo, Game",
      "supportedBoatTypeHash": [
        1, // clipper
        2  // lugger
      ]
  }
]
</pre>
(placeholder - notes on "boattype too small", "boattype too large" )<br>
If a boat type is not in the Harbour's supportedBoatTypeHash but _is_ <br>
If a boat type is not in the Harbour's supportedBoatTypeHash but _is not_ <br>
=Expeditions gathered at a Harbour (placeholder) <br>=
In boats add the types of expeditions it can be assigned: <br>
<pre>
{
  "boats": [
    {
      "validExpeditionBuildingHash": [
        63  // building ID for Large Harbour
      ],
    }
  ]
}
</pre>
=Boats assigned to Expeditions (placeholder) <br>=

Revision as of 15:57, 20 December 2023

Relationship between Boats, Harbours, and Expeditions

Boats docking at Harbour (placeholder)

In a harbour-type building add the types of boats allowed to dock:

"componentInfos": [
    {
      "$type": "BuildingPortDataInfo, Game",
      "supportedBoatTypeHash": [
        1, // clipper
        2  // lugger
      ]
   }
]

(placeholder - notes on "boattype too small", "boattype too large" )
If a boat type is not in the Harbour's supportedBoatTypeHash but _is_
If a boat type is not in the Harbour's supportedBoatTypeHash but _is not_

Expeditions gathered at a Harbour (placeholder)

In boats add the types of expeditions it can be assigned:

{
  "boats": [
    {
      "validExpeditionBuildingHash": [
        63  // building ID for Large Harbour
      ],
    }
  ]
}


Boats assigned to Expeditions (placeholder)