<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE funcs
  SYSTEM '../../../clonk.dtd'>
<?xml-stylesheet type="text/xsl" href="../../../clonk.xsl"?>
<funcs>
  <func>
    <title>DoHomebaseProduction</title>
    <category>Player</category>
    <version>5.1 OC</version>
    <syntax>
      <rtype>bool</rtype>
      <params>
        <param>
          <type>int</type>
          <name>player</name>
          <desc>Number of the player whose home base resupply list you want to change.</desc>
        </param>
        <param>
          <type>id</type>
          <name>type</name>
          <desc>id of the object type you want to adjust.</desc>
        </param>
        <param>
          <type>int</type>
          <name>change</name>
          <desc>Change of the resupply value (positive or negative).</desc>
        </param>
      </params>
    </syntax>
    <desc>Changes resupply speed of buyable objects at the home base.</desc>
    <examples>
      <example>
        <code><funclink>DoHomebaseProduction</funclink>(0, Firestone, -<funclink>GetHomebaseProduction</funclink>(0, Firestone));</code>
        <text>No more flintstones are resupplied for the first player.</text>
      </example>
    </examples>
    <related>
      <funclink>GetHomebaseProduction</funclink>
      <funclink>DoHomebaseMaterial</funclink>
      <funclink>GetHomebaseMaterial</funclink>
      <funclink>Buy</funclink>
      <funclink>Sell</funclink>
    </related>
  </func>
  <author>Clonk-Karl</author><date>2008-03</date>
</funcs>
