]> git.pond.sub.org Git - empserver/blob - include/econfig-spec.h
6d49838677978517801f8fbbd50d2d1ebdfd6a42
[empserver] / include / econfig-spec.h
1 /*
2  *  Empire - A multi-player, client/server Internet based war game.
3  *  Copyright (C) 1986-2015, 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  *  econfig-spec.h: Combined include for optlist.h and emp_config.c
28  *
29  *  Known contributors to this file:
30  *     Marc Olzheim, 2004
31  *     Markus Armbruster, 2004-2015
32  */
33
34 /*
35  * This file declares econfig keys.  It expand into the corresponding
36  * variable declarations if defined(EMP_CONFIG_H_OUTPUT), and into
37  * struct keymatch[] initializers if defined(EMP_CONFIG_C_OUTPUT).
38  *
39  * EMPCFBOTH() defines econfig keys.  EMPCF_OPT() is a convenience
40  * wrapper for options.  EMPCF_COMMENT() defines comments.
41  */
42
43 /*
44  * Preprocessor of MSC C++ 6.0 (VC98) is broken and chokes on empty
45  * macro arguments.  Fixed in MSC C++ 7.0.  Work around: pass
46  * useless token `unused'.
47  */
48
49 #if     defined(EMP_CONFIG_C_OUTPUT)
50
51 #define EMPCFONLYC(fvname, vname, vtype, ctype, flags, descr)   \
52         { (fvname), (ctype), &(vname), (flags), (descr) },
53 #define EMPCFBOTH(fvname, vname, vtype, ctype, flags, descr)    \
54         { (fvname), (ctype), &(vname), (flags), (descr) },
55
56 #elif   defined(EMP_CONFIG_H_OUTPUT)
57
58 #define EMPCFONLYC(fvname, vname, vtype, ctype, flags, descr)
59 #define EMPCFBOTH(fvname, vname, vtype, ctype, flags, descr)    \
60         extern vtype vname;
61
62 #endif  /* EMP_CONFIG_C_OUTPUT || EMP_CONFIG_H_OUTPUT */
63
64 #define EMPCF_COMMENT(comment) \
65 EMPCFONLYC("", emp_config_dummy, unused , NSC_NOTYPE, 0, (comment))
66
67 #define EMPCF_OPT(fvname, vname, descr) \
68 EMPCFBOTH((fvname), (vname), int, NSC_INT, KM_OPTION, (descr))
69
70 /* econfig key definitions: */
71
72 EMPCF_COMMENT("\n### Server configuration and information")
73 EMPCFBOTH("custom_tables", custom_tables, char *, NSC_STRING, KM_INTERNAL,
74     "Custom configuration table files, separated by space")
75 EMPCFBOTH("data", gamedir_conf, char *, NSC_STRING, KM_INTERNAL,
76     "Directory where this game's data is stored")
77 EMPCFBOTH("info", infodir_conf, char *, NSC_STRING, KM_INTERNAL,
78     "Directory where info pages are stored, can be shared among games")
79 EMPCF_COMMENT("# Set this to your build tree's info.nr to run the server without\n"
80               "# installing it.")
81 EMPCFBOTH("builtin", builtindir_conf, char *, NSC_STRING, KM_INTERNAL,
82     "Directory where builtin files are stored")
83 EMPCF_COMMENT("# Set this to your source tree's src/lib/global to run the server\n"
84               "# without installing it, else leave it alone.")
85 EMPCFBOTH("listen_addr", listen_addr, char *, NSC_STRING, KM_INTERNAL,
86     "Local IP address the server should listen on")
87 EMPCF_COMMENT("# \"\" listens on all, localhost just on the loopback interface.\n"
88     "# OpenBSD restriction: when the system has both IPv4 and IPv6\n"
89     "# addresses configured, \"\" listens on all IPv4 addresses, and \"::\"\n"
90     "# on all IPv6 addresses.  There is no way to listen both on all IPv4\n"
91     "# and on all IPv6 interfaces.\n"
92     "# Systems using GNU libc such as Linux are frequently configured in a\n"
93     "# way that makes listen_addr "" listen only on all IPv4 addresses.\n"
94     "# You need to use \"::\" to listen on all IPv4 and IPv6 addresses.")
95 EMPCFBOTH("port", loginport, char *, NSC_STRING, KM_INTERNAL,
96     "TCP port the server will bind")
97 EMPCFBOTH("keep_journal", keep_journal, int, NSC_INT, KM_INTERNAL,
98     "Enable journal log file")
99 EMPCF_COMMENT("# 0 - Disabled\n"
100     "# 1 - Enabled, player output suppressed\n"
101     "# 2 - Enabled, log everything (big; rotating & compressing advised)")
102 EMPCFBOTH("post_crash_dump_hook", post_crash_dump_hook, char *, NSC_STRING, KM_INTERNAL,
103     "Shell command run right after a crash dump, in the game's data directory")
104 EMPCFBOTH("privname", privname, char *, NSC_STRING, 0,
105     "Name of the deity")
106 EMPCFBOTH("privlog", privlog, char *, NSC_STRING, 0,
107     "E-mail of the deity")
108 EMPCFBOTH("privip", privip, char *, NSC_STRING, KM_INTERNAL,
109     "Deities may connect from these IPs or networks, \"\" allows all")
110 EMPCFBOTH("WORLD_X", WORLD_X, int, NSC_INT, 0,
111     "World size X dimension, must be even")
112 EMPCFBOTH("WORLD_Y", WORLD_Y, int, NSC_INT, 0,
113     "World size Y dimension, must be even")
114
115 EMPCF_COMMENT("\n\n### Update policy\n\n"
116     "# Note: the update schedule is defined in the file schedule in the\n"
117     "# same directory as this file.")
118 EMPCFBOTH("etu_per_update", etu_per_update, int, NSC_INT, 0,
119     "Number of ETUs per update")
120 EMPCFBOTH("update_window", update_window, int, NSC_INT, 0,
121     "Time window the update will occur in after the update time, in seconds")
122 EMPCFBOTH("pre_update_hook", pre_update_hook, char *, NSC_STRING, KM_INTERNAL,
123     "Shell command run right before the update, in the game's data directory")
124 EMPCFBOTH("update_demand", update_demand, int, NSC_INT, 0,
125     "Demand update policy")
126 EMPCF_COMMENT("# 0 - No demand updates\n"
127     "# 1 - Scheduled updates are demand updates\n"
128     "# 2 - Demand updates run right after the deciding vote is cast,\n"
129     "#     in addition to (non-demand) scheduled updates")
130 EMPCFBOTH("update_wantmin", update_wantmin, int, NSC_INT, 0,
131     "Number of votes required for a demand update")
132 EMPCFBOTH("update_demandtimes", update_demandtimes, char *, NSC_STRING, 0,
133     "Times when unscheduled demand updates can occur, separated by space")
134 EMPCF_COMMENT("# Give time ranges as HOUR:MINUTE-HOUR:MINUTE, e.g. 20:00-24:00.\n"
135               "# Ranges CANNOT cross midnight.")
136
137 EMPCF_COMMENT("\n\n### Game hours restrictions")
138 EMPCFBOTH("game_days", game_days, char *, NSC_STRING, 0,
139     "Days of week the game is up and running, separated by space")
140 EMPCF_COMMENT("# Give days as Su Mo Tu We Th Fr Sa.")
141 EMPCFBOTH("game_hours", game_hours, char *, NSC_STRING, 0,
142     "Time of day ranges when the game is open, separated by space")
143 EMPCF_COMMENT("# Give time ranges as HOUR:MINUTE-HOUR:MINUTE, e.g. 20:00-24:00.\n"
144               "# Ranges CANNOT cross midnight.")
145
146 EMPCF_COMMENT("\n\n### Options")
147 EMPCF_OPT("ALL_BLEED", opt_ALL_BLEED,
148     "Let tech bleed to everyone, not just allies")
149 EMPCF_OPT("AUTO_POWER", opt_AUTO_POWER,
150     "Power report is updated only automatically, at the update")
151 EMPCF_OPT("BLITZ", opt_BLITZ,
152     "Enable blitz mode")
153 EMPCF_OPT("BRIDGETOWERS", opt_BRIDGETOWERS,
154     "Allow bridge towers")
155 EMPCF_COMMENT("# If you enable this, make sure that bridge spans can produce\n"
156     "# sufficient avail.  Depending on your etu_per_update, you may have\n"
157     "# to tweak buil_tower_bh, rollover_avail_max, or bridge span's maxpop.")
158 EMPCF_OPT("EASY_BRIDGES", opt_EASY_BRIDGES,
159     "Allow bridge building without bridge heads")
160 EMPCF_OPT("FALLOUT", opt_FALLOUT,
161     "Enable secondary effects caused by radiation")
162 EMPCF_OPT("GODNEWS", opt_GODNEWS,
163     "Inform the world when deities give/take away")
164 EMPCF_OPT("GO_RENEW", opt_GO_RENEW,
165     "Make gold and oil renewable resources")
166 EMPCF_OPT("GUINEA_PIGS", opt_GUINEA_PIGS,
167     "Enable experimental stuff not ready for prime time")
168 EMPCF_OPT("HIDDEN", opt_HIDDEN,
169     "Hide information between players")
170 EMPCF_OPT("INTERDICT_ATT", opt_INTERDICT_ATT,
171     "Interdict post-attack move in")
172 EMPCF_OPT("LOANS", opt_LOANS,
173     "Allow bailing out of other countries via S&L scandals")
174 EMPCF_OPT("LOSE_CONTACT", opt_LOSE_CONTACT,
175     "Let contact be lost after a few updates")
176 EMPCF_OPT("MARKET", opt_MARKET,
177     "Enable time-based market and trading")
178 EMPCF_OPT("MOB_ACCESS", opt_MOB_ACCESS,
179     "Update mobility in real-time rather than at the update")
180 EMPCF_OPT("NOFOOD", opt_NOFOOD,
181     "Disable food consumption")
182 EMPCF_OPT("NOMOBCOST", opt_NOMOBCOST,
183     "Don't charge mobility for firing from ships")
184 EMPCF_OPT("NO_FORT_FIRE", opt_NO_FORT_FIRE,
185     "Disable fortress fire")
186 EMPCF_OPT("NO_PLAGUE", opt_NO_PLAGUE,
187     "Disable plague")
188 EMPCF_OPT("RAILWAYS", opt_RAILWAYS,
189     "Highways double as rail")
190 EMPCF_OPT("RES_POP", opt_RES_POP,
191     "Population is limited by research")
192 EMPCF_OPT("SUPER_BARS", opt_SUPER_BARS,
193     "Make bars immune to damage")
194 EMPCF_OPT("TECH_POP", opt_TECH_POP,
195     "Technology costs more as population rises")
196
197 EMPCF_COMMENT("\n\n### Countries")
198 EMPCFBOTH("btu_build_rate", btu_build_rate, float, NSC_FLOAT, 0,
199     "Rate at which BTUs accumulate (etu * civ * eff * btu_build_rate)")
200 EMPCFBOTH("m_m_p_d", m_m_p_d, int, NSC_INT, 0,
201     "Maximum minutes per day a country is allowed to be logged in")
202 EMPCFBOTH("max_btus", max_btus, int, NSC_INT, 0,
203     "Maximum number of BTUs a country can have")
204 EMPCFBOTH("max_idle", max_idle, int, NSC_INT, 0,
205     "Maximum number of minutes a player can sit idle while logged in")
206 EMPCFBOTH("max_idle_visitor", max_idle_visitor, int, NSC_INT, 0,
207     "Maximum number of minutes a visitor can sit idle while logged in")
208 EMPCFBOTH("login_grace_time", login_grace_time, int, NSC_INT, 0,
209     "Grace time for clients to complete login and logout (seconds)")
210 EMPCFBOTH("players_at_00", players_at_00, int, NSC_INT, 0,
211     "Players have their coordinate system at deity 0,0 (0 - no, 1 - yes)")
212 EMPCFBOTH("at_least_one_100", at_least_one_100, int, NSC_INT, KM_INTERNAL,
213     "Initialize new countries with at least one sector with 100 of all resource")
214 EMPCFBOTH("start_cash", start_cash, int, NSC_INT, KM_INTERNAL,
215     "Starting cash for new countries")
216
217 EMPCF_COMMENT("\n\n### Technology/Research/Education/Happiness")
218 EMPCFBOTH("easy_tech", easy_tech, float, NSC_FLOAT, 0,
219     "Amount of tech built with no penalty")
220 EMPCFBOTH("start_tech", start_technology, float, NSC_FLOAT, KM_INTERNAL,
221     "Starting technology for new countries")
222 EMPCFBOTH("start_happy", start_happiness, float, NSC_FLOAT, KM_INTERNAL,
223     "Starting happiness for new countries")
224 EMPCFBOTH("start_research", start_research, float, NSC_FLOAT, KM_INTERNAL,
225     "Starting research for new countries")
226 EMPCFBOTH("start_edu", start_education, float, NSC_FLOAT, KM_INTERNAL,
227     "Starting education for new countries")
228 EMPCFBOTH("level_age_rate", level_age_rate, float, NSC_FLOAT, 0,
229     "ETU rate at which tech decays (0 -> no decline)")
230 EMPCFBOTH("tech_log_base", tech_log_base, float, NSC_FLOAT, 0,
231     "Log base to apply to tech breakthroughs above the easy tech level")
232 EMPCFBOTH("ally_factor", ally_factor, float, NSC_FLOAT, 0,
233     "Shared tech with allies (1 / ally_factor)")
234 EMPCFBOTH("edu_avg", edu_avg, float, NSC_FLOAT, 0,
235     "Number of ETUs education is averaged over")
236 EMPCFBOTH("hap_avg", hap_avg, float, NSC_FLOAT, 0,
237     "Number of ETUs happiness is averaged over")
238 EMPCFBOTH("edu_cons", edu_cons, double, NSC_DOUBLE, 0,
239     "Education consumption (1 breakthrough per edu_cons)")
240 EMPCFBOTH("hap_cons", hap_cons, double, NSC_DOUBLE, 0,
241     "Happiness consumption (1 breakthrough per hap_cons)")
242
243 EMPCF_COMMENT("\n\n### Sectors")
244 EMPCFBOTH("startmob", startmob, int, NSC_INT, KM_INTERNAL,
245     "Starting mobility for sanctuaries")
246 EMPCFBOTH("sect_mob_scale", sect_mob_scale, float, NSC_FLOAT, 0,
247     "Sector mobility accumulation per ETU")
248 EMPCFBOTH("sect_mob_max", sect_mob_max, int, NSC_INT, 0,
249     "Maximum mobility for sectors")
250 EMPCFBOTH("buil_bh", buil_bh, int, NSC_INT, 0,
251     "Number of hcms required to build a bridge span")
252 EMPCFBOTH("buil_bc", buil_bc, double, NSC_DOUBLE, 0,
253     "Cash required to build a bridge span")
254 EMPCFBOTH("buil_bt", buil_bt, double, NSC_DOUBLE, 0,
255     "Technology required to build a bridge span")
256 EMPCFBOTH("buil_tower_bh", buil_tower_bh, int, NSC_INT, 0,
257     "Number of hcms required to build a bridge tower")
258 EMPCFBOTH("buil_tower_bc", buil_tower_bc, double, NSC_DOUBLE, 0,
259     "Cash required to build a bridge tower")
260 EMPCFBOTH("buil_tower_bt", buil_tower_bt, double, NSC_DOUBLE, 0,
261     "Technology required to build a bridge tower")
262
263 EMPCF_COMMENT("\n\n### Land Units")
264 EMPCFBOTH("land_mob_scale", land_mob_scale, float, NSC_FLOAT, 0,
265     "Land unit mobility accumulation per ETU")
266 EMPCFBOTH("land_grow_scale", land_grow_scale, float, NSC_FLOAT, 0,
267     "How fast efficiency grows for land units, per ETU")
268 EMPCFBOTH("land_mob_max", land_mob_max, int, NSC_INT, 0,
269     "Maximum mobility for land units")
270 EMPCFBOTH("money_land", money_land, double, NSC_DOUBLE, 0,
271     "Cost per ETU to maintain land units (fraction of unit price)")
272 EMPCFBOTH("morale_base", morale_base, int, NSC_INT, KM_INTERNAL,
273     "Base level for setting morale of land units")
274
275 EMPCF_COMMENT("\n\n### Planes")
276 EMPCFBOTH("plane_mob_scale", plane_mob_scale, float, NSC_FLOAT, 0,
277     "Plane mobility accumulation per ETU")
278 EMPCFBOTH("plane_grow_scale", plane_grow_scale, float, NSC_FLOAT, 0,
279     "How fast efficiency grows for planes each update, per ETU")
280 EMPCFBOTH("plane_mob_max", plane_mob_max, int, NSC_INT, 0,
281     "Maximum mobility for planes")
282 EMPCFBOTH("money_plane", money_plane, double, NSC_DOUBLE, 0,
283     "Cost per ETU to maintain planes (fraction of plane price)")
284
285 EMPCF_COMMENT("\n\n### Ships")
286 EMPCFBOTH("ship_mob_scale", ship_mob_scale, float, NSC_FLOAT, 0,
287     "Ship mobility accumulation per ETU")
288 EMPCFBOTH("ship_grow_scale", ship_grow_scale, float, NSC_FLOAT, 0,
289     "How fast efficiency grows for ships each update, per ETU")
290 EMPCFBOTH("ship_mob_max", ship_mob_max, int, NSC_INT, 0,
291     "Maximum mobility for ships")
292 EMPCFBOTH("money_ship", money_ship, double, NSC_DOUBLE, 0,
293     "Cost per ETU to maintain ships (fraction of ship price)")
294 EMPCFBOTH("torpedo_damage", torpedo_damage, int, NSC_INT, 0,
295     "Torpedo damage (damage is X + 1dX + 1dX)")
296
297 EMPCF_COMMENT("\n\n### Combat/Damage")
298 EMPCFBOTH("fort_max_interdiction_range", fort_max_interdiction_range, int, NSC_INT, 0,
299     "Maximum range (in sectors) a fort will try to interdict another country")
300 EMPCFBOTH("land_max_interdiction_range", land_max_interdiction_range, int, NSC_INT, 0,
301     "Maximum range (in sectors) a land unit will try to interdict another country")
302 EMPCFBOTH("ship_max_interdiction_range", ship_max_interdiction_range, int, NSC_INT, 0,
303     "Maximum range (in sectors) a ship will try to interdict another country")
304 EMPCFBOTH("flakscale", flakscale, float, NSC_FLOAT, 0,
305     "Scale factor for flak damage")
306 EMPCFBOTH("combat_mob", combat_mob, double, NSC_DOUBLE, 0,
307     "How much mobility do units spend for combat (* casualties/bodies)")
308 EMPCFBOTH("people_damage", people_damage, double, NSC_DOUBLE, 0,
309     "People take this amount of normal damage")
310 EMPCFBOTH("unit_damage", unit_damage, double, NSC_DOUBLE, 0,
311     "Land units take this amount of normal damage")
312 EMPCFBOTH("collateral_dam", collateral_dam, double, NSC_DOUBLE, 0,
313     "Side effect damage amount done to sector")
314 EMPCFBOTH("assault_penalty", assault_penalty, double, NSC_DOUBLE, 0,
315     "Attack strength multiplier for paratroopers and assaulting")
316 EMPCFBOTH("fire_range_factor", fire_range_factor, float, NSC_FLOAT, 0,
317     "Scale normal firing ranges by this amount")
318 EMPCFBOTH("sect_mob_neg_factor", sect_mob_neg_factor, int, NSC_INT, 0,
319     "Initial mobility for MOB_ACCESS (-etu_per_update / sect_mob_neg_factor)")
320 EMPCF_COMMENT("# Applies to sector takeover, ship build, plane or land unit build, and trade.")
321
322 EMPCF_COMMENT("\n\n### Populace")
323 EMPCFBOTH("uwbrate", uwbrate, double, NSC_DOUBLE, 0,
324     "Birth rate for uncompensated workers")
325 EMPCFBOTH("money_civ", money_civ, double, NSC_DOUBLE, 0,
326     "Money gained from taxes on a civilian in one ETU")
327 EMPCFBOTH("money_mil", money_mil, double, NSC_DOUBLE, 0,
328     "Money gained from taxes on an active soldier in one ETU")
329 EMPCFBOTH("money_res", money_res, double, NSC_DOUBLE, 0,
330     "Money gained from taxes on a soldier on active reserve in one ETU")
331 EMPCFBOTH("money_uw", money_uw, double, NSC_DOUBLE, 0,
332     "Money gained from taxes on an uncompensated worker in one ETU")
333 EMPCFBOTH("babyeat", babyeat, double, NSC_DOUBLE, 0,
334     "Amount of food to mature 1 baby into a civilian")
335 EMPCFBOTH("bankint", bankint, double, NSC_DOUBLE, 0,
336     "Bank dollar gain (per bar per etu)")
337 EMPCFBOTH("eatrate", eatrate, double, NSC_DOUBLE, 0,
338     "Food eating rate for mature people")
339 EMPCFBOTH("fcrate", fcrate, double, NSC_DOUBLE, 0,
340     "Food cultivation rate (* workforce in sector)")
341 EMPCFBOTH("fgrate", fgrate, double, NSC_DOUBLE, 0,
342     "Food growth rate (* fertility of sector)")
343 EMPCFBOTH("obrate", obrate, double, NSC_DOUBLE, 0,
344     "Civilian birth rate")
345 EMPCFBOTH("rollover_avail_max", rollover_avail_max, int, NSC_INT, 0,
346     "Maximum avail that can roll over an update")
347
348 EMPCF_COMMENT("\n\n### Nukes")
349 EMPCFBOTH("decay_per_etu", decay_per_etu, double, NSC_DOUBLE, 0,
350     "Decay of fallout per ETU")
351 EMPCFBOTH("fallout_spread", fallout_spread, double, NSC_DOUBLE, 0,
352     "Amount of fallout that leaks into surrounding sectors")
353 EMPCFBOTH("drnuke_const", drnuke_const, float, NSC_FLOAT, 0,
354     "Research needed to build a nuke, as fraction of the tech needed")
355 EMPCF_COMMENT("# A common value is 0.33.")
356
357 EMPCF_COMMENT("\n\n### Market/Trade")
358 EMPCFBOTH("MARK_DELAY", MARK_DELAY, int, NSC_INT, 0,
359     "Time commodities stay on the market for bidding (seconds)")
360 EMPCFBOTH("TRADE_DELAY", TRADE_DELAY, int, NSC_INT, 0,
361     "Time ships, planes, lands and nukes stay on the market for bidding (seconds)")
362 EMPCFBOTH("buytax", buytax, double, NSC_DOUBLE, 0,
363     "Multiple of the bid charged to the buyer on market purchases")
364 EMPCFBOTH("tradetax", tradetax, double, NSC_DOUBLE, 0,
365     "Amount of a trade transaction the seller makes (the rest is tax)")
366
367 EMPCF_COMMENT("\n\n### Trade ships")
368 EMPCFBOTH("trade_1_dist", trade_1_dist, int, NSC_INT, 0,
369     "Less than this distance gets no money for cashing in")
370 EMPCFBOTH("trade_2_dist", trade_2_dist, int, NSC_INT, 0,
371     "Less than this distance gets trade_1 money for cashing in")
372 EMPCFBOTH("trade_3_dist", trade_3_dist, int, NSC_INT, 0,
373     "Less than this distance gets trade_2 money for cashing in, more gets trade_3")
374 EMPCFBOTH("trade_1", trade_1, float, NSC_FLOAT, 0,
375     "Return per sector on trade_1 distance amount")
376 EMPCFBOTH("trade_2", trade_2, float, NSC_FLOAT, 0,
377     "Return per sector on trade_2 distance amount")
378 EMPCFBOTH("trade_3", trade_3, float, NSC_FLOAT, 0,
379     "Return per sector on trade_3 distance amount")
380 EMPCFBOTH("trade_ally_bonus", trade_ally_bonus, float, NSC_FLOAT, 0,
381     "Bonus you get for cashing in with an ally")
382 EMPCFBOTH("trade_ally_cut", trade_ally_cut, float, NSC_FLOAT, 0,
383     "Bonus your ally gets for you cashing in with them")
384
385 EMPCF_COMMENT("\n\n### Miscellaneous")
386 EMPCFBOTH("disabled_commands", disabled_commands, char *, NSC_STRING, KM_INTERNAL,
387     "Disabled commands, separated by space")
388 EMPCFBOTH("anno_keep_days", anno_keep_days, int, NSC_INT, KM_INTERNAL,
389     "How long until announcements expire (<0 means never)")
390 EMPCFBOTH("news_keep_days", news_keep_days, int, NSC_INT, KM_INTERNAL,
391     "How long until news expire")
392 EMPCFBOTH("lost_keep_hours", lost_keep_hours, int, NSC_INT, KM_INTERNAL,
393     "How long until lost items expire")
394 EMPCFBOTH("running_test_suite", running_test_suite, int, NSC_INT, KM_INTERNAL,
395     "Are we running the test suite?  Must be 0 for games!")
396
397 /* Sentinel */
398 EMPCFONLYC(NULL, emp_config_dummy, NULL, NSC_NOTYPE, 0, NULL)
399
400 #undef EMPCFONLYC
401 #undef EMPCFBOTH
402 #undef EMPCF_COMMENT