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