Difference between revisions of "Cargo type"

From Elite Wiki
(Correction. Other listed cargo never has worked)
(Added a little more)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
A short overview about the values for [[Shipdata.plist#cargo_type|Cargo]] specified in shipdata.plist.
 +
 
* CARGO_NOT_CARGO entity cannot be scooped.
 
* CARGO_NOT_CARGO entity cannot be scooped.
* CARGO_SCRIPTED_CARGO script_actions of cargo triggered on ship that scoops this cargo.
+
* CARGO_SCRIPTED_ITEM script_actions of cargo triggered on ship that scoops this cargo.
 
* CARGO_RANDOM scoopable, random commodity
 
* CARGO_RANDOM scoopable, random commodity
 
* CARGO_SLAVES
 
* CARGO_SLAVES
Line 6: Line 8:
 
* CARGO_MINERALS
 
* CARGO_MINERALS
 
* CARGO_THARGOID
 
* CARGO_THARGOID
* CARGO_CARRIED
+
* CARGO_CARRIED - this might need details of a specific commodity if such is desired (“cargo carried” = “platinum” … there are examples inside Montana05’s Resources Pack).
  
  
[Oolite:shipdata]
+
[[Category:Oolite_scripting]]

Latest revision as of 10:00, 1 January 2025

A short overview about the values for Cargo specified in shipdata.plist.

  • CARGO_NOT_CARGO entity cannot be scooped.
  • CARGO_SCRIPTED_ITEM script_actions of cargo triggered on ship that scoops this cargo.
  • CARGO_RANDOM scoopable, random commodity
  • CARGO_SLAVES
  • CARGO_ALLOY
  • CARGO_MINERALS
  • CARGO_THARGOID
  • CARGO_CARRIED - this might need details of a specific commodity if such is desired (“cargo carried” = “platinum” … there are examples inside Montana05’s Resources Pack).