Page 1 of 1

Reduce food consumption

Posted: Tue Jul 16, 2013 9:24 pm
by maneus
I have searched in the forum but without any result.

Is it possible to reduce the food consumption rate in the game of each champion?

My party is very tough and needs no food for a long time. :D

I would be appreciate for any help.

Re: Reduce food consumption

Posted: Sun Jan 12, 2014 1:33 am
by chaoscommencer
Indeed this would be nice to know. A recreation of Stonekeep in Grimrock could definitely use this as well, since the original version did not require food. That was one thing I found in this game, that, although realistic, was more of a useless pain to have to deal with. If I were to finish my dungeon I would like to be able to turn off food requirements entirely if possible. Were you ever able to find a solution maneus?

Re: Reduce food consumption

Posted: Sun Jan 12, 2014 2:43 am
by DesperateGames
I must admit I have never used these functions so far:
Champion:consumeFood(amount)
Consumes an amount of food taking racial food consumption rate and other factors into account.

Champion:modifyFood(amount)
Adds amount to current food stat directly without applying any modifiers. Amount can be a signed value.

Champion:getFood()
Returns champion’s current food value.
(from scripting reference)

But I could imagine that you could set up a timer to repeatedly execute a function that will add tiny amounts of food to the champions, e.g. "Add 1 food to each champion every 10 seconds" If the player does not look too closely at the food bar, he should not notice that you are adding something in the background now and then, and in result it should feel like it takes a lot longer until your characters get hungry again.

Or, for chaoscommencer's cause, it should be possible to fill the food bars entirely every 30 seconds or so to completely get rid of food.

Re: Reduce food consumption

Posted: Sun Jan 12, 2014 3:38 am
by chaoscommencer
Thanks for the reply, I've actually considered a workaround just like this, but I feel there must be a disable food requirement/status option somewhere that would eliminate the need for an extra timer and extra scripting overhead.