Commit graph

202 commits

Author SHA1 Message Date
Wuzzy
d9b6bae320 mcl_hunger: core.* → minetest.* 2019-02-05 21:14:28 +01:00
Wuzzy
7437d3945b Forget spawn if bed was destroyed 2019-02-05 00:07:39 +01:00
Wuzzy
a11f6ffaac Don't respawn on bed if bed is missing or blocked 2019-02-04 16:58:28 +01:00
Wuzzy
e789801662 Replace getpos() with get_pos() 2019-02-01 06:33:07 +01:00
Wuzzy
68c373d2b8 Add a couple of modpack.conf files 2019-01-07 00:52:05 +01:00
Wuzzy
e09955f0fb Add description.txt for playerphysics 2018-10-23 18:58:23 +02:00
Wuzzy
2ff543a7bc Add playerphysics version number 2018-10-23 18:53:36 +02:00
Wuzzy
b076bafaa7 Rename mcl_playerphysics to playerphysics 2018-10-23 18:51:19 +02:00
Wuzzy
f022b747b0 Harden a number of minetest.after player checks 2018-06-03 16:44:37 +02:00
Wuzzy
48b7191af2 Regularily damage and delete entities in void 2018-05-25 13:45:41 +02:00
Wuzzy
2c4eae353c Use mcl_playerphysics to handle player physics
This fixes some issues with speed overrides and gets rid of ugly workarounds.
2018-05-07 20:10:53 +02:00
Wuzzy
da03b6af6a Add playerphysics framework 2018-05-07 19:56:48 +02:00
Wuzzy
16bb9b8901 Localize various unneeded global variables 2018-01-26 22:37:42 +01:00
Wuzzy
f71cff0468 Can't sprint and sneak at the same time 2018-01-08 04:03:28 +01:00
Wuzzy
53511b69fd Teleport player to spawn if in deep void w/o dmg 2017-12-09 15:25:57 +01:00
Wuzzy
f0b5f10c90 Update mcl_spawn 2017-11-26 15:04:31 +01:00
Wuzzy
351f1834a3 Add Spawn API 2017-11-24 07:04:03 +01:00
Wuzzy
b0c87f74fe Move world-related functions to mcl_worlds 2017-11-24 03:10:02 +01:00
Wuzzy
06ef86ddd3 Move entire sky color code into mcl_weather 2017-11-24 01:39:52 +01:00
Wuzzy
89ab761fa5 Fix day/night ratio override in dimensions 2017-11-22 02:08:39 +01:00
Wuzzy
3df64d9426 Tweak day/night ratio issues 2017-11-22 01:56:41 +01:00
Wuzzy
a575124924 Don't suffocate in ignore 2017-11-21 20:20:17 +01:00
Wuzzy
69ade14509 Rename weather_pack mod to mcl_weather 2017-11-21 01:35:31 +01:00
Wuzzy
aaef558909 Convert all sounds (except music) to mono 2017-11-13 01:24:24 +01:00
Wuzzy
02679a02df Fix cactus not hurting player if above 2017-09-06 21:42:37 +02:00
Wuzzy
2fed50dbbe Fix crash when drinking milk when damage disabled 2017-08-31 23:13:51 +02:00
Wuzzy
4f03f1c516 Merge branch 'biomes' 2017-08-21 03:43:07 +02:00
Wuzzy
c9f277f7e0 Update sky color more often 2017-08-19 11:17:38 +02:00
Wuzzy
2243ee5477 Fix deprecated vel and acc arguments of particles 2017-08-18 23:23:07 +02:00
Wuzzy
95f62236f7 Fix Nether sky color 2017-08-18 16:40:36 +02:00
Wuzzy
6b2da70ff7 Add End sky texture 2017-08-18 15:39:27 +02:00
Wuzzy
4927bcdc4e Make Nether sky reddish 2017-08-18 15:11:43 +02:00
Wuzzy
edfa125d38 Set black sky in Nether and End 2017-08-18 14:54:17 +02:00
Wuzzy
41f45d8c38 Update sky blackening when player's in void 2017-08-16 15:40:12 +02:00
Wuzzy
e5a34367c9 Use new Minetest settings API syntax for most mods 2017-08-09 16:17:00 +02:00
Wuzzy
58a17444ba Add realm barrier node to separate realms 2017-08-08 23:19:44 +02:00
Wuzzy
55eba5c54b Cause more exhaustion when sprint-jumping 2017-08-04 19:49:03 +02:00
Wuzzy
705dae46a0 Split mcl_playerplus to mcl_playerinfo for the node info 2017-08-04 19:23:06 +02:00
Wuzzy
44ea113972 Don't starve player to death if hungry 2017-07-26 18:25:55 +02:00
Wuzzy
95e8f80f2c Add more death messages 2017-07-24 19:36:04 +02:00
Wuzzy
8970bd16ef Move mcl_death_messages to HUD 2017-07-24 19:21:57 +02:00
Wuzzy
1ddb89a86c Separate death mods & add cactus/magma block msgs 2017-07-24 19:20:06 +02:00
Wuzzy
6f309da747 Add fireball death messages 2017-07-24 18:36:41 +02:00
Wuzzy
41de05a796 Remove error message on death 2017-07-24 18:25:18 +02:00
Wuzzy
47e2c019ad Add entity kill death messages 2017-07-24 18:19:24 +02:00
Wuzzy
c12eea33ae Change hunger icons 2017-07-21 23:55:37 +02:00
Wuzzy
082882de1b Update hunger debug icon 2017-07-21 13:15:59 +02:00
Wuzzy
e65029394f Replace most textures with Pixel Perfection
- Using the converter script
- A bunch of textures are still missing
2017-07-20 20:20:45 +02:00
Wuzzy
684c11d79f Change player texture to Pixel Perfection 2017-07-06 01:13:10 +02:00
Wuzzy
3fb5ce8ab0 Fix armor destroy bugs on death 2017-06-13 17:41:59 +02:00
Wuzzy
7b16b74903 Fix bad mcl_ default settings 2017-06-13 17:08:45 +02:00
Wuzzy
fd73c81d23 Prevent player from walking while sleeping 2017-06-11 14:44:37 +02:00
Wuzzy
8773c4b52f Remove clouds when in void 2017-06-11 02:34:34 +02:00
Wuzzy
e7c03fb982 Update player model code from Minetest Game 0.4.16 2017-06-10 23:17:19 +02:00
Wuzzy
09207ea062 Fix armor inventory not updating after death 2017-06-09 23:29:56 +02:00
Wuzzy
8fcbda3765 Revert "Enable zooming by default"
This reverts commit 7bbb105488.
Reason: Zooming is actually not possible in Minecraft.
2017-06-09 15:42:35 +02:00
Wuzzy
7bbb105488 Enable zooming by default 2017-06-09 15:09:03 +02:00
Wuzzy
b2b196bccd Rename setting name 2017-06-09 14:11:16 +02:00
Wuzzy
6f01334c80 Add simple death messages 2017-06-09 13:39:06 +02:00
Wuzzy
900b840762 Add “keep inventory” setting 2017-06-09 12:42:21 +02:00
Wuzzy
c4c3afa375 Fix mcl_hunger init 2017-06-07 01:04:58 +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
d21eefbb78 Hunger: Remove file loading code 2017-06-06 17:12:21 +02:00
Wuzzy
316ee94c2d Clean up and rename textures in mcl_core 2017-05-26 01:06:54 +02:00
Wuzzy
08beecbc29 No longer regen health at 0.5s at full hunger bar 2017-05-23 18:56:49 +02:00
Wuzzy
90a28d3ec5 Fix poison not reset after respawn 2017-05-23 02:20:10 +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
b8cc752e79 Rename: playerplus→mcl_playerplus, drop compat. 2017-05-23 00:53:55 +02:00
Wuzzy
632ebd6389 Fix no swim exhaustion when wading through water 2017-05-23 00:45:31 +02:00
Wuzzy
355c99fee2 Refactor playerplus 2017-05-23 00:42:32 +02:00
Wuzzy
3632d9ac3a More reliable jump detection 2017-05-23 00:35:27 +02:00
Wuzzy
3cd02e3262 Clean up jump exhaustion code a bit 2017-05-22 23:51:08 +02:00
Wuzzy
6f56c5cec9 Fix no exhaustion caused by being on top of water 2017-05-22 23:21:29 +02:00
Wuzzy
eeb855c00a Add exhaustion for swimming 2017-05-22 23:16:27 +02:00
Wuzzy
75cfe51b54 Move bubble particle spawner to playerplus 2017-05-22 22:43:25 +02:00
Wuzzy
cfcf22f0de Add bubble particles for players being underwater 2017-05-22 22:04:42 +02:00
Wuzzy
83d25276a9 Fix broken hunger mod when damage disabled 2017-05-22 08:20:58 +02:00
Wuzzy
50ed336144 Add PvP combat exhaustion 2017-05-21 06:20:00 +02:00
Wuzzy
3c72330880 Add exhaust for cactus damage 2017-05-21 06:07:23 +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
9a520450c1 TODO list for exhaustion 2017-05-20 23:31:54 +02:00
Wuzzy
3dd4b0c522 Rename food HUD Bar back to "hunger" 2017-05-20 23:26:54 +02:00
Wuzzy
7115cc28c4 New images for mcl_hunger debug mode 2017-05-20 23:20:50 +02:00
Wuzzy
65a874136d Add hidden hunger debug setting 2017-05-20 22:55:33 +02:00
Wuzzy
61838ced7a Add hunger debug mode 2017-05-20 22:51:40 +02:00
Wuzzy
7af1292b9f Clarify previous commit 2017-05-20 22:35:50 +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