File: specification.xml

package info (click to toggle)
freecol 1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 255,300 kB
  • sloc: java: 147,579; xml: 8,208; sh: 493; lisp: 439; awk: 21; makefile: 14
file content (159 lines) | stat: -rw-r--r-- 6,755 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<?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>