<?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=Buy_command</id>
	<title>Buy 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=Buy_command"/>
	<link rel="alternate" type="text/html" href="https://manicpop.org/gewiki/index.php?title=Buy_command&amp;action=history"/>
	<updated>2026-10-20T17:13:45Z</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=Buy_command&amp;diff=1959&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=Buy_command&amp;diff=1959&amp;oldid=prev"/>
		<updated>2026-10-13T04:54:33Z</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;BUY&amp;#039;&amp;#039;&amp;#039; command purchases items from the planet a ship is orbiting.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
BUY amount item [password]&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;amount&amp;lt;/code&amp;gt; must be a positive number. ge-next 0.1 added the two quantity keywords:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;ALL&amp;lt;/code&amp;gt; requests all of the selected item currently available for sale.&lt;br /&gt;
* &amp;lt;code&amp;gt;MAX&amp;lt;/code&amp;gt; requests the amount that would fill the ship&amp;#039;s remaining cargo capacity with that item.&lt;br /&gt;
&lt;br /&gt;
These are requested quantities, not partial-purchase instructions. An &amp;lt;code&amp;gt;ALL&amp;lt;/code&amp;gt; purchase fails if the complete available stock will not fit or cannot be afforded. A &amp;lt;code&amp;gt;MAX&amp;lt;/code&amp;gt; purchase fails if the planet lacks the calculated quantity or the player cannot afford it; the command does not automatically reduce the purchase to a smaller amount.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
BUY 1000 MEN&lt;br /&gt;
BUY ALL JAMMERS&lt;br /&gt;
BUY MAX ION&lt;br /&gt;
BUY 500 FOOD drowssap&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Items ==&lt;br /&gt;
The command recognizes men, missiles, torpedoes, ion cannons, flux pods, food, fighters, decoys, troops, zippers, jammers, mines, gold, and spies. The usual item abbreviations are accepted.&lt;br /&gt;
&lt;br /&gt;
Classic GE never added spies to the BUY help after they were introduced in [[GEREADME.DOC#7/4/93_Release_3.1b|3.1b]]. ge-next includes spies in its help and, beginning with version 0.1, accepts &amp;lt;code&amp;gt;SP&amp;lt;/code&amp;gt; so that both &amp;quot;spy&amp;quot; and &amp;quot;spies&amp;quot; will be recognized.&lt;br /&gt;
&lt;br /&gt;
== Availability and price ==&lt;br /&gt;
The ship must be orbiting a settled planet. When buying from another player&amp;#039;s planet, the owner must have enabled sale of that item. Only inventory above the owner&amp;#039;s reserve is available, and the buyer pays the sale price configured for that planet.&lt;br /&gt;
&lt;br /&gt;
A planet&amp;#039;s owner may buy its stored items even when they are not offered to visitors. The complete stored quantity is available to the owner, and the base item price is used. The owner still pays from personal [[Cash|cash]] into the planet&amp;#039;s bank.&lt;br /&gt;
&lt;br /&gt;
Every purchase must pass all of the following checks:&lt;br /&gt;
&lt;br /&gt;
* the requested stock is available;&lt;br /&gt;
* the player has enough cash;&lt;br /&gt;
* the resulting inventory fits within the ship&amp;#039;s cargo capacity; and&lt;br /&gt;
* access is permitted by the planet&amp;#039;s trade settings.&lt;br /&gt;
&lt;br /&gt;
If the planet has a trade password, it follows the item name. A planet protected for its team permits members of that team and refuses other players. ge-next also repairs stale team restrictions when the referenced team no longer exists.&lt;br /&gt;
&lt;br /&gt;
At Zygor, purchases use special neutral-zone handling: the player pays and receives the goods, but Zygor&amp;#039;s displayed stock is not depleted and its bank is not credited. ge-next may refuse Zygor service when the player&amp;#039;s standing with Galactic Command is sufficiently poor.&lt;br /&gt;
&lt;br /&gt;
== Classic and ge-next ==&lt;br /&gt;
Classic accepts only a numerical quantity. ge-next 0.1 added &amp;lt;code&amp;gt;ALL&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;MAX&amp;lt;/code&amp;gt; and strengthened checks for large item counts, prices, and cargo calculations. Cargo handling was comprehensively rewritten again in ge-next 0.3.1 to prevent overflow and make reports, capacity checks, and maximum-quantity calculations use the same fit rules. See [[Classic bug: Cargo weight overflow]].&lt;br /&gt;
&lt;br /&gt;
The overall trade model remains the same: a normal purchase removes stock from the planet, adds the payment to its bank, places the items aboard the ship, and deducts the cost from the player&amp;#039;s cash. See [[Planet administration]] and [[Items]] for the wider economic system.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[MBMGEHLP.MSG#HELP_BUY|Classic HELP BUY]]&lt;br /&gt;
* [[Planet administration]]&lt;br /&gt;
* [[Items]]&lt;br /&gt;
* [[Classic bug: Extended BUY token executes PRICE]]&lt;br /&gt;
* [[Classic bug: Cash and counter wraparound]]&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>