]> git.pond.sub.org Git - empserver/commit
Don't produce food without work
authorMarkus Armbruster <armbru@pond.sub.org>
Tue, 1 Apr 2008 18:17:52 +0000 (20:17 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 28 Oct 2008 23:35:51 +0000 (19:35 -0400)
commit0bdb80c4c9aec9cc2816cfbc8bf999f436f35914
tree06c0f6cce3774554b3b7f2a81aed7e163200264b
parent3376589007f991dc1a7a0cc1b8f3da59c73374c8
Don't produce food without work

We don't want to starve tiny populations, because that would require
players to move trivial amounts of food after explore and such.
growfood() used to simply grow at least 1f when a sector was about to
starve.  That food is almost never eaten by a tiny population, so we
effectively got some production without work.  Fix by taking away that
free food after people ate, in do_feed().
src/lib/update/human.c