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