<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://backup.witchspacewiki.org/index.php?action=history&amp;feed=atom&amp;title=NewCargoesAPI%2FOXPStations</id>
	<title>NewCargoesAPI/OXPStations - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://backup.witchspacewiki.org/index.php?action=history&amp;feed=atom&amp;title=NewCargoesAPI%2FOXPStations"/>
	<link rel="alternate" type="text/html" href="http://backup.witchspacewiki.org/index.php?title=NewCargoesAPI/OXPStations&amp;action=history"/>
	<updated>2026-04-12T12:01:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>http://backup.witchspacewiki.org/index.php?title=NewCargoesAPI/OXPStations&amp;diff=35450&amp;oldid=prev</id>
		<title>Svengali: added category</title>
		<link rel="alternate" type="text/html" href="http://backup.witchspacewiki.org/index.php?title=NewCargoesAPI/OXPStations&amp;diff=35450&amp;oldid=prev"/>
		<updated>2013-01-11T23:08:44Z</updated>

		<summary type="html">&lt;p&gt;added category&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 23:08, 11 January 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 84:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 84:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Otherwise return false.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Otherwise return false.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:OXPDoc]]&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Svengali</name></author>
		
	</entry>
	<entry>
		<id>http://backup.witchspacewiki.org/index.php?title=NewCargoesAPI/OXPStations&amp;diff=31227&amp;oldid=prev</id>
		<title>Cim: New Cargoes API for OXP stations</title>
		<link rel="alternate" type="text/html" href="http://backup.witchspacewiki.org/index.php?title=NewCargoesAPI/OXPStations&amp;diff=31227&amp;oldid=prev"/>
		<updated>2012-03-31T20:23:15Z</updated>

		<summary type="html">&lt;p&gt;New Cargoes API for OXP stations&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Any world script registered as providing OXP station market&lt;br /&gt;
definitions for New Cargoes through&lt;br /&gt;
[[NewCargoesAPI#registerOXPStation|registerOXPStation]] must contain all of these&lt;br /&gt;
functions.&lt;br /&gt;
&lt;br /&gt;
Look at the Scripts/Stations subfolder of the New Cargoes OXP for examples.&lt;br /&gt;
&lt;br /&gt;
==Cargo availability==&lt;br /&gt;
&lt;br /&gt;
===exportCargoAmount===&lt;br /&gt;
&amp;lt;code&amp;gt;int exportCargoAmount(CargoID good)&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The amount ''relative to the main station'' of goods of that type carried by this station if the good is a system export. Should generally be in the range 0-2.&lt;br /&gt;
&lt;br /&gt;
===exportCargoPrice===&lt;br /&gt;
&amp;lt;code&amp;gt;int exportCargoPrice(CargoID good)&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The price ''relative to the main station'' of goods of that type&lt;br /&gt;
carried by this station if the good is a system export. Should&lt;br /&gt;
generally be in the range 0.8-1.2.&lt;br /&gt;
&lt;br /&gt;
===importCargoPrice===&lt;br /&gt;
&amp;lt;code&amp;gt;int	importCargoPrice(CargoID good)&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The price ''relative to the main station'' of goods of that type&lt;br /&gt;
sold at this station if the good is a system or station import. Should&lt;br /&gt;
generally be in the range 0.8-1.2.&lt;br /&gt;
&lt;br /&gt;
===randomCargoAmount===&lt;br /&gt;
&amp;lt;code&amp;gt;int randomCargoAmount(CargoID good)&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The maximum amount of non-export cargo to be found at this station. 3&lt;br /&gt;
is equivalent to the main station market, and 10 or more should be&lt;br /&gt;
extremely rare.&lt;br /&gt;
&lt;br /&gt;
===randomCargoChance===&lt;br /&gt;
&amp;lt;code&amp;gt;int randomCargoChange(CargoID good)&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The chance ''relative to the main station'' that this good will be&lt;br /&gt;
available in small quantities if it is not a system export. This&lt;br /&gt;
should generally be in the range 0-2; higher numbers may make it very&lt;br /&gt;
easy to exploit the trade prices algorithm for absurd profits.&lt;br /&gt;
&lt;br /&gt;
===randomImportChance===&lt;br /&gt;
&amp;lt;code&amp;gt;int randomImportChance(CargoID good)&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The ''absolute'' chance that this good will be imported by this&lt;br /&gt;
station if it is ''not'' a system import. Should generally be low -&lt;br /&gt;
0.01 or less - though higher numbers up to 1 may be used for goods&lt;br /&gt;
thematically suited to the station.&lt;br /&gt;
&lt;br /&gt;
===systemImportChance===&lt;br /&gt;
&amp;lt;code&amp;gt;int systemImportChance(CargoID good)&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The ''absolute'' chance that this good will be imported by this&lt;br /&gt;
station if it is also a system import. Must be between 0 and 1.&lt;br /&gt;
&lt;br /&gt;
==Legality==&lt;br /&gt;
&lt;br /&gt;
===exportPermitCheck===&lt;br /&gt;
&amp;lt;code&amp;gt;bool exportPermitCheck()&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Return true if the player's hold should be checked and legal penalties&lt;br /&gt;
applied like a main station which the player launches from this&lt;br /&gt;
station. This will also apply to players carrying generic cargo only,&lt;br /&gt;
so use it with caution!&lt;br /&gt;
&lt;br /&gt;
===importPermitCheck===&lt;br /&gt;
&amp;lt;code&amp;gt;bool importPermitCheck()&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Return true if the player's hold should be checked and legal penalties&lt;br /&gt;
applied like a main station which the player docks at this&lt;br /&gt;
station. This technically also applies to players carrying generic&lt;br /&gt;
cargo only, though of course there is usually no penalty for this.&lt;br /&gt;
&lt;br /&gt;
==Rumours==&lt;br /&gt;
&lt;br /&gt;
===stationGossip===&lt;br /&gt;
&amp;lt;code&amp;gt;String? stationGossip&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you wish there to be gossip in the trader bars of this system about&lt;br /&gt;
this station, return it here. Gossip should be at most 80 characters in&lt;br /&gt;
length, and start with the string &amp;quot;* &amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Otherwise return false.&lt;/div&gt;</summary>
		<author><name>Cim</name></author>
		
	</entry>
</feed>