]> git.pond.sub.org Git - empserver/commit
update: Make ships produce after eating and building
authorMarkus Armbruster <armbru@pond.sub.org>
Tue, 21 Jun 2016 20:25:20 +0000 (22:25 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 6 Aug 2017 18:08:30 +0000 (20:08 +0200)
commit391778e09c99e74c5e33f7d63cf479fb80266241
tree4eb7d31c5063bd864c57ce4157687833cbf06247
parentda14a032310adab90bd9fd75833c636addc95b57
update: Make ships produce after eating and building

People in sectors first eat, then build the sector, then produce.
People in ships produce, eat, then build.

The starvation command can be off for fishing vessels, because it
doesn't consider the food they produce.

Change ships to match sectors.  "Fixes" starvation.  Fishing boats and
oil derricks being repaired at sea become a bit more productive.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
info/Update-sequence.t
src/lib/update/ship.c
tests/smoke/final.xdump
tests/smoke/journal.log
tests/update/01-1
tests/update/final.xdump
tests/update/journal.log