<RetVar> = get min price of ware <Var/Ware> as secondary resource

This forum serves as MSCI Reference at EGOSOFT. It's Read-Only for non MSCI Group members.

Moderators: Scripting / Modding Moderators, MSCI Moderators

Locked
mark_a_condren
Posts: 1468
Joined: Wed, 3. Aug 05, 05:05
x3tc

<RetVar> = get min price of ware <Var/Ware> as secondary resource

Post by mark_a_condren » Wed, 8. Dec 10, 13:49

<RetVar> = get min price of ware <Var/Ware> as secondary resource


<RetVar> = The command return will be stored in this variable.
<Var/Ware> = The ware that you want the minimum price of as a stations secondary resource.


Returns the minimum price for <Var/Ware>. When a ware is a station's secondary resource, it has a different Min and Max price. This command was created to cater for this situation.


Example:

$min.sec.price = get min price of ware Crystals as secondary resource

This will return the Minimum price of Crystals as a stations secondary resource.


Command Location:

User avatar
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 24950
Joined: Sun, 2. Apr 06, 16:38
x4

[TiP][49] 292824

Post by X2-Illuminatus » Thu, 16. Dec 10, 23:46

<RetVar> = get min price of ware <Var/Ware> as secondary resource


<RetVar> = Der Rückgabewert des Befehls wird in dieser Variable gespeichert
<Var/Ware> = Die Ware, deren Mindestpreis als sekundäre Ressource einer Station du ermitteln möchtest.


Gibt den Mindestpreis von <Var/Ware> zurück. Wenn eine Ware eine sekundäre Ressource ist, hat sie unterschiedliche Höchst- und Mindestpreise als als primäre Ressource. Dieser Befehl wurde geschaffen, um auf diesen Umstand reagieren zu können.


Beispiel:

$min.sec.price = get min price of ware Kristalle as secondary resource

Dies gibt den Mindestpreis für Kristalle als sekundäre Ressource zurück.


Zu finden unter:

Locked

Return to “MSCI Reference”