empserver/tests/empdump/xundump-errors/colhdr-miss2
Markus Armbruster 1d8451e87b config: Make product work independently configurable
The work required for a product is traditionally the amount of raw
materials, plus 1 for resource usage, or 1 if using neither.  Make it
independently configurable instead, via new product selector bwork,
backed by new struct pchrstr member p_bwork.  Keep the required work
exactly the same in the default configuration.

Clients that compute work from materials need to be updated.  Easy,
since build work is now exposed in xdump.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2021-01-23 08:39:14 +01:00

32 lines
533 B
Text

config product
uid sname ...
0 "iron"
1 "dust"
2 "food"
3 "oil"
4 "rad"
5 "shells"
6 "guns"
7 "petrol"
8 "bars"
9 "lcm"
10 "hcm"
11 "tech"
12 "medical"
13 "edu"
14 "happy"
/config
config product
name
# header 'ctype(0)' ... 'ctype(2)' missing
# header 'camt(0)' ... 'camt(2)' missing
# header 'bwork' missing
# header 'type' missing
# header 'level' missing
# header 'cost' missing
# header 'nrndx' missing
# header 'nrdep' missing
# header 'nlndx' missing
# header 'nlmin' missing
# header 'nllag' missing