<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://manicpop.org/gewiki/index.php?action=history&amp;feed=atom&amp;title=Price_command</id>
	<title>Price command - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://manicpop.org/gewiki/index.php?action=history&amp;feed=atom&amp;title=Price_command"/>
	<link rel="alternate" type="text/html" href="https://manicpop.org/gewiki/index.php?title=Price_command&amp;action=history"/>
	<updated>2026-10-20T13:48:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://manicpop.org/gewiki/index.php?title=Price_command&amp;diff=1963&amp;oldid=prev</id>
		<title>CodexBot: Link corresponding classic in-game help section</title>
		<link rel="alternate" type="text/html" href="https://manicpop.org/gewiki/index.php?title=Price_command&amp;diff=1963&amp;oldid=prev"/>
		<updated>2026-10-13T04:54:41Z</updated>

		<summary type="html">&lt;p&gt;Link corresponding classic in-game help section&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The &amp;#039;&amp;#039;&amp;#039;PRICE&amp;#039;&amp;#039;&amp;#039; command quotes the cost of a specified quantity of an item at the planet currently being orbited.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
PRICE amount item&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
PRICE 10 MISSILES&lt;br /&gt;
PRICE 500 FOOD&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A quote does not move cargo or cash. Use [[Buy command|BUY]] to complete the purchase.&lt;br /&gt;
&lt;br /&gt;
== Pricing ==&lt;br /&gt;
&lt;br /&gt;
At another player&amp;#039;s planet, the item must be offered for sale and enough stock must exist above the owner&amp;#039;s configured reserve. The quote uses the planet&amp;#039;s configured per-unit selling price.&lt;br /&gt;
&lt;br /&gt;
At the player&amp;#039;s own planet, the item does not have to be enabled for public sale. The full planetary stock is available to its owner, and the quote uses the sysop-configured base price rather than the visitor price set in planetary administration.&lt;br /&gt;
&lt;br /&gt;
The planet must be settled. On the normal pricing path, the shared routine also checks available stock and the player&amp;#039;s cash. If the complete quantity is unavailable or unaffordable, the command reports that condition instead of displaying an ordinary quote. ge-next&amp;#039;s over-capacity quote described below is the exception: it calculates the requested price and warns about cargo space without first requiring that complete quantity to be available or affordable.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;PRICE&amp;lt;/code&amp;gt; does not accept a planetary password argument and does not perform the password prompt used by &amp;lt;code&amp;gt;BUY&amp;lt;/code&amp;gt;. It reveals the offered price without carrying out the protected transaction; the password or team access is still required when the player actually buys the goods.&lt;br /&gt;
&lt;br /&gt;
== Classic own-planet display bug ==&lt;br /&gt;
&lt;br /&gt;
Classic GE calculates the &amp;#039;&amp;#039;&amp;#039;total&amp;#039;&amp;#039;&amp;#039; cost of goods from the player&amp;#039;s own planet using the correct base price. Its &amp;lt;code&amp;gt;PRICE&amp;lt;/code&amp;gt; output nevertheless prints the planet&amp;#039;s visitor price in the &amp;#039;&amp;#039;&amp;#039;each&amp;#039;&amp;#039;&amp;#039; field.&lt;br /&gt;
&lt;br /&gt;
For example, suppose missiles have a base price of 20 credits and the planet&amp;#039;s visitor price is set to 50. The owner enters:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
PRICE 10 MISSILES&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Classic calculates the total as 200 credits but can describe the quote as 10 missiles at 50 each for a total of 200. The arithmetic used for the total is correct; the displayed unit price is not. The equivalent &amp;lt;code&amp;gt;BUY&amp;lt;/code&amp;gt; completion message already selects the base price correctly for the owner.&lt;br /&gt;
&lt;br /&gt;
ge-next 0.1 corrected the &amp;lt;code&amp;gt;PRICE&amp;lt;/code&amp;gt; output to select the same unit-price source used by the calculation. In the example above, ge-next reports 20 each and 200 total. Quotes made by visitors continue to show the planet&amp;#039;s configured visitor price.&lt;br /&gt;
&lt;br /&gt;
ge-next also permits a price quote even when the requested cargo would not fit aboard the ship. It displays the price and separately warns that the ship lacks room. Classic stops at the cargo-capacity failure and does not show the quote.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[MBMGEHLP.MSG#HELP_PRICE|Classic HELP PRICE]]&lt;br /&gt;
* [[Buy command]]&lt;br /&gt;
* [[Sell command]]&lt;br /&gt;
* [[Planet administration]]&lt;br /&gt;
* [[Items]]&lt;br /&gt;
* [[Classic bug: Planet-owner PRICE display]]&lt;br /&gt;
&lt;br /&gt;
{{GE navigation}}&lt;br /&gt;
[[Category:Commands]]&lt;br /&gt;
[[Category:Economy]]&lt;/div&gt;</summary>
		<author><name>CodexBot</name></author>
	</entry>
</feed>