freecol/data/rules/testing/specification.xml

160 lines
6.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
* Copyright (C) 2002-2022 The FreeCol Team
*
* This file is part of FreeCol.
*
* FreeCol is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* FreeCol is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with FreeCol. If not, see <http://www.gnu.org/licenses/>.
*
-->
<!-- in case of incompatible changes, please update version number and
XSD schema for validation. -->
<freecol-specification id="testing" extends="classic" version="0.83">
<goods-types>
<goods-type id="model.goods.coffee" is-farmed="true" new-world-goods="true">
<market initial-amount="1500" initial-price="2" price-difference="4"/>
</goods-type>
<goods-type id="model.goods.hemp" is-farmed="true">
<market initial-amount="2000" initial-price="4" price-difference="3"/>
</goods-type>
<goods-type id="model.goods.cordage" is-farmed="false" made-from="model.goods.hemp">
<market initial-amount="1000" initial-price="10" price-difference="2"/>
</goods-type>
</goods-types>
<resource-types>
<resource-type id="model.resource.coffee">
<modifier id="model.goods.coffee" type="multiplicative" value="2"/>
</resource-type>
<resource-type id="model.resource.hemp">
<modifier id="model.goods.hemp" type="multiplicative" value="2"/>
</resource-type>
</resource-types>
<tile-types>
<tile-type id="model.tile.grassland" basic-move-cost="3" basic-work-turns="3">
<gen humidity-minimum="25" humidity-maximum="70"
temperature-minimum="10" temperature-maximum="25"
altitude-minimum="1" altitude-maximum="1"/>
<production unattended="true">
<output goods-type="model.goods.grain" value="3"/>
<output goods-type="model.goods.tobacco" value="3"/>
</production>
<production>
<output goods-type="model.goods.grain" value="3"/>
</production>
<production>
<output goods-type="model.goods.tobacco" value="3"/>
</production>
<production>
<output goods-type="model.goods.hemp" value="3"/>
</production>
<resource type="model.resource.tobacco" probability="60"/>
<resource type="model.resource.hemp" probability="40"/>
</tile-type>
<tile-type id="model.tile.hills" basic-move-cost="6" basic-work-turns="4">
<gen humidity-minimum="0" humidity-maximum="100"
temperature-minimum="-20" temperature-maximum="40"
altitude-minimum="2" altitude-maximum="3"/>
<modifier id="model.modifier.defence" type="percentage" value="100"/>
<production>
<output goods-type="model.goods.grain" value="2"/>
<output goods-type="model.goods.ore" value="4"/>
</production>
<production>
<output goods-type="model.goods.grain" value="2"/>
</production>
<production>
<output goods-type="model.goods.coffee" value="2"/>
</production>
<production>
<output goods-type="model.goods.ore" value="4"/>
</production>
<resource type="model.resource.ore" probability="80"/>
<resource type="model.resource.coffee" probability="20"/>
</tile-type>
</tile-types>
<!-- FIXME: add specialists for hemp and coffee?
<unit-types>
</unit-types>
-->
<building-types>
<building-type id="model.building.townHall" workplaces="3">
<production>
<output goods-type="model.goods.bells" value="3"/>
</production>
<modifier id="model.goods.bells" type="additive" value="1"/>
</building-type>
<building-type id="model.building.CityHall" workplaces="3"
upgrades-from="model.building.townHall"
required-population="6" >
<production>
<output goods-type="model.goods.bells" value="6"/>
</production>
<modifier id="model.goods.bells" type="additive" value="2"/>
<required-goods id="model.goods.hammers" value="120"/>
<required-goods id="model.goods.tools" value="48"/>
</building-type>
<building-type id="model.building.Capitol" workplaces="3"
upgrades-from="model.building.CityHall"
required-population="9">
<production>
<output goods-type="model.goods.bells" value="9"/>
</production>
<modifier id="model.goods.bells" type="additive" value="3"/>
<required-goods id="model.goods.hammers" value="240"/>
<required-goods id="model.goods.tools" value="72"/>
</building-type>
<building-type id="model.building.CordageMakerHouse" workplaces="3">
<production>
<input goods-type="model.goods.hemp" value="3"/>
<output goods-type="model.goods.cordage" value="3"/>
</production>
</building-type>
<building-type id="model.building.CordageMakerShop" workplaces="3"
upgrades-from="model.building.CordageMakerHouse">
<production>
<input goods-type="model.goods.hemp" value="6"/>
<output goods-type="model.goods.cordage" value="6"/>
</production>
<required-goods id="model.goods.hammers" value="64"/>
<required-goods id="model.goods.tools" value="20"/>
</building-type>
<building-type id="model.building.CordageFactory" workplaces="3"
upgrades-from="model.building.CordageMakerShop"
required-population="8">
<production>
<input goods-type="model.goods.hemp" value="9"/>
<output goods-type="model.goods.cordage" value="6"/>
</production>
<required-goods id="model.goods.hammers" value="160"/>
<required-goods id="model.goods.tools" value="100"/>
<required-ability id="model.ability.buildFactory"/>
<modifier id="model.goods.cordage" type="percentage" value="50"/>
<ability id="model.ability.expertsUseConnections" value="true"/>
</building-type>
</building-types>
<founding-fathers>
<founding-father id="model.foundingFather.johnnyAppleseed" type="trade"
weight1="2" weight2="8" weight3="6">
<modifier id="model.ability.grain" type="additive" value="2"/>
</founding-father>
</founding-fathers>
</freecol-specification>