1
0
Fork 0
Commit Graph

63 Commits (82112e42fe1469f051e176da62b08b9a8be348fa)

Author SHA1 Message Date
NO11 5c563d6ffd Make eating particles much more MC like! 2021-08-02 12:24:34 +00:00
AFCMS cd33d406b2 fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
AFCMS 84a800f22b fix many warnings 2021-05-22 19:58:09 +02:00
Elias Fleckenstein 302175691a Integrate death messages 2021-04-25 16:42:38 +02:00
Elias Fleckenstein 2827542002 Implement food poisoning damage properly~ 2021-04-18 18:49:00 +02:00
AFCMS a602f64ea5 fix many warnings 2021-04-15 23:41:34 +02:00
kay27 4d54766590 quick fix of https://git.minetest.land/Wuzzy/MineClone2/issues/954 2021-01-05 12:15:43 +01:00
Elias Fleckenstein cfc86bcf3d Fix #952 and other occurences of get_player_velocity 2021-01-04 18:06:31 +01:00
Wuzzy 0d7e957694 Fix player eating item when pointing a mob 2020-12-05 01:56:19 +01:00
Wuzzy 152d69f91f mcl_hunger: Remove non-food poison mechanic
It was moved to mcl_potions, so it's OK
2020-08-13 18:44:33 +02:00
Brandon 1563fc7b96 comment sections of mcl_hunger that "poison" player. This is handled in mcl_potions. 2020-07-28 17:13:54 -04:00
Wuzzy c106a62979 Use minetest.is_creative_enabled 2020-07-10 16:45:40 +02:00
Wuzzy c5e4ec5e27 Use ephemeral sounds 2020-04-07 00:55:45 +02:00
Wuzzy 604e1c4d19 Link eating sound back to object again 2020-02-18 23:53:33 +01:00
Wuzzy 7175ffb975 Add workaround for broken eat sound 2019-12-09 08:36:34 +01:00
Wuzzy 21317aa7c7 Fix eating/drinking sounds to user 2019-09-24 18:18:40 +02:00
Wuzzy e37411dc13 Random pitch for eat/drink sounds 2019-03-09 00:10:59 +01:00
Wuzzy 793357cdfe Fix crash in mcl_hunger 2019-03-08 23:47:50 +01:00
Wuzzy 20576431e1 More death messages, more reliable 2019-03-08 20:22:01 +01:00
Wuzzy 4bd9be22e0 Apply eat effect when hunger disabled 2019-02-06 21:23:05 +01:00
Wuzzy 0876e76b40 Fix crash when using chorus fruit on cake 2019-02-05 22:05:56 +01:00
Wuzzy 9ed83bd196 Drop food eating limits in Creative Mode 2019-02-05 21:51:40 +01:00
Wuzzy d9b6bae320 mcl_hunger: core.* → minetest.* 2019-02-05 21:14:28 +01:00
Wuzzy e789801662 Replace getpos() with get_pos() 2019-02-01 06:33:07 +01:00
Wuzzy f022b747b0 Harden a number of minetest.after player checks 2018-06-03 16:44:37 +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 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 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 3dd4b0c522 Rename food HUD Bar back to "hunger" 2017-05-20 23:26:54 +02:00
Wuzzy 61838ced7a Add hunger debug mode 2017-05-20 22:51:40 +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 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 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 bed9ccaa65 Hunger: Add internal saturation and exhaustion 2017-05-20 16:20:03 +02:00
Wuzzy a0800e1296 Node on_rightclick takes precedence over eating 2017-03-02 16:28:49 +01:00