1/* Definitions of the terrain type properties in Xconq GDL.
2   Copyright (C) 1991-1997, 1999 Stanley T. Shebs.
3
4Xconq is free software; you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation; either version 2, or (at your option)
7any later version.  See the file COPYING.  */
8
9DEF_TPROP_I("alt-percentile-max", t_alt_max,
10	"highest altitude percentile for this type",
11	altmax, 0, 0, 100)
12
13DEF_TPROP_I("alt-percentile-min", t_alt_min,
14	"lowest altitude percentile for this type",
15	altmin, 0, 0, 100)
16
17DEF_TPROP_I("capacity", t_capacity,
18	"useful area of a cell of this terrain type, relative to units",
19	capacity, 0, 1, PROPHI)
20
21DEF_TPROP_S("char", t_char,
22	"single character representing this type of terrain",
23	tchar, "")
24
25DEF_TPROP_I("clouds-max", t_clouds_max,
26	"highest density of clouds in this terrain",
27	cloudsmax, 0, 0, 100)
28
29DEF_TPROP_I("clouds-min", t_clouds_min,
30	"lowest density of clouds in this terrain",
31	cloudsmin, 0, 0, 100)
32
33DEF_TPROP_I("country-growth-chance", t_country_growth,
34	"chance that a country will be grown into terrain",
35	countrygrowth, 0, 100, 100)
36
37DEF_TPROP_I("country-people-chance", t_country_people,
38	"chance that terrain has people belonging to the country",
39	countrypeople, 0, 0, 100)
40
41DEF_TPROP_I("country-takeover-chance", t_country_takeover,
42	"chance that country will be grown into terrain already given to another side",
43	countrytakeover, 0, 0, 100)
44
45DEF_TPROP_I("country-terrain-max", t_country_max,
46	"maximum amount of this type in each country's initial radius",
47	countrymax, -1, -1, PROPHI)
48
49DEF_TPROP_I("country-terrain-min", t_country_min,
50	"minimum amount of this type in each country's initial radius",
51	countryminterrain, 0, 0, PROPHI)
52
53DEF_TPROP_I("elevation-max", t_elev_max,
54	"highest possible elevation",
55	elevmax, PROPLO, 0, PROPHI)
56
57DEF_TPROP_I("elevation-min", t_elev_min,
58	"lowest possible elevation",
59	elevmin, PROPLO, 0, PROPHI)
60
61DEF_TPROP_S("help", t_help,
62	"brief description of this terrain",
63	help, "")
64
65DEF_TPROP_S("image-name", t_image_name,
66	"graphical representation of this terrain",
67	imagename, "")
68
69DEF_TPROP_I("independent-people-chance", t_indep_people,
70	"chance that terrain has people belonging to the country",
71	indeppeople, 0, 0, 100)
72
73DEF_TPROP_I("liquid", t_liquid,
74	"true if this type is a liquid",
75	liquid, 0, 0, 1)
76
77DEF_TPROP_I("maze-passage-occurrence", t_maze_passage_occurrence,
78	"frequency of this type in maze passageways",
79	mazepassageoccurrence, 0, 0, PROPHI)
80
81DEF_TPROP_I("maze-room-occurrence", t_maze_room_occurrence,
82	"frequency of this type in maze rooms",
83	mazeroomoccurrence, 0, 0, PROPHI)
84
85DEF_TPROP_S("name", t_type_name,
86	"name of this type of terrain",
87	name, "")
88
89DEF_TPROP_L("notes", t_notes,
90	"player notes",
91	notes)
92
93DEF_TPROP_I("occurrence", t_occurrence,
94	"frequency of this type in random worlds",
95	occurrence, 0, 1, PROPHI)
96
97DEF_TPROP_I("people-max", t_people_max,
98	"max number of people of all types added together",
99	peoplemax, -1, -1, PROPHI)
100
101DEF_TPROP_I("river-chance", t_river_chance,
102	"chance of river starting in this terrain",
103	riverchance, 0, 0, 10000)
104
105DEF_TPROP_I("subtype", t_subtype,
106	"subtype of the terrain",
107	subtype, cellsubtype, cellsubtype, coatingsubtype)
108
109DEF_TPROP_I("subtype-x", t_subtype_x,
110	"extra subtype used for synthesis",
111	subtypex, 0, 0, PROPHI)
112
113DEF_TPROP_I("temperature-average", t_temp_avg,
114	"average temperature in this terrain",
115	tempavg, PROPLO, 0, PROPHI)
116
117DEF_TPROP_I("temperature-max", t_temp_max,
118	"highest possible temperature",
119	tempmax, PROPLO, 0, PROPHI)
120
121DEF_TPROP_I("temperature-min", t_temp_min,
122	"lowest possible temperature",
123	tempmin, PROPLO, 0, PROPHI)
124
125DEF_TPROP_I("temperature-variability", t_temp_variability,
126	"amount by which temperature will vary randomly",
127	tempvariability, 0, 0, PROPHI)
128
129DEF_TPROP_I("thickness", t_thickness,
130	"Elevation of `top' of terrain over nominal elevation",
131	thickness, 0, 0, PROPHI)
132
133DEF_TPROP_I("wet-percentile-max", t_wet_max,
134	"highest moisture percentile",
135	maxwet, 0, 0, 100)
136
137DEF_TPROP_I("wet-percentile-min", t_wet_min,
138	"lowest moisture percentile",
139	wetmin, 0, 0, 100)
140
141DEF_TPROP_I("wind-force-average", t_wind_force_avg,
142	"average wind force",
143	gwindavg, 0, 0, PROPHI)
144
145DEF_TPROP_I("wind-force-max", t_wind_force_max,
146	"highest possible wind force",
147	gwindmax, 0, 0, PROPHI)
148
149DEF_TPROP_I("wind-force-min", t_wind_force_min,
150	"lowest possible wind force",
151	gwindmin, 0, 0, PROPHI)
152
153DEF_TPROP_I("wind-force-variability", t_wind_force_variability,
154	"chance that wind force will change randomly",
155	windforcevariability, 0, 0, 10000)
156
157DEF_TPROP_I("wind-variability", t_wind_variability,
158	"chance that wind direction will change randomly",
159	windvariability, 0, 0, 10000)
160
161DEF_TPROP_I("zz-fr", t_fraction,
162	"estimated amount of terrain in the world",
163	fraction, 0, 0, PROPHI)
164