63 Commits

Author SHA1 Message Date
tenplus1
ea68ecd3f0 Tweak & Tidy 2024-12-18 11:09:19 +00:00
tenplus1
b831f9fc34 improve sip sounds 2024-10-16 11:05:16 +01:00
tenplus1
13b67fc033 increase drink gain 2024-10-15 13:11:22 +01:00
tenplus1
31e232731d tweak mod order, increase sprint speed to 0.5 2024-08-30 10:04:16 +01:00
tenplus1
4776d6ad13 tweak and tidy code 2024-08-13 13:35:53 +01:00
tenplus1
79a4d2f431 merge all global variables into stamina global 2024-07-28 11:00:06 +01:00
tenplus1
0b28ff0b8e add hud style detection 2024-03-22 10:02:00 +00:00
tenplus1
cda9aab144 5.x release 2023-08-08 14:29:28 +01:00
tenplus1
6e16f6b8e7 double check player is_player 2023-07-26 17:22:49 +01:00
tenplus1
dcfb497d73 added 0.4.x support and fake player check function 2023-07-24 08:11:38 +01:00
tenplus1
edb8199c70 dont update hud/hunger if damage not enabled 2023-01-17 09:46:38 +00:00
tenplus1
44141e678e remove print line 2022-12-22 08:36:04 +00:00
tenplus1
a92128b6ee add settings for stamina speed, jump and drain (thankx Awkanimus) 2022-12-22 08:34:51 +00:00
tenplus1
c84bee49b2 add loaded msg 2022-12-19 17:00:04 +00:00
tenplus1
dbb5be1e31 use wield image if inventory image not found 2022-10-30 08:08:26 +00:00
tenplus1
96570a558e if enable_damage is false, disable eating functions 2022-08-02 14:10:31 +01:00
tenplus1
0fb4e82b58 tweak lucky blocks and update readme 2022-07-30 07:45:07 +01:00
tenplus1
9a175b5dfb add player nil checks where needed 2022-01-22 08:15:26 +00:00
tenplus1
5fd2b2e5c9 fix player monoid bug (thanks Bastrabun) 2022-01-21 08:41:39 +00:00
tenplus1
7971f5ce44 add nil check 2021-07-13 20:58:56 +01:00
tenplus1
ec07a652b0 Signed-off-by: tenplus1 <kinsellaja@yahoo.com> 2021-07-13 20:57:56 +01:00
tenplus1
f83ee21cac fix nil pos on drop 2021-07-06 08:39:52 +01:00
tenplus1
2a01d97315 change dig and craft exhaustion levels 2021-07-03 13:42:23 +01:00
tenplus1
7b7b45360e add particle effects for being drunk and poisoned 2021-06-21 12:24:41 +01:00
tenplus1
3ebe58f854 add poison and drunk effect to lucky blocks 2021-06-08 18:54:27 +01:00
tenplus1
2fd7a45f31 add stamina.mod = "redo" flag, add lucky blocks 2021-06-08 18:27:28 +01:00
tenplus1
cd681aa6da eating particles appear at eye level 2021-04-02 10:10:36 +01:00
tenplus1
aacc11d64c tidy and tweak code, add some nil checks 2021-02-19 16:22:43 +00:00
tenplus1
d597cf488c add nil check 2021-02-08 20:30:28 +00:00
tenplus1
715a58d34f stamina_tick settings added to menu, soy_milk heals poison effect, code tidy 2021-01-06 14:41:39 +00:00
tenplus1
5166bf7796 update settings 2020-12-30 13:17:48 +00:00
tenplus1
b1497e7165 code tidy 2020-11-09 13:25:21 +00:00
tenplus1
f13a9456d9 add nil check for sprint 2020-08-29 17:26:21 +01:00
tenplus1
e82125db98 add nil check for sprint 2020-08-23 13:49:06 +01:00
tenplus1
ed153b9e60 nil check for poisoned 2020-07-31 18:42:11 +01:00
TenPlus1
d0c0e4c78a bucket or glass of milk negates drunk and poison effects 2020-06-30 20:26:09 +01:00
TenPlus1
f46e004c1e play sip sound when item eaten has {drink=1} group set, burp every 20 seconds when drunk 2020-06-30 20:01:12 +01:00
tenplus1
250cbeca55 stop being drunk or poisoned after drinking bucket of milk 2020-06-20 21:43:42 +01:00
tenplus1
95ae8a2894 nil check for controls 2020-06-16 21:13:05 +01:00
TenPlus1
7951c8bc6e tweak code 2020-06-05 20:40:43 +01:00
TenPlus1
04d394c75d hp_change now has reasons added 2020-05-17 20:09:36 +01:00
TenPlus1
ae318e73a6 use player meta 2020-04-12 16:01:56 +01:00
TenPlus1
8b766a1ba0 do not update stamina if 'interact' priv not true 2019-07-23 11:47:59 +01:00
TenPlus1
0f57240fd1 dont apply starvation damage if already dead 2019-07-17 12:55:42 +01:00
TenPlus1
2018b55168 reverted back to previous player loops 2019-03-01 11:55:59 +00:00
TenPlus1
ac55721c95 tweak code 2019-02-28 13:06:44 +00:00
TenPlus1
a8119b5e3f reset hud on death if poisoned or drunk 2019-02-28 10:22:54 +00:00
TenPlus1
173b4fde48 tweaked drunk effects, tweaked and tidied code 2019-02-28 10:11:18 +00:00
TenPlus1
b825006c0b dont do drunk effects when player is riding boat/cart/horse etc. 2019-02-27 15:50:54 +00:00
TenPlus1
2c70abd4e2 Added 60 second drunk effect when you eat 3 or more foods with {alcohol=1} group set (thanks LumberJ) 2019-02-27 15:18:19 +00:00