<?xml version="1.0" encoding="utf-8"?>
<s1 title="Buy"><table><strong class="highlight"><![CDATA[]]></strong><tr><td><strong class="highlight"><![CDATA[]]></strong><p>Usage: </p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p>buy resource quantity price </p>
</td></tr><tr><td><strong class="highlight"><![CDATA[]]></strong><p>Example: </p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p>buy food 10000 6 </p>
</td></tr></table><p>Buys resources from the market. In the example above the script will try to buy 10,000 food at a bid price of 6. </p>
<p>Resource name must be among <em>food, lumber, stone &amp; iron,</em> and must be spelled out. </p>
<p>It is important to remember that conflicting <jump href="/wiki/Trade">Trade</jump> goals with <jump href="/wiki/TradePolicy">TradePolicy</jump> may sell the resources as fast as you can buy them via script. </p>
<p></p>

<br/>------------------------------------------------------------------------------<br/>
<p> </p>

<br/>------------------------------------------------------------------------------<br/>
<p> <jump href="/wiki/ScriptResource">ScriptResource</jump> </p>
</s1>