12 Commits

Author SHA1 Message Date
Wuzzy
a35a2473c1 Localize some hunger vars 2022-05-25 18:45:21 +02:00
Wuzzy
89b89fcf8e Use globals for max health/breath 2022-05-06 15:41:45 +02:00
Wuzzy
eb5dbf928c Some hunger cleanup 2022-05-06 15:08:42 +02:00
Wuzzy
4e76de2d98 Reset satiation and other hunger values on respawn 2022-05-06 14:53:08 +02:00
Wuzzy
850320d8aa Fix missing newline in hunger debug 2022-05-06 14:03:51 +02:00
Wuzzy
f0778a4e34 Name the hardcoded constants of rp_hunger 2022-05-06 13:52:12 +02:00
Wuzzy
a7d1749c4c Add code for hunger debugging 2022-05-06 13:37:23 +02:00
Wuzzy
d288ee52c1 Always regenerate health if hunger is disabled 2022-05-06 12:56:16 +02:00
Wuzzy
6f0c72bb2d More settings cleanup 2022-05-05 08:20:10 +02:00
Wuzzy
5989c9ce22 Expose more settings in settingtypes.txt 2022-05-05 07:35:56 +02:00
Wuzzy
5525c5e52a Use minetest.is_creative_enabled everywhere 2022-05-04 12:51:06 +02:00
Wuzzy
381240d827 Rename mod: hunger → rp_hunger 2022-04-22 21:25:34 +02:00