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