Bleached InuYasha Galaxy http://biyg.org/forums/ |
|
thirst and hunger http://biyg.org/forums/viewtopic.php?f=4&t=2018 |
Page 1 of 1 |
Author: | ayeraan [ October 18th, 2009, 9:14 pm ] |
Post subject: | thirst and hunger |
perhaps something in the score command to show how thirsty you are... Code: static const char how_thirsty(int thirst) { if (thirst < 0) return " Very thirst!"; if (thirst == 0) return " Somewhat thirsty"; if (thirst <= 10) return " Could use a drink..."; if (thirst <= 15) return " Doing fine"; if (thirst <= 20) return " Bloated."; return "Prolly shouldn't ever see this.."; } That is assuming of course your max is 25 like stock is (i believe) Vash~ |
Author: | ayeraan [ October 18th, 2009, 9:28 pm ] |
Post subject: | Re: thirst and hunger |
rofl, i just realised i kinda goofed there, shouldn't go under zero so == zero and under would both be VERY thristy or something |
Author: | Alexander [ October 19th, 2009, 4:33 am ] |
Post subject: | Re: thirst and hunger |
While there are periodic messages inbetween ticks as you descend into thirst/hunger, I could see the use of a more accurate message in-score itself. *Supported* |
Page 1 of 1 | All times are UTC - 5 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |