]> 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@pike.pond.sub.org>
Wed, 7 May 2008 08:33:41 +0000 (10:33 +0200)
commit95298986cc17d5b106508770f3820bdc54237447
treebf6db4689a6cc7adeeb59385487b3bd1ac092eba
parentdc9d847b8ba8bcf7da2ca7b47695abf51745f3eb
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