Infrastructure requires lcms and hcms to build. The build materials are exposed as infrastructure columns lcms, hcms (struct sctintrins members in_lcms, in_hcms). They are per point of efficiency. In contrast, sector and unit build materials are defined for 100%. We want to define build materials for 100% now, for flexibility and consistency, and we want to optionally support more build materials in the future. Replace members in_lcms and in_hcms by array in_mat[], and provide selectors l_build and h_build. Additionally provide selectors for all other item types, with value zero, to help clients prepare for future additional materials. Use CA_DUMP_ONLY to keep them out of configuration tables until they actually work. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
7 lines
212 B
Text
7 lines
212 B
Text
config infrastructure
|
|
name l_b h_b bmob cost enab
|
|
"road network" 200 200 100 200 1
|
|
"rail network" 100 100 100 100 1
|
|
"defense factor" 100 100 100 100 0
|
|
/con
|
|
# malformed table footer
|