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

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>

Post by mark_a_condren » Tue, 23. Nov 10, 17:28

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


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


This command returns the 'Minimum' price for the selected ware.
As all wares have a 'Minimum' and a 'Maximum' price that is preset, the minimum is returned by this command.


Example:

$min.ecell.price = get min price of ware Energy Cells

As Energy Cells have a 'Min' price of 12cr and a 'Max' price of 20cr, $min.ecell.price will be 12cr


Command Location:

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

[TiP][49] 291955

Post by X2-Illuminatus » Thu, 2. Dec 10, 15:46

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


<RetVar> = Der Rückgabewert des Befehls wird in dieser Variable gespeichert.
<Var/Ware> = Die Ware, deren minimalen Preis du ermitteln möchtest.


Dieser Befehl gibt den minimalen Preis der gewählten Ware zurück.
Jede Ware hat einen vordefinierten minimalen und einen maximalen Preis.


Beispiel:

$min.ecell.price = get min price of ware Energiezellen

Da Energiezellen einen 'Min' Preis von 12 Cr und einen 'Max' Preis von 20 Cr haben, wird $min.ecell.price 12 Cr sein.


Zu finden unter:

Locked

Return to “MSCI Reference”