(P_SHELL, P_GUN, P_PETROL, P_IRON, P_DUST, P_BAR, P_FOOD, P_OIL)
(P_LCM, P_HCM, P_TLEV, P_RLEV, P_ELEV, P_HLEV, P_URAN): Use -1 instead of 0 for `no product', shift down product indexes and update product.config and sector.config accordingly. (budg, prod, show_sect_capab, produce, produce_sect): Adapt test for no product. (ef_elt_byname): Remove the hack to hide pchr[0]. (prod_eff): Oops on no product.
This commit is contained in:
parent
08937006d7
commit
f284b0beab
9 changed files with 62 additions and 60 deletions
|
@ -48,40 +48,40 @@
|
|||
|
||||
config sect-chr
|
||||
uid mnem prd peff mcst nav pkg ostr dstr val cost bui lcm hcm maxp name
|
||||
0 "." 0 0 0 sea norm 0.0 0.0 0 -1 0 0 0 0 "sea"
|
||||
0 "." -1 0 0 sea norm 0.0 0.0 0 -1 0 0 0 0 "sea"
|
||||
1 "^" dust 75 25 land norm 1.0 4.0 5 -1 1 0 0 99 "mountain"
|
||||
2 "s" 0 0 0 land norm 0.0 99.0 127 -1 0 0 0 999 "sanctuary"
|
||||
3 "\134" 0 0 0 land norm 0.0 99.0 0 -1 0 0 0 0 "wasteland"
|
||||
4 "-" 0 0 3 land norm 1.0 2.0 1 0 0 0 0 999 "wilderness"
|
||||
# Uncomment one of the following two. The second is for big cities.
|
||||
5 "c" 0 0 2 land norm 1.0 2.0 30 0 1 0 0 999 "capital"
|
||||
# 5 "c" 0 0 2 cana urba 1.0 2.0 30 0 10 1 2 999 "city"
|
||||
2 "s" -1 0 0 land norm 0.0 99.0 127 -1 0 0 0 999 "sanctuary"
|
||||
3 "\134" -1 0 0 land norm 0.0 99.0 0 -1 0 0 0 0 "wasteland"
|
||||
4 "-" -1 0 3 land norm 1.0 2.0 1 0 0 0 0 999 "wilderness"
|
||||
# Uncomment one of the following two. The second one is for big cities.
|
||||
5 "c" -1 0 2 land norm 1.0 2.0 30 0 1 0 0 999 "capital"
|
||||
# 5 "c" -1 0 2 cana urba 1.0 2.0 30 0 10 1 2 999 "city"
|
||||
6 "u" rad 100 2 land norm 1.0 2.0 15 0 1 0 0 999 "uranium mine"
|
||||
7 "p" hap 100 2 land norm 1.0 1.5 5 0 1 0 0 999 "park"
|
||||
8 "d" gun 100 2 land norm 1.0 1.5 7 0 1 0 0 999 "defense plant"
|
||||
9 "i" sh 100 2 land norm 1.0 1.5 6 0 1 0 0 999 "shell industry"
|
||||
10 "m" iron 100 2 land norm 1.0 2.0 5 0 1 0 0 999 "mine"
|
||||
11 "g" dust 100 2 land norm 1.0 2.0 8 0 1 0 0 999 "gold mine"
|
||||
12 "h" 0 0 2 harb ware 1.0 1.5 12 0 1 0 0 999 "harbor"
|
||||
13 "w" 0 0 2 land ware 1.0 1.5 7 0 1 0 0 999 "warehouse"
|
||||
14 "*" 0 0 2 land norm 1.0 1.25 12 0 1 0 0 999 "airfield"
|
||||
12 "h" -1 0 2 harb ware 1.0 1.5 12 0 1 0 0 999 "harbor"
|
||||
13 "w" -1 0 2 land ware 1.0 1.5 7 0 1 0 0 999 "warehouse"
|
||||
14 "*" -1 0 2 land norm 1.0 1.25 12 0 1 0 0 999 "airfield"
|
||||
15 "a" food 900 2 land norm 1.0 1.5 2 0 1 0 0 999 "agribusiness"
|
||||
16 "o" oil 100 2 land norm 1.0 1.5 5 0 1 0 0 999 "oil field"
|
||||
17 "j" lcm 100 2 land norm 1.0 1.5 3 0 1 0 0 999 "light manufacturing"
|
||||
18 "k" hcm 100 2 land norm 1.0 1.5 4 0 1 0 0 999 "heavy manufacturing"
|
||||
19 "f" 0 0 2 land norm 2.0 4.0 10 0 5 0 1 999 "fortress"
|
||||
19 "f" -1 0 2 land norm 2.0 4.0 10 0 5 0 1 999 "fortress"
|
||||
20 "t" tech 100 2 land norm 1.0 1.5 10 0 1 0 0 999 "technical center"
|
||||
21 "r" med 100 2 land norm 1.0 1.5 9 0 1 0 0 999 "research lab"
|
||||
22 "n" 0 0 2 land norm 1.0 2.0 10 0 1 0 0 999 "nuclear plant"
|
||||
22 "n" -1 0 2 land norm 1.0 2.0 10 0 1 0 0 999 "nuclear plant"
|
||||
23 "l" edu 100 2 land norm 1.0 1.5 4 0 1 0 0 999 "library/school"
|
||||
24 "+" 0 0 1 land norm 1.0 1.0 3 0 1 0 0 999 "highway"
|
||||
25 ")" 0 0 2 land norm 1.0 1.5 4 0 1 0 0 999 "radar installation"
|
||||
26 "!" 0 0 2 land norm 1.0 1.5 12 0 1 0 0 999 "headquarters"
|
||||
27 "#" 0 0 1 land norm 1.0 1.5 4 0 1 0 0 999 "bridge head"
|
||||
28 "=" 0 0 1 brid norm 1.0 1.0 5 -1 1 0 0 999 "bridge span"
|
||||
24 "+" -1 0 1 land norm 1.0 1.0 3 0 1 0 0 999 "highway"
|
||||
25 ")" -1 0 2 land norm 1.0 1.5 4 0 1 0 0 999 "radar installation"
|
||||
26 "!" -1 0 2 land norm 1.0 1.5 12 0 1 0 0 999 "headquarters"
|
||||
27 "#" -1 0 1 land norm 1.0 1.5 4 0 1 0 0 999 "bridge head"
|
||||
28 "=" -1 0 1 brid norm 1.0 1.0 5 -1 1 0 0 999 "bridge span"
|
||||
29 "b" bars 100 2 land bank 1.0 2.25 10 0 1 0 0 999 "bank"
|
||||
30 "%" pet 1000 2 land norm 1.0 1.5 2 0 1 0 0 999 "refinery"
|
||||
31 "e" 0 0 2 land norm 1.0 2.0 7 0 1 0 0 999 "enlistment center"
|
||||
32 "~" 0 0 2 land norm 1.0 1.5 1 -1 1 0 0 49 "plains"
|
||||
33 "@" 0 0 1 land norm 1.0 1.5 4 -1 1 0 0 999 "bridge tower"
|
||||
31 "e" -1 0 2 land norm 1.0 2.0 7 0 1 0 0 999 "enlistment center"
|
||||
32 "~" -1 0 2 land norm 1.0 1.5 1 -1 1 0 0 49 "plains"
|
||||
33 "@" -1 0 1 land norm 1.0 1.5 4 -1 1 0 0 999 "bridge tower"
|
||||
/config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue