36 Commits

Author SHA1 Message Date
oilboi
222f856ecd Rewrite fire 2020-06-23 22:58:05 -04:00
oilboi
275f652a1c Fixes to hunger and drowning 2020-06-15 12:04:00 -04:00
oilboi
67308f2b91 Fix crashes 2020-06-14 20:23:50 -04:00
oilboi
0df8facb4d Rewrite 2020-06-14 20:15:35 -04:00
oilboi
92d0040c51 Overhaul eating 2020-06-14 15:02:28 -04:00
oilboi
50ebc24860 Swap hunger and drowning bar position and make drowning bar dissapear when full 2020-06-11 19:00:42 -04:00
oilboi
15ee31a052 Re-implement health regeneration 2020-06-11 18:37:53 -04:00
oilboi
b5507580bd Rewrite a lot of things and make drowning it's own mod (rewritten) 2020-06-11 18:25:35 -04:00
oilboi
c05de98369 Completely rewrite new_functions 2020-06-11 16:29:01 -04:00
oilboi
9ccc3adfdc Move hunger class functions around so they're easier to read 2020-06-11 12:01:43 -04:00
oilboi
430522f06d Turn the hunger and satiation tick mess into functions 2020-06-11 11:57:08 -04:00
oilboi
2cac6babac Make hunger not crash when exiting smp 2020-06-11 11:37:12 -04:00
oilboi
8bd469f0bd Push part 1 of complete game rewrite 2020-06-10 20:12:49 -04:00
oilboi
a430350809 Make players health not regenerate when on fire 2020-06-09 02:27:12 -04:00
oilboi
861ee7c9d4 Fix regeneration not continuing with full hunger bar 2020-05-30 23:36:24 -04:00
oilboi
765e586a19 Overhaul the boat and iron boat 2020-05-25 23:22:47 -04:00
oilboi
37136cb8d9 Make satiation set the satiation level to the food satiation 2020-05-25 15:52:38 -04:00
oilboi
d20065a397 Rework all foods to use new particle system with minetest.register_food 2020-05-23 17:54:22 -04:00
oilboi
7ff177fdce Stop health regenerating while drowning 2020-05-19 13:07:17 -04:00
oilboi
269bce7c4c Fix A LOT of things 2020-05-15 08:00:13 -04:00
oilboi
58d2eb3a21 Fix hunger crashing with nil digger 2020-05-07 03:33:05 -04:00
oilboi
17e6a746d6 Fix server digging node crashing game 2020-05-06 21:16:18 -04:00
oilboi
acdb1358ad Make satiation only affect hunger depletion when hunger bar is full 2020-05-05 21:59:20 -04:00
oilboi
390404a562 Make regeneration a bit more balanced 2020-05-05 21:49:32 -04:00
oilboi
6a0572a683 Comment out debug info on satiation and exhaustion_tick 2020-05-05 21:20:16 -04:00
oilboi
78dbab8511 Use actual state modifiers with ticks to control satiation and hunger instead of randomness 2020-05-05 21:06:38 -04:00
oilboi
85a913ccdb Balance hunger so it doesn't last forever 2020-05-05 04:43:22 -04:00
oilboi
c5c0cb7d91 Add block breaking induced hunger and tweak hunger mechanics even further 2020-05-05 04:13:39 -04:00
oilboi
28b0614fa8 Balance hunger even further so players do not starve within 2 minutes 2020-05-05 03:26:11 -04:00
oilboi
42f78ddeee Fix more balancing with hunger 2020-05-05 01:59:01 -04:00
oilboi
1f8c55ec46 Fix player respawning not setting their satiation and hunger 2020-05-05 01:55:56 -04:00
oilboi
499fbbd1c1 Correct minor hunger expenditure 2020-05-05 01:41:10 -04:00
oilboi
4065eae438 Update hunger bar properly and take items when eaten 2020-05-05 01:34:30 -04:00
oilboi
d2561b44e5 Make HP regeneration take away from satiation 2020-05-05 01:15:51 -04:00
oilboi
bfc8c7c28d Add hunger 2020-05-05 01:07:02 -04:00
oilboi
f80d572629 Add hunger into Crafter 2020-05-05 00:34:47 -04:00