]> git.pond.sub.org Git - empserver/blob - src/lib/global/product.config
config: Make product work independently configurable
[empserver] / src / lib / global / product.config
1 #
2 #   Empire - A multi-player, client/server Internet based war game.
3 #   Copyright (C) 1986-2021, Dave Pare, Jeff Bailey, Thomas Ruschak,
4 #                 Ken Stevens, Steve McClure, Markus Armbruster
5 #
6 #   Empire is free software: you can redistribute it and/or modify
7 #   it under the terms of the GNU General Public License as published by
8 #   the Free Software Foundation, either version 3 of the License, or
9 #   (at your option) any later version.
10 #
11 #   This program is distributed in the hope that it will be useful,
12 #   but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 #   GNU General Public License for more details.
15 #
16 #   You should have received a copy of the GNU General Public License
17 #   along with this program.  If not, see <http://www.gnu.org/licenses/>.
18 #
19 #   ---
20 #
21 #   See files README, COPYING and CREDITS in the root of the source
22 #   tree for related information and legal notices.  It is expected
23 #   that future projects/authors will amend these files as needed.
24 #
25 #   ---
26 #
27 #   product.config: Product characteristics
28 #
29 #   Known contributors to this file:
30 #      Markus Armbruster, 2006-2021
31 #
32 #   Derived from product.c; no known contributors
33 #
34
35 # Available item types (columns ct and type) are in item.config.
36 # Levels (columns lev and nlndx) are in compiled-in table level.
37 # Resources (column nrndx) are in compiled-in table resources.
38
39 # A product is either an item (value other than -1 in column type) or
40 # a level (value other than none in column lev).
41
42 # Products with a value other than none in column nrndx mine that
43 # natural resource.  When nrdep is non-zero, mining depletes the
44 # resource.  The smaller the value, the slower the depletion.
45
46 # If you customize constituents (columns ct and ca), you may need to
47 # customize item.config column power, too.
48
49 # Do not edit this file to customize a game!  Create your own custom
50 # configuration file(s), best next to your econfig, and name them in
51 # econfig key custom_tables.
52
53 config product
54 uid sname     ct(0) ct(1) ct(2) ca(0) ca(1) ca(2) bwork type  lev cost nrndx nrdep nlndx nlmin nllag name
55 # Mining natural resources:
56   0 "iron"      -1    -1    -1     0     0     0      1    i none    0   min     0  none     0     0 "iron ore"
57   1 "dust"      -1    -1    -1     0     0     0      1    d none    0  gold    20  none     0     0 "gold dust"
58   2 "food"      -1    -1    -1     0     0     0      1    f none    0  fert     0  tech   -10    10 "food"
59   3 "oil"       -1    -1    -1     0     0     0      1    o none    0  ocon    10  tech   -10    10 "oil"
60   4 "rad"       -1    -1    -1     0     0     0      1    r none    2  uran    35  tech    40    10 "radioactive materials"
61 # Processing stuff into different stuff:
62   5 "shells"     l     h    -1     2     1     0      3    s none    3  none     0  tech    20    10 "shells"
63   6 "guns"       o     l     h     1     5    10     16    g none   30  none     0  tech    20    10 "guns"
64   7 "petrol"     o    -1    -1     1     0     0      1    p none    1  none     0  tech    20    10 "petrol"
65   8 "bars"       d    -1    -1     5     0     0      5    b none   10  none     0  none     0     0 "gold bars"
66   9 "lcm"        i    -1    -1     1     0     0      1    l none    0  none     0  tech   -10    10 "light construction materials"
67  10 "hcm"        i    -1    -1     2     0     0      2    h none    0  none     0  tech   -10    10 "heavy construction materials"
68 # Producing levels:
69  11 "tech"       d     o     l     1     5    10     16   -1 tech  300  none     0   edu     5    10 "technological breakthroughs"
70  12 "medical"    d     o     l     1     5    10     16   -1  res   90  none     0   edu     5    10 "medical discoveries"
71  13 "edu"        l    -1    -1     1     0     0      1   -1  edu    9  none     0  none     0     0 "a class of graduates"
72  14 "happy"      l    -1    -1     1     0     0      1   -1  hap    9  none     0  none     0     0 "happy strollers"
73 /config