Commit Graph

40 Commits

Author SHA1 Message Date
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
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
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