Commit graph

95 commits

Author SHA1 Message Date
Wuzzy
b2b196bccd Rename setting name 2017-06-09 14:11:16 +02:00
Wuzzy
6f01334c80 Add simple death messages 2017-06-09 13:39:06 +02:00
Wuzzy
900b840762 Add “keep inventory” setting 2017-06-09 12:42:21 +02:00
Wuzzy
c4c3afa375 Fix mcl_hunger init 2017-06-07 01:04:58 +02:00
Wuzzy
9f683542af Fix some bugs with poison bar displaying 2017-06-06 18:33:01 +02:00
Wuzzy
f1b99dc117 Use new player attribute API for mcl_hunger 2017-06-06 18:04:36 +02:00
Wuzzy
d21eefbb78 Hunger: Remove file loading code 2017-06-06 17:12:21 +02:00
Wuzzy
316ee94c2d Clean up and rename textures in mcl_core 2017-05-26 01:06:54 +02:00
Wuzzy
08beecbc29 No longer regen health at 0.5s at full hunger bar 2017-05-23 18:56:49 +02:00
Wuzzy
90a28d3ec5 Fix poison not reset after respawn 2017-05-23 02:20:10 +02:00
Wuzzy
c2c9a2f4a4 Prevent eating most things at full hunger bar 2017-05-23 02:04:27 +02:00
Wuzzy
eab0205c2f Disable eat delay for cake 2017-05-23 01:51:37 +02:00
Wuzzy
3ff572d2bc Force 2 second delay between eating 2017-05-23 01:39:19 +02:00
Wuzzy
b8cc752e79 Rename: playerplus→mcl_playerplus, drop compat. 2017-05-23 00:53:55 +02:00
Wuzzy
632ebd6389 Fix no swim exhaustion when wading through water 2017-05-23 00:45:31 +02:00
Wuzzy
355c99fee2 Refactor playerplus 2017-05-23 00:42:32 +02:00
Wuzzy
3632d9ac3a More reliable jump detection 2017-05-23 00:35:27 +02:00
Wuzzy
3cd02e3262 Clean up jump exhaustion code a bit 2017-05-22 23:51:08 +02:00
Wuzzy
6f56c5cec9 Fix no exhaustion caused by being on top of water 2017-05-22 23:21:29 +02:00
Wuzzy
eeb855c00a Add exhaustion for swimming 2017-05-22 23:16:27 +02:00
Wuzzy
75cfe51b54 Move bubble particle spawner to playerplus 2017-05-22 22:43:25 +02:00
Wuzzy
cfcf22f0de Add bubble particles for players being underwater 2017-05-22 22:04:42 +02:00
Wuzzy
83d25276a9 Fix broken hunger mod when damage disabled 2017-05-22 08:20:58 +02:00
Wuzzy
50ed336144 Add PvP combat exhaustion 2017-05-21 06:20:00 +02:00
Wuzzy
3c72330880 Add exhaust for cactus damage 2017-05-21 06:07:23 +02:00
Wuzzy
0167a2f41b Change food bar when player is food poisoned 2017-05-21 01:32:05 +02:00
Wuzzy
2861f11fb8 Implement poison chance for poisonous food 2017-05-21 00:54:52 +02:00
Wuzzy
4fb404bba5 Update poisonous food help and values 2017-05-21 00:43:30 +02:00
Wuzzy
8ce001a564 Make milk stop food poisoning 2017-05-21 00:22:11 +02:00
Wuzzy
d241df3d1a Fix regressing causing eat effect for drinks 2017-05-21 00:08:31 +02:00
Wuzzy
6518fa7599 Fix crash for missing _mcl_saturation 2017-05-21 00:04:39 +02:00
Wuzzy
aeff735b87 Add hunger effect for poisonous foods 2017-05-21 00:01:39 +02:00
Wuzzy
af4ef21675 Fix annoying mcl_hunger typo (“poisen”) 2017-05-20 23:34:31 +02:00
Wuzzy
9a520450c1 TODO list for exhaustion 2017-05-20 23:31:54 +02:00
Wuzzy
3dd4b0c522 Rename food HUD Bar back to "hunger" 2017-05-20 23:26:54 +02:00
Wuzzy
7115cc28c4 New images for mcl_hunger debug mode 2017-05-20 23:20:50 +02:00
Wuzzy
65a874136d Add hidden hunger debug setting 2017-05-20 22:55:33 +02:00
Wuzzy
61838ced7a Add hunger debug mode 2017-05-20 22:51:40 +02:00
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
daf42e45c3 Limit saturation bonus by max food points 2017-05-20 20:00:26 +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
8114ecf263 Dump unused code in mcl_sprint mod 2017-05-20 19:18:37 +02:00
Wuzzy
d13546246e Cause exhaustion by sprinting 2017-05-20 19:14:07 +02:00