collect: Derive collection value from power value
The collection value of a sector is sector value = sector type value * (sector efficiency + 100) + sum of item values item value = item type value * amount The sector and item type values are configurable. The item type collect values aren't too far off the power values: uid mnem pow val pow/val 0 "c" 50 1 50 1 "m" 100 0 inf 2 "s" 125 5 25 3 "g" 950 60 15.8 4 "p" 7 4 1.75 5 "i" 10 2 5 6 "d" 200 20 10 7 "b" 2500 280 8.9 8 "f" 0 0 NaN 9 "o" 50 8 6.25 10 "l" 20 2 10 11 "h" 40 4 10 12 "u" 50 1 50 13 "r" 50 150 0.33 The power value is very roughly ten times the collect value, except for civilians and uw it's 50, for rads its 0.33, and military are free to collect. The latter two make no sense. Replace the item type collect value by the power value / 50 for people, and by the power value / 10 for everything else. This makes collecting military, shells, guns and uw more expensive, and petrol, bars, iron, oil and rads cheaper. The sector type values are basically arbitrary. For instance, an iron mine costs five times as much as a wilderness, but a third of an uranium mine, regardless of actual resource contents. Replace this by different arbitrary values: sector value = (item value of materials necessary to build it + build cost) * efficiency / 100 + sector type maximum population + sum of item values Some sector types become cheaper, some more expensive. Drop sect-chr and item selector value. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
6ec936a8d6
commit
d9e4677926
16 changed files with 229 additions and 217 deletions
|
@ -64,43 +64,43 @@
|
|||
# econfig key custom_tables.
|
||||
|
||||
config sect-chr
|
||||
uid mnem prd peff val l_b h_b bwork cost maint name ...
|
||||
0 "." -1 0 0 0 0 0 0 0 "sea"
|
||||
1 "^" dust 75 5 0 0 100 100 0 "mountain"
|
||||
2 "s" -1 0 127 0 0 100 0 0 "sanctuary"
|
||||
3 "\134" -1 0 0 0 0 100 0 0 "wasteland"
|
||||
4 "-" -1 0 1 0 0 100 0 0 "wilderness"
|
||||
uid mnem prd peff l_b h_b bwork cost maint name ...
|
||||
0 "." -1 0 0 0 0 0 0 "sea"
|
||||
1 "^" dust 75 0 0 100 100 0 "mountain"
|
||||
2 "s" -1 0 0 0 100 0 0 "sanctuary"
|
||||
3 "\134" -1 0 0 0 100 0 0 "wasteland"
|
||||
4 "-" -1 0 0 0 100 0 0 "wilderness"
|
||||
# Uncomment one of the following two. The second one is for big cities.
|
||||
5 "c" -1 0 30 0 0 100 100 1 "capital"
|
||||
# 5 "c" -1 0 30 100 200 100 1000 1 "city"
|
||||
6 "u" rad 100 15 0 0 100 100 0 "uranium mine"
|
||||
7 "p" hap 100 5 0 0 100 100 0 "park"
|
||||
8 "d" gun 100 7 0 0 100 100 0 "defense plant"
|
||||
9 "i" sh 100 6 0 0 100 100 0 "shell industry"
|
||||
10 "m" iron 100 5 0 0 100 100 0 "mine"
|
||||
11 "g" dust 100 8 0 0 100 100 0 "gold mine"
|
||||
12 "h" -1 0 12 0 0 100 100 0 "harbor"
|
||||
13 "w" -1 0 7 0 0 100 100 0 "warehouse"
|
||||
14 "*" -1 0 12 0 0 100 100 0 "airfield"
|
||||
15 "a" food 900 2 0 0 100 100 0 "agribusiness"
|
||||
16 "o" oil 100 5 0 0 100 100 0 "oil field"
|
||||
17 "j" lcm 100 3 0 0 100 100 0 "light manufacturing"
|
||||
18 "k" hcm 100 4 0 0 100 100 0 "heavy manufacturing"
|
||||
19 "f" -1 0 10 0 100 100 500 0 "fortress"
|
||||
20 "t" tech 100 10 0 0 100 100 0 "technical center"
|
||||
21 "r" med 100 9 0 0 100 100 0 "research lab"
|
||||
22 "n" -1 0 10 0 0 100 100 0 "nuclear plant"
|
||||
23 "l" edu 100 4 0 0 100 100 0 "library/school"
|
||||
24 "+" -1 0 3 0 0 100 100 0 "highway"
|
||||
25 ")" -1 0 4 0 0 100 100 0 "radar installation"
|
||||
26 "!" -1 0 12 0 0 100 100 0 "headquarters"
|
||||
27 "#" -1 0 3 0 0 100 100 0 "bridge head"
|
||||
28 "=" -1 0 5 0 0 100 100 0 "bridge span"
|
||||
29 "b" bars 100 10 0 0 100 100 0 "bank"
|
||||
30 "%" pet 1000 2 0 0 100 100 0 "refinery"
|
||||
31 "e" -1 0 7 0 0 100 100 0 "enlistment center"
|
||||
32 "~" -1 0 1 0 0 100 100 0 "plains"
|
||||
33 "@" -1 0 4 0 0 100 100 0 "bridge tower"
|
||||
5 "c" -1 0 0 0 100 100 1 "capital"
|
||||
# 5 "c" -1 0 100 200 100 1000 1 "city"
|
||||
6 "u" rad 100 0 0 100 100 0 "uranium mine"
|
||||
7 "p" hap 100 0 0 100 100 0 "park"
|
||||
8 "d" gun 100 0 0 100 100 0 "defense plant"
|
||||
9 "i" sh 100 0 0 100 100 0 "shell industry"
|
||||
10 "m" iron 100 0 0 100 100 0 "mine"
|
||||
11 "g" dust 100 0 0 100 100 0 "gold mine"
|
||||
12 "h" -1 0 0 0 100 100 0 "harbor"
|
||||
13 "w" -1 0 0 0 100 100 0 "warehouse"
|
||||
14 "*" -1 0 0 0 100 100 0 "airfield"
|
||||
15 "a" food 900 0 0 100 100 0 "agribusiness"
|
||||
16 "o" oil 100 0 0 100 100 0 "oil field"
|
||||
17 "j" lcm 100 0 0 100 100 0 "light manufacturing"
|
||||
18 "k" hcm 100 0 0 100 100 0 "heavy manufacturing"
|
||||
19 "f" -1 0 0 100 100 500 0 "fortress"
|
||||
20 "t" tech 100 0 0 100 100 0 "technical center"
|
||||
21 "r" med 100 0 0 100 100 0 "research lab"
|
||||
22 "n" -1 0 0 0 100 100 0 "nuclear plant"
|
||||
23 "l" edu 100 0 0 100 100 0 "library/school"
|
||||
24 "+" -1 0 0 0 100 100 0 "highway"
|
||||
25 ")" -1 0 0 0 100 100 0 "radar installation"
|
||||
26 "!" -1 0 0 0 100 100 0 "headquarters"
|
||||
27 "#" -1 0 0 0 100 100 0 "bridge head"
|
||||
28 "=" -1 0 0 0 100 100 0 "bridge span"
|
||||
29 "b" bars 100 0 0 100 100 0 "bank"
|
||||
30 "%" pet 1000 0 0 100 100 0 "refinery"
|
||||
31 "e" -1 0 0 0 100 100 0 "enlistment center"
|
||||
32 "~" -1 0 0 0 100 100 0 "plains"
|
||||
33 "@" -1 0 0 0 100 100 0 "bridge tower"
|
||||
# Deity-defined sector types go here
|
||||
/config
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue