Commit Graph

17 Commits

Author SHA1 Message Date
Wuzzy
7af1292b9f Clarify previous commit 2017-05-20 22:35:50 +02:00
Wuzzy
dfbce6836a Save exhaust/saturation as integers 2017-05-20 22:33:10 +02:00
Wuzzy
ae19fd9cba Hacky saturation+exhaustion persisting 2017-05-20 22:06:12 +02:00
Wuzzy
d8e1124ee4 Refactor set/get hunger functions 2017-05-20 21:23:02 +02:00
Wuzzy
26e13119cb Get rid of those weird hunger_raw functions 2017-05-20 20:59:30 +02:00
Wuzzy
690e81c0fe Do not allow negative hunger 2017-05-20 20:40:22 +02:00
Wuzzy
0bb0ba91d9 Hunger: Remove some redundant HUD bar changes 2017-05-20 20:07:10 +02:00
Wuzzy
22b8ba6440 Don't decrease hunger if saturation down from < 1 2017-05-20 19:59:47 +02:00
Wuzzy
5252409326 Reduce food level when exhaust>=4 and satur.=0 2017-05-20 19:51:46 +02:00
Wuzzy
2b484d8da3 Fix saturation possibly getting lower than 0 2017-05-20 18:48:40 +02:00
Wuzzy
3291fcb054 Add saturation value to food items 2017-05-20 17:45:04 +02:00
Wuzzy
a300831614 Add dummy saturation for eating food 2017-05-20 16:59:11 +02:00
Wuzzy
7c5b613032 Clean up hunger debug HUD bars 2017-05-20 16:37:31 +02:00
Wuzzy
bed9ccaa65 Hunger: Add internal saturation and exhaustion 2017-05-20 16:20:03 +02:00
Wuzzy
10446881b4 Take away 3 food points for regenerating 2017-05-20 15:01:59 +02:00
Wuzzy
0288f9d0a9 Add mcl_hunger API: Set and get hunger 2017-02-21 15:58:51 +01:00
Wuzzy
c000f8c2a4 Rename hbhunger to mcl_hunger 2017-02-16 14:19:34 +01:00