Remove option FUEL
The abstract idea of tying ships and land units to a logistical tether is sound, the concrete implementation as option FUEL is flawed. It adds too much busy-work to the game to be enjoyable. It hasn't been enabled in a public game for years. The code implementing it is ugly, repetitive, and a burden to maintain. Remove selector fuel from ship_ca[] and land_ca[], and selectors fuelc, fuelu from mchr_ca[] and lchr_ca[]. Remove fields fuelc, fuelu from ship.config and land.config. Remove command fuel from player_coms[]. Deprecate edit key 'B' in doship(), dounit(), and don't show it in pr_ship(), pr_land(). Drop opt_FUEL code from build_ship(), shi(), sdump(), ship_damage(), show_ship_stats(), do_mob_ship(), nav_ship(), build_land(), land(), ldump(), land_damage(), show_land_stats(), do_mob_land(), resupply_all(), resupply_commod(), get_minimum(), has_supply(), unit_list(), vers(). Remove opt_FUEL, fuel_mult, struct shpstr member shp_fuel, struct mchrstr members m_fuelc and m_fuelu, M_OILER, struct lndstr member lnd_fuel, struct lchrstr members l_fuelc and l_fuelu, fuel(), and auto_fuel_ship().
This commit is contained in:
parent
3cc80e83c3
commit
3b4de2feb1
42 changed files with 124 additions and 984 deletions
|
@ -147,8 +147,6 @@ EMPCF_OPT("EASY_BRIDGES", opt_EASY_BRIDGES,
|
|||
"Allow bridge building without bridge heads")
|
||||
EMPCF_OPT("FALLOUT", opt_FALLOUT,
|
||||
"Enable secondary effects caused by radiation")
|
||||
EMPCF_OPT("FUEL", opt_FUEL,
|
||||
"Make ships use fuel to move")
|
||||
EMPCF_OPT("GODNEWS", opt_GODNEWS,
|
||||
"Inform the world when deities give/take away")
|
||||
EMPCF_OPT("GO_RENEW", opt_GO_RENEW,
|
||||
|
@ -391,8 +389,6 @@ EMPCFBOTH("anno_keep_days", anno_keep_days, int, NSC_INT, KM_INTERNAL,
|
|||
"How long until announcements expire (<0 means never)")
|
||||
EMPCFBOTH("news_keep_days", news_keep_days, int, NSC_INT, KM_INTERNAL,
|
||||
"How long until news expire")
|
||||
EMPCFBOTH("fuel_mult", fuel_mult, int, NSC_INT, 0,
|
||||
"Multiplier for fuel to mobility calculation")
|
||||
EMPCFBOTH("lost_items_timeout", lost_items_timeout, int, NSC_INT, KM_INTERNAL,
|
||||
"Seconds before a lost item is timed out of the database")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue