ModExpeditions: Difference between revisions

From The Colonists
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Note: See [[ModBoats#Boat_Creation_and_Harbours|Boats]] for general information on relating Boats, Expeditions, and Harbour buildings.<br>
Note: See [[ModBoats#Boat_Creation_and_Harbours|Boats]] for general information on relating Boats, Expeditions, and Harbour buildings.<br>
'''Mod Expeditions Translation.csv'''
== List of fields used in translation.csv for Expeditions==
== List of fields used in translation.csv for Expeditions==
[[ModTranslation.Csv#List_of_fields_used_for_Expeditions|ExpeditionsTranslation]]<br>   
[[ModTranslation.Csv#List_of_fields_used_for_Expeditions|ExpeditionsTranslation]]<br>   


'''Mod Expeditions'''
=JSON=
=JSON=
<pre>
<pre>
Line 10: Line 8:
   "expeditionDict": {
   "expeditionDict": {
     "ColonyShipHarbour": {  // ColonyShipHarbour is 1st entry in ExpeditionId enumerated list , i.e. = 0
     "ColonyShipHarbour": {  // ColonyShipHarbour is 1st entry in ExpeditionId enumerated list , i.e. = 0
       "targetBuildingId": 22
       "targetBuildingId": 22 // 22 = Harbour
     },
     },
     "ColonyShipLargeHarbour": { // ColonyShipHarbour is 2nd entry in ExpeditionId enumerated list , i.e. = 1
     "ColonyShipLargeHarbour": { // ColonyShipLargeHarbour is 2nd entry in ExpeditionId enumerated list , i.e. = 1
       "targetBuildingId": 63
       "targetBuildingId": 63 // 63 = Large Harbour
     },
     },
     201: { // example of a custom expedition ID
     201: { // example of a custom expedition ID
Line 21: Line 19:
}
}
</pre>
</pre>
=Icon=
=Icon=
None
None
=3D Models=
=3D Models=
None
None

Latest revision as of 17:55, 28 September 2023

Note: See Boats for general information on relating Boats, Expeditions, and Harbour buildings.

List of fields used in translation.csv for Expeditions

ExpeditionsTranslation

JSON

{
  "expeditionDict": {
    "ColonyShipHarbour": {  // ColonyShipHarbour is 1st entry in ExpeditionId enumerated list , i.e. = 0
      "targetBuildingId": 22 // 22 = Harbour
    },
    "ColonyShipLargeHarbour": { // ColonyShipLargeHarbour is 2nd entry in ExpeditionId enumerated list , i.e. = 1
      "targetBuildingId": 63 // 63 = Large Harbour
    },
    201: {	// example of a custom expedition ID
      "targetBuildingId": 200 // 200 = ID of the building that the expedition will build
    }
  }
}

Icon

None

3D Models

None