Commit Graph

476 Commits

Author SHA1 Message Date
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
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 decb9d6870 Make players suffocate only in opaque blocks 2017-03-14 04:33:11 +01:00
Wuzzy 2495676e54 Rename mapgen variables 2017-03-04 23:00:23 +01:00
Wuzzy a0800e1296 Node on_rightclick takes precedence over eating 2017-03-02 16:28:49 +01:00
Wuzzy 787568e5d6 Drop crafting grid and armor on death 2017-03-01 23:26:46 +01:00
Wuzzy 68d571a399 Add optdepends to mcl_hunger 2017-02-28 05:17:38 +01:00
Wuzzy 83566dfddb Use Faithful 1.11 poison health icon 2017-02-28 05:15:55 +01:00
Wuzzy bc43ecd28f Make poisonous food temp. less nutricious 2017-02-28 05:15:29 +01:00
Wuzzy 6ec9da0fae Add simple food poisoning to some food items 2017-02-28 04:53:52 +01:00
Wuzzy bb9d6cf037 Show barrier positions when wielding barrier 2017-02-24 06:24:16 +01:00
Wuzzy c8d9ab48c7 API: Hint about mcl_hunger var 2017-02-22 13:33:45 +01:00
Wuzzy c60cff8f81 Fix crash when sprinting 2017-02-22 13:28:03 +01:00
Wuzzy 7da471386b Remove unused optdepends of mcl_hunger 2017-02-22 13:18:26 +01:00
Wuzzy d36beaf64f Prevent sprinting if hunger level <= 6 2017-02-21 16:44:26 +01:00
Wuzzy 2e7ce77985 mcl_util.is_in_void 2017-02-21 16:38:28 +01:00
Wuzzy 0288f9d0a9 Add mcl_hunger API: Set and get hunger 2017-02-21 15:58:51 +01:00
Wuzzy 341e8fadb2 Move sprint vars into mcl_sprint table 2017-02-21 15:45:48 +01:00
Wuzzy 94eb0b19e6 Only 30% sprint speed, no higher sprint jump 2017-02-21 15:43:37 +01:00
Wuzzy dd03c2a62a Add simple sprinting mod
Based on [sprint] by GunshipPenguin
2017-02-21 15:39:22 +01:00
Wuzzy c1f8e37b1e Remove old broken sprint mod 2017-02-21 15:12:31 +01:00
Wuzzy 5a6fd4f39f Resolve the void / weather sky color conflict 2017-02-21 13:48:20 +01:00
Wuzzy edde01d582 Fix weather sky color issues
But also disable void blackness
2017-02-21 04:20:43 +01:00
Wuzzy 1f3d14e0b0 Complain about ugly soul sand speed code 2017-02-20 17:10:51 +01:00
Wuzzy 1f4f6a0e84 Soul sand + (packed) ice or slimeblock = ultraslow 2017-02-20 17:06:19 +01:00
Wuzzy 342f0dcdaa Slow down players even more on soul sand 2017-02-20 16:58:56 +01:00
Wuzzy aa5ef41015 Globalize bedrock generation position 2017-02-20 07:10:03 +01:00
Wuzzy 0f2787cd16 Handle player void handling in playerplus 2017-02-20 06:56:17 +01:00
Wuzzy 22c5f0f41e Add a map imitation
The map item just enables the minimap. It's pretty overpowered at the moment.
2017-02-20 00:51:28 +01:00
Wuzzy dd05828281 Fix crash when eating 2017-02-17 03:12:46 +01:00
Wuzzy b8a2149995 Remove weird function call in hunger mod 2017-02-17 03:00:15 +01:00
Wuzzy b020c74fad Adjust number of food particles based on food points gained 2017-02-16 18:10:24 +01:00
Wuzzy 9816c91b6e Make food particles follow player speed 2017-02-16 18:01:42 +01:00
Wuzzy bbf7efc338 Remove food particles for eating a cake 2017-02-16 15:25:07 +01:00
Wuzzy d798df0742 Don't show food particle without inv/wield img 2017-02-16 15:17:42 +01:00
Wuzzy c587d6316e Use drinking sound for milk and soups 2017-02-16 15:08:26 +01:00
Wuzzy e3cea8ffdc Rename bite sounds 2017-02-16 14:49:29 +01:00
Wuzzy 6912ca832c Update eating sound 2017-02-16 14:47:50 +01:00
Wuzzy 16bfda053d Remove huge food register list in mcl_hunger 2017-02-16 14:20:57 +01:00
Wuzzy c000f8c2a4 Rename hbhunger to mcl_hunger 2017-02-16 14:19:34 +01:00
Wuzzy 3696ee3761 Organize mods into modpacks for better overview 2017-02-16 01:45:21 +01:00