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
|
@ -126,7 +126,7 @@ The headings for the stats listing are
|
|||
.s1
|
||||
.EX show land stats
|
||||
.s1
|
||||
.in \w'fc/fu\0\0'u
|
||||
.in \w'spy\0\0'u
|
||||
.L att
|
||||
the attack multiplier of the land unit
|
||||
.L def
|
||||
|
@ -153,9 +153,6 @@ the number of guns that fire when the unit fires
|
|||
ammo: the number of shells the unit uses when fighting or firing
|
||||
.L aaf
|
||||
the aa fire rating of the unit
|
||||
.L fc/fu
|
||||
The land unit's fuel capacity & usage.
|
||||
(see info fuel) (If the FUEL option is enabled)
|
||||
.L xpl
|
||||
The number of extra-light planes the land unit can carry.
|
||||
(If the XLIGHT option is enabled)
|
||||
|
@ -215,15 +212,15 @@ marines 1 20 10 100 2 4 5 200 $2000
|
|||
.s1
|
||||
.EX show land stats
|
||||
.NF
|
||||
s v s r f a d a a x
|
||||
p i p a r c a m a f f p
|
||||
att def vul d s y d g c m m f c u l
|
||||
War band 1.3 1.0 99 23 5 1 1 0 0 0 0 0 0 0 0
|
||||
Supply Wagon 0.1 0.2 100 15 6 1 0 0 0 0 0 0 0 0 0
|
||||
GPG Commandos 1.0 1.0 70 30 1 2 1 0 0 0 5 1 10 1 0
|
||||
artillery 1 0.0 0.5 50 15 6 1 0 6 40 4 5 15 0 0 0
|
||||
Jump infantry 5.0 6.0 20 55 1 4 4 0 0 0 5 35 10 1 5
|
||||
marines 1 1.0 2.0 70 23 3 3 2 0 0 0 5 5 0 0 2
|
||||
s v s r f a d a a x
|
||||
p i p a r c a m a p
|
||||
att def vul d s y d g c m m f l
|
||||
War band 1.3 1.0 99 23 5 1 1 0 0 0 0 0 0
|
||||
Supply Wagon 0.1 0.2 100 15 6 1 0 0 0 0 0 0 0
|
||||
GPG Commandos 1.0 1.0 70 30 1 2 1 0 0 0 5 1 0
|
||||
artillery 1 0.0 0.5 50 15 6 1 0 6 40 4 5 15 0
|
||||
Jump infantry 5.0 6.0 20 55 1 4 4 0 0 0 5 35 5
|
||||
marines 1 1.0 2.0 70 23 3 3 2 0 0 0 5 5 2
|
||||
.FI
|
||||
.s1
|
||||
.EX show land cap
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue