empserver/src/lib/commands
Markus Armbruster 68c7c08a58 config: Make work to build units independently configurable
The work required for build and repairs is traditionally a function of
build materials: 20 + lcm + 2*hcm for ships, planes and land units,
and (lcm + 2*hcm + oil + rad)/5 for nukes.  Make it independently
configurable instead, via new ship-chr, plane-chr, land-chr, nuke-chr
selector bwork, backed by new struct mchrstr member m_bwork, struct
plchrstr member pl_bwork, struct lchrstr member l_bwork, struct
nchrstr member n_bwork.  Keep the required work exactly the same for
now.

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>
2017-08-06 14:04:32 +02:00
..
acce.c Update copyright notice 2017-07-02 17:45:44 +02:00
add.c Update copyright notice 2017-07-02 17:45:44 +02:00
anti.c Update copyright notice 2017-07-02 17:45:44 +02:00
arm.c Update copyright notice 2017-07-02 17:45:44 +02:00
army.c Update copyright notice 2017-07-02 17:45:44 +02:00
assa.c Update copyright notice 2017-07-02 17:45:44 +02:00
atta.c Update copyright notice 2017-07-02 17:45:44 +02:00
bdes.c Update copyright notice 2017-07-02 17:45:44 +02:00
best.c Update copyright notice 2017-07-02 17:45:44 +02:00
boar.c Update copyright notice 2017-07-02 17:45:44 +02:00
bomb.c bomb: Disallow bombing spy units 2017-08-06 14:00:02 +02:00
brea.c Update copyright notice 2017-07-02 17:45:44 +02:00
budg.c Update copyright notice 2017-07-02 17:45:44 +02:00
buil.c config: Make work to build units independently configurable 2017-08-06 14:04:32 +02:00
buy.c Update copyright notice 2017-07-02 17:45:44 +02:00
capi.c Update copyright notice 2017-07-02 17:45:44 +02:00
carg.c Update copyright notice 2017-07-02 17:45:44 +02:00
cens.c Update copyright notice 2017-07-02 17:45:44 +02:00
chan.c Update copyright notice 2017-07-02 17:45:44 +02:00
coas.c Update copyright notice 2017-07-02 17:45:44 +02:00
coll.c Update copyright notice 2017-07-02 17:45:44 +02:00
comm.c Update copyright notice 2017-07-02 17:45:44 +02:00
cons.c Update copyright notice 2017-07-02 17:45:44 +02:00
conv.c Update copyright notice 2017-07-02 17:45:44 +02:00
coun.c Update copyright notice 2017-07-02 17:45:44 +02:00
cuto.c Update copyright notice 2017-07-02 17:45:44 +02:00
decl.c Update copyright notice 2017-07-02 17:45:44 +02:00
deli.c Update copyright notice 2017-07-02 17:45:44 +02:00
demo.c Update copyright notice 2017-07-02 17:45:44 +02:00
desi.c Update copyright notice 2017-07-02 17:45:44 +02:00
disa.c Update copyright notice 2017-07-02 17:45:44 +02:00
dist.c Update copyright notice 2017-07-02 17:45:44 +02:00
drop.c Update copyright notice 2017-07-02 17:45:44 +02:00
dump.c Update copyright notice 2017-07-02 17:45:44 +02:00
echo.c Update copyright notice 2017-07-02 17:45:44 +02:00
edit.c edit: Add editing of land unit plague 2017-08-06 14:04:08 +02:00
enab.c Update copyright notice 2017-07-02 17:45:44 +02:00
enli.c Update copyright notice 2017-07-02 17:45:44 +02:00
expl.c Update copyright notice 2017-07-02 17:45:44 +02:00
fina.c Update copyright notice 2017-07-02 17:45:44 +02:00
flash.c Update copyright notice 2017-07-02 17:45:44 +02:00
flee.c Update copyright notice 2017-07-02 17:45:44 +02:00
fly.c Update copyright notice 2017-07-02 17:45:44 +02:00
forc.c Update copyright notice 2017-07-02 17:45:44 +02:00
fort.c Update copyright notice 2017-07-02 17:45:44 +02:00
give.c Update copyright notice 2017-07-02 17:45:44 +02:00
grin.c Update copyright notice 2017-07-02 17:45:44 +02:00
hard.c Update copyright notice 2017-07-02 17:45:44 +02:00
head.c Update copyright notice 2017-07-02 17:45:44 +02:00
improve.c Update copyright notice 2017-07-02 17:45:44 +02:00
info.c Update copyright notice 2017-07-02 17:45:44 +02:00
land.c Update copyright notice 2017-07-02 17:45:44 +02:00
laun.c Update copyright notice 2017-07-02 17:45:44 +02:00
lboard.c Update copyright notice 2017-07-02 17:45:44 +02:00
ldump.c Update copyright notice 2017-07-02 17:45:44 +02:00
ledg.c Update copyright notice 2017-07-02 17:45:44 +02:00
leve.c Update copyright notice 2017-07-02 17:45:44 +02:00
load.c Update copyright notice 2017-07-02 17:45:44 +02:00
look.c llook: Drop useless "spy loaded" conditional 2017-07-02 17:45:44 +02:00
lost.c Update copyright notice 2017-07-02 17:45:44 +02:00
lstat.c Update copyright notice 2017-07-02 17:45:44 +02:00
lten.c Update copyright notice 2017-07-02 17:45:44 +02:00
map.c Update copyright notice 2017-07-02 17:45:44 +02:00
marc.c Update copyright notice 2017-07-02 17:45:44 +02:00
mark.c Update copyright notice 2017-07-02 17:45:44 +02:00
mfir.c fire: Fix damage and ammunition use of return fire 2017-07-02 17:45:44 +02:00
mine.c Update copyright notice 2017-07-02 17:45:44 +02:00
miss.c plnsub: Add missing newline to two messages 2017-08-06 14:03:09 +02:00
mora.c Update copyright notice 2017-07-02 17:45:44 +02:00
move.c Update copyright notice 2017-07-02 17:45:44 +02:00
name.c Update copyright notice 2017-07-02 17:45:44 +02:00
nati.c Update copyright notice 2017-07-02 17:45:44 +02:00
navi.c Update copyright notice 2017-07-02 17:45:44 +02:00
ndump.c Update copyright notice 2017-07-02 17:45:44 +02:00
new.c Update copyright notice 2017-07-02 17:45:44 +02:00
newe.c Update copyright notice 2017-07-02 17:45:44 +02:00
news.c Update copyright notice 2017-07-02 17:45:44 +02:00
nuke.c Update copyright notice 2017-07-02 17:45:44 +02:00
offe.c Update copyright notice 2017-07-02 17:45:44 +02:00
orig.c Update copyright notice 2017-07-02 17:45:44 +02:00
para.c Update copyright notice 2017-07-02 17:45:44 +02:00
path.c Update copyright notice 2017-07-02 17:45:44 +02:00
payo.c Update copyright notice 2017-07-02 17:45:44 +02:00
pboa.c Update copyright notice 2017-07-02 17:45:44 +02:00
pdump.c Update copyright notice 2017-07-02 17:45:44 +02:00
peek.c Update copyright notice 2017-07-02 17:45:44 +02:00
plan.c Update copyright notice 2017-07-02 17:45:44 +02:00
play.c Update copyright notice 2017-07-02 17:45:44 +02:00
powe.c Update copyright notice 2017-07-02 17:45:44 +02:00
prod.c Update copyright notice 2017-07-02 17:45:44 +02:00
pstat.c Update copyright notice 2017-07-02 17:45:44 +02:00
rada.c Update copyright notice 2017-07-02 17:45:44 +02:00
rang.c Update copyright notice 2017-07-02 17:45:44 +02:00
rea.c Update copyright notice 2017-07-02 17:45:44 +02:00
real.c Update copyright notice 2017-07-02 17:45:44 +02:00
reco.c Update copyright notice 2017-07-02 17:45:44 +02:00
reje.c Update copyright notice 2017-07-02 17:45:44 +02:00
rela.c Update copyright notice 2017-07-02 17:45:44 +02:00
relo.c Update copyright notice 2017-07-02 17:45:44 +02:00
repa.c Update copyright notice 2017-07-02 17:45:44 +02:00
repo.c Update copyright notice 2017-07-02 17:45:44 +02:00
rese.c Update copyright notice 2017-07-02 17:45:44 +02:00
reso.c Update copyright notice 2017-07-02 17:45:44 +02:00
retr.c Update copyright notice 2017-07-02 17:45:44 +02:00
rout.c Update copyright notice 2017-07-02 17:45:44 +02:00
sabo.c Update copyright notice 2017-07-02 17:45:44 +02:00
sate.c Update copyright notice 2017-07-02 17:45:44 +02:00
scra.c Update copyright notice 2017-07-02 17:45:44 +02:00
scut.c Update copyright notice 2017-07-02 17:45:44 +02:00
sdump.c Update copyright notice 2017-07-02 17:45:44 +02:00
sect.c Update copyright notice 2017-07-02 17:45:44 +02:00
sell.c Update copyright notice 2017-07-02 17:45:44 +02:00
set.c Update copyright notice 2017-07-02 17:45:44 +02:00
setres.c Update copyright notice 2017-07-02 17:45:44 +02:00
setsect.c Update copyright notice 2017-07-02 17:45:44 +02:00
shar.c Update copyright notice 2017-07-02 17:45:44 +02:00
shark.c Update copyright notice 2017-07-02 17:45:44 +02:00
shi.c Update copyright notice 2017-07-02 17:45:44 +02:00
shoo.c Update copyright notice 2017-07-02 17:45:44 +02:00
show.c Update copyright notice 2017-07-02 17:45:44 +02:00
shut.c Update copyright notice 2017-07-02 17:45:44 +02:00
sinf.c Update copyright notice 2017-07-02 17:45:44 +02:00
skyw.c Update copyright notice 2017-07-02 17:45:44 +02:00
sona.c Update copyright notice 2017-07-02 17:45:44 +02:00
spy.c Update copyright notice 2017-07-02 17:45:44 +02:00
sstat.c Update copyright notice 2017-07-02 17:45:44 +02:00
stoc.c Update copyright notice 2017-07-02 17:45:44 +02:00
stop.c Update copyright notice 2017-07-02 17:45:44 +02:00
stre.c Update copyright notice 2017-07-02 17:45:44 +02:00
strv.c Update copyright notice 2017-07-02 17:45:44 +02:00
supp.c Update copyright notice 2017-07-02 17:45:44 +02:00
surv.c Update copyright notice 2017-07-02 17:45:44 +02:00
swap.c Update copyright notice 2017-07-02 17:45:44 +02:00
tele.c Update copyright notice 2017-07-02 17:45:44 +02:00
tend.c Update copyright notice 2017-07-02 17:45:44 +02:00
terr.c Update copyright notice 2017-07-02 17:45:44 +02:00
testing.c Update copyright notice 2017-07-02 17:45:44 +02:00
thre.c Update copyright notice 2017-07-02 17:45:44 +02:00
togg.c Update copyright notice 2017-07-02 17:45:44 +02:00
torp.c Update copyright notice 2017-07-02 17:45:44 +02:00
trad.c Update copyright notice 2017-07-02 17:45:44 +02:00
tran.c Update copyright notice 2017-07-02 17:45:44 +02:00
turn.c Update copyright notice 2017-07-02 17:45:44 +02:00
upda.c Update copyright notice 2017-07-02 17:45:44 +02:00
upgr.c config: Make work to build units independently configurable 2017-08-06 14:04:32 +02:00
vers.c Update copyright notice 2017-07-02 17:45:44 +02:00
wing.c Update copyright notice 2017-07-02 17:45:44 +02:00
wipe.c Update copyright notice 2017-07-02 17:45:44 +02:00
work.c Update copyright notice 2017-07-02 17:45:44 +02:00
xdump.c Update copyright notice 2017-07-02 17:45:44 +02:00
zdon.c Update copyright notice 2017-07-02 17:45:44 +02:00