1
0
Fork 0
Commit Graph

445 Commits

Author SHA1 Message Date
AFCMS 25653e6178 replace pairs() by ipairs() in mcl_playerinfo 2021-02-18 15:31:13 +00:00
AFCMS 0531aae687 replace pairs() by ipairs() in mcl_playerplus 2021-02-18 15:27:50 +00:00
AFCMS 2e2d0b49ea performance fix in mcl_skins 2021-02-18 15:07:37 +00:00
Lizzy Fleckenstein aeb7078c05 Update use_texture_alpha to the minetest 5.4 conventions 2021-02-18 14:00:17 +01:00
epCode 18a8d011a2 Sprinting anim, MC-like Player anims, Swimming detection 2021-02-17 15:17:12 -08:00
epCode a49e144911 Localize a couple variables 2021-02-17 02:51:33 +00:00
epCode c238fd9ba7 Set swiming detection to "node_feet" 2021-02-16 14:18:06 -08:00
epCode 24c14e7f15 Fix bow having weird hand placements while hitting and loading 2021-02-16 20:13:12 +00:00
Elias Fleckenstein 98b00898a5 Merge pull request 'Make player wield switch instant' (#1129) from Code-Sploit/MineClone2:master into master
Reviewed-on: MineClone2/MineClone2#1129
2021-02-16 12:40:55 +00:00
Code-Sploit 9cbfaf012e Make player wield switch instant 2021-02-16 12:34:26 +00:00
epCode 3b775c38cd Fix wrong numbers (Swaped)
My bad
2021-02-15 23:46:27 +00:00
epCode 164aad4ff9 Fix player glitches when standing by the water
Instead of making the player collisionbox smaller from the ground, I made it smaller from the top.
2021-02-15 16:59:24 +00:00
epCode 52c36d45da Remove Buggy Crawling for Fixing 2021-02-14 11:18:46 -08:00
epCode ba86cf1d8b Impliment crawling 2021-02-13 16:09:00 -08:00
epCode a9fe8d58e5 Add bow aiming animations 2021-02-12 09:16:08 -08:00
epCode d7cfe54eb4 Give the player some eyes 2021-02-11 12:20:39 -08:00
epCode 6a3a0362a3 Fix player looking up while on water and attached 2021-02-09 19:00:54 +00:00
Lizzy Fleckenstein 484ffc924a Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-02-09 18:19:18 +01:00
Lizzy Fleckenstein b36db2044f 3D Player preview in inventory 2021-02-08 20:13:08 +01:00
kay27 bd1e4187a0 Fix MineClone2/MineClone2#1079 by epCode 2021-02-08 11:48:31 +04:00
epCode 29d43b9709 Fix player head with wrong pitch while swiming 2021-02-06 18:18:19 -08:00
epCode c5169e48a1 Merge branch 'master' of https://git.minetest.land/epCode/MineClone2 2021-02-06 17:50:27 -08:00
epCode 38f70561c5 Swiming coment 2021-02-06 17:44:30 -08:00
epCode df8bdfbc36 Animations for swiming 2021-02-06 17:40:07 -08:00
kay27 84289a3a11 Tiny code cleanup and potentially bugfix after latest mergings 2021-02-07 02:56:00 +04:00
epCode 282af37555 Add some sneaking commentary 2021-02-05 19:44:41 -08:00
epCode 1868f31673 Merge branch 'master' of https://git.minetest.land/epCode/MineClone2 2021-02-05 16:40:14 -08:00
epCode 729c60cd4b Nametag vanishes when sneaking 2021-02-05 16:39:50 -08:00
epCode 6f8d728035 Merge pull request 'master' (#6) from MineClone2/MineClone2:master into master
Reviewed-on: epCode/MineClone2#6
2021-02-06 00:10:00 +00:00
epCode 403c174722 Merge branch 'master' of https://git.minetest.land/epCode/MineClone2 2021-02-03 17:14:06 -08:00
epCode 37baf5e69a Fix sneak/R.click bugs. 2021-02-03 17:12:28 -08:00
epCode f37096cb4b Merge branch 'master' of https://git.minetest.land/epCode/MineClone2 2021-02-03 17:05:48 -08:00
epCode cf837247a7 Fix sneak/R.click bugs. 2021-02-03 16:59:58 -08:00
epCode bd98529945 Fix sneak/R.click bugs 2021-02-03 16:29:33 -08:00
kay27 13a9dbed3e Fix MineClone2/MineClone2#1052 (stop searching trees after 10+ attempts) 2021-02-04 03:41:43 +04:00
kay27 9492f276fc Make mcl_spawn compatible with flat mapgen with superflat MCL2 option (but better to have some trees still) 2021-02-03 16:08:00 +04:00
kay27 e8f8d4cb1e Better fix spawn point search (follow-up 32cf25dc17) 2021-02-03 04:22:02 +04:00
kay27 32cf25dc17 Fix spawn point search 2021-02-03 03:53:47 +04:00
epCode e0ad09900c Merge pull request 'master' (#5) from MineClone2/MineClone2:master into master
Reviewed-on: epCode/MineClone2#5
2021-02-02 22:19:58 +00:00
MysticTempest c1c5ed4869 Fix crash in 'mcl_spawn' in v6,flat,singlenode mapgens; and fix mobs despawning when attacking/following players. 2021-01-24 17:47:28 -06:00
kay27 81c27363a3 Add limitations to respawn search algorithm to make it work faster 2021-01-17 22:07:02 +04:00
kay27 5b44eeb611 Teach observer to detect TNT in realtime mode, fix crash in mcl_spawn on restart server in less than 30s in new world 2021-01-17 02:48:36 +04:00
kay27 fe33f172d4 Add player-friendly respawn place search algorithm, fix Wuzzy/MineClone2#515 Wuzzy/MineClone2#972 Wuzzy/MineClone2#981 2021-01-16 18:51:30 +04:00
Lizzy Fleckenstein 3787b95e0f Fix #700 2021-01-06 13:01:27 +01:00
kay27 4d54766590 quick fix of Wuzzy/MineClone2#954 2021-01-05 12:15:43 +01:00
Lizzy Fleckenstein cfc86bcf3d Fix #952 and other occurences of get_player_velocity 2021-01-04 18:06:31 +01:00
Lizzy Fleckenstein 2bc5a281f5 Player damage texture modifier 2021-01-02 10:57:33 +01:00
epCode a228899fc9 Update mcl_player character model 2020-12-20 15:52:26 -08:00
epCode 2b2e0914d4 Added arm pitch control 2020-12-20 14:42:45 -08:00
epCode 76e7b8f637 Player animation tweaks 2020-12-20 14:12:03 -08:00
epCode 2e2b22dc15 Player properties for sneaking 2020-12-18 16:43:42 -08:00
epCode 39dfc72ac5 Utilized the sneaking animations 2020-12-18 16:29:21 -08:00
kay27 5da02bb8cc Merge https://git.minetest.land/EliasFleckenstein03/MineClone2 2020-12-13 03:00:04 +04:00
Wuzzy 0d7e957694 Fix player eating item when pointing a mob 2020-12-05 01:56:19 +01:00
Lizzy Fleckenstein 479dfd6c0d Soul Speed 2020-11-09 10:50:27 +01:00
Lizzy Fleckenstein 04d8d999e2 Efficiency & Unbreaking 2020-11-02 13:38:17 +01:00
Lizzy Fleckenstein 3fd1963da9 Compass support 2020-11-01 14:23:43 +01:00
Lizzy Fleckenstein 26f3d821a4 Proper anvil naming support 2020-11-01 13:44:05 +01:00
kay27 4eb42c3a9a Merge bzoss_player feature branch 2020-09-25 00:39:51 +04:00
kay27 fa97aca76a Simplify respawn search algorithm, Wuzzy/MineClone2#833 2020-09-10 21:25:02 +04:00
kay27 daede2a183 Improve around-the-bed-respawn place search algorithm: square spiral up to 7 x/z nodes, thanks anon5, Wuzzy/MineClone2#785 2020-09-09 14:35:44 +04:00
kay27 28f19fdbb4 Fix potion names, Wuzzy/MineClone2#829 2020-09-08 07:21:29 +04:00
Wuzzy eff6c4c476 Clean up poisonous foods 2020-08-13 19:20:52 +02:00
Wuzzy 152d69f91f mcl_hunger: Remove non-food poison mechanic
It was moved to mcl_potions, so it's OK
2020-08-13 18:44:33 +02:00
Brandon acea309564 Add poison effect for pufferfish, remove mcl_hunger control for pufferfish effect 2020-08-01 08:36:22 -04:00
Brandon 1563fc7b96 comment sections of mcl_hunger that "poison" player. This is handled in mcl_potions. 2020-07-28 17:13:54 -04:00
kay27 ba51686e6c Russian translation 2020-07-20 00:11:13 +00:00
Wuzzy c106a62979 Use minetest.is_creative_enabled 2020-07-10 16:45:40 +02:00
Wuzzy 47dd29c930 Sprint particle: Pick top node texture 2020-07-10 14:51:39 +02:00
Wuzzy 1bfd4ca490 Use node texture for sprint particles 2020-07-10 14:23:03 +02:00
Brandon 4a35ad3fd1 Correct issue where all items are replaced with drinking potions in creative 2020-06-26 16:55:22 -04:00
Brandon fceffa6f1c Smooth out FOV changes, add specificity to potion effects to avoid overlap 2020-06-23 21:36:55 -04:00
Brandon d632cf289c Add smooth FOV transition when sprinting 2020-06-23 18:17:30 -04:00
Wuzzy 156a0c9cb0 Fix possible nil bug in wieldview mod 2020-06-19 19:17:01 +02:00
Wuzzy 828473c205 Remove useless playerphysics file 2020-06-02 15:51:50 +02:00
Wuzzy 1a0e979b0c Update incomplete license information and credits 2020-05-11 17:18:04 +02:00
Wuzzy c156398fb5 Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
Wuzzy 131051b1df Fix code typo in mcl_playerplus 2020-05-08 17:41:09 +02:00
Wuzzy 94c4256451 Fix crash when standing on unknown node 2020-05-08 17:23:39 +02:00
Rocher Laurent c9a37d0dbc Translate In French 2020-05-05 21:02:21 +02:00
Rocher Laurent 4957bd1118 Translate In French 2020-05-03 22:39:07 +02:00
Wuzzy c5e4ec5e27 Use ephemeral sounds 2020-04-07 00:55:45 +02:00
Wuzzy 97ab2e7b38 Update wieldview mod (wieldview_transform group) 2020-03-29 14:52:12 +02:00
Wuzzy 2569eae5d8 Don't make sprint particles in liquids 2020-03-15 08:23:40 +01:00
Wuzzy f85a6b5042 Make some labels dark-gray 2020-03-10 05:34:54 +01:00
Wuzzy 6096b8dd9a Fix translation placeholder in mcl_hunger 2020-02-19 17:07:42 +01:00
Wuzzy 604e1c4d19 Link eating sound back to object again 2020-02-18 23:53:33 +01:00
Wuzzy ab4e46f97b Move armor mods 2020-02-18 15:48:21 +01:00
Wuzzy fb251db925 Rename mod: 3d_armor → mcl_armor 2020-02-18 15:44:54 +01:00
Wuzzy f700463c4f Increase FOV to 86.1 2020-02-17 21:49:23 +01:00
Wuzzy 988ca6ffe7 Interpret many damage sources as punches 2020-02-17 18:37:23 +01:00
wuniversales 15481cb24d Add Spanish translation 2020-02-04 21:43:50 +01:00
Wuzzy 7175ffb975 Add workaround for broken eat sound 2019-12-09 08:36:34 +01:00
Wuzzy 21317aa7c7 Fix eating/drinking sounds to user 2019-09-24 18:18:40 +02:00
Wuzzy dfe68e6820 Simplify meshhand error handling 2019-09-19 12:31:50 +02:00
Wuzzy 1aac4713a4 Simplify mcl_meshhand code 2019-09-19 12:20:31 +02:00
Wuzzy e64ef6e254 Prevent placement of meshhand nodes 2019-09-19 12:09:09 +02:00
Wuzzy 6188d7b528 Fix other boolean settings default fails 2019-03-25 12:42:37 +01:00
Wuzzy b72afa7e62 German translation: Player and Misc 2019-03-14 02:32:35 +01:00
Wuzzy 5aeb4aea74 Add translation templates for most mods
Using the findtext.lua script
2019-03-13 23:40:59 +01:00
Wuzzy d7fc158073 Make mcl_spawn translatable 2019-03-13 23:27:00 +01:00
Wuzzy 29c12439c4 Fix hand range not being applied if wielding item 2019-03-10 01:11:29 +01:00
Wuzzy eff91038e8 Fix crash if item dropped in end portal in the end 2019-03-09 10:08:53 +01:00
Wuzzy b9377a0dbf Fix broken player init in mcl_hunger causing crash 2019-03-09 08:25:00 +01:00
Wuzzy e37411dc13 Random pitch for eat/drink sounds 2019-03-09 00:10:59 +01:00
Wuzzy 793357cdfe Fix crash in mcl_hunger 2019-03-08 23:47:50 +01:00
Wuzzy 20576431e1 More death messages, more reliable 2019-03-08 20:22:01 +01:00
Wuzzy 9057743eb8 Tweak spawning algorithm 2019-03-08 05:12:31 +01:00
Wuzzy f40eeb4477 Make barrier particles glow in the dark 2019-03-08 03:47:14 +01:00
Wuzzy 0cc038c545 New translation system, part 4: Misc/Player 2019-03-07 21:36:06 +01:00
Wuzzy 05e3a616b4 Fix broken skin init 2019-03-06 07:49:14 +01:00
Wuzzy cfac33a94f Fix settable hand 2019-03-06 07:32:22 +01:00
Wuzzy 0b9c0d177c Fix bug in mcl_player.player.get_preview 2019-03-06 07:15:53 +01:00
Wuzzy 98b3003e07 Fix mcl_meshhand race condition 2019-03-06 06:25:03 +01:00
Wuzzy c4558a31ab Update modpack meta files (MT 5.0.0) 2019-03-06 05:52:31 +01:00
Wuzzy 2b3922c972 Replace deprecated player attribute calls 2019-03-06 05:45:16 +01:00
Wuzzy b31a717410 Fix player model for MT 5.0.0 2019-03-06 04:10:40 +01:00
Wuzzy a1c0a1f82f Harden mcl_skins against missing metadata 2019-03-05 14:46:19 +01:00
Wuzzy 918c408e4d mcl_skins now obeys file name conventions 2019-03-05 14:26:44 +01:00
Wuzzy 9e84763478 mcl_skins: USe fallback if no preview img 2019-03-05 14:19:57 +01:00
Wuzzy 35bafb2aeb Skin button cycle skins if low skin count 2019-03-05 14:00:15 +01:00
Wuzzy c84656f85a Add fancy GUI to select skin 2019-03-05 13:50:35 +01:00
Wuzzy 9a54383a23 Add mesh hand 2019-03-05 11:45:54 +01:00
Wuzzy 62eaf60938 mcl_skins: Add fallback code if skin was missing 2019-03-05 10:57:57 +01:00
Wuzzy 5601f8e0b7 Rename some files 2019-03-05 10:45:14 +01:00
Wuzzy b2c19d9ec6 mcl_skins: Fix attribute name 2019-03-05 10:44:10 +01:00
Wuzzy 788ecbf178 Update mcl_skins readme 2019-03-05 10:40:37 +01:00
Wuzzy aae30bba39 Rename simple_skins to mcl_skins 2019-03-05 10:36:53 +01:00
Wuzzy e47bd634d4 Player skins: Update inventory preview (part 2) 2019-03-05 10:30:34 +01:00
Wuzzy 2c5038ad05 Player skins: Adjust inventory preview image, too 2019-03-05 01:50:51 +01:00
Wuzzy 62e3a8b9ff Add player skin support, add female skin 2019-03-05 00:11:43 +01:00
Wuzzy 7851cee45e Fix exhauston for attacking and taking dmg 2019-02-28 16:43:52 +01:00
nickolas360 6497916ade Fix spawning at bed when chunk is unloaded 2019-02-28 15:35:18 +01:00
Wuzzy 079b09c80f Explicit msgs when respawn pos changed due to bed 2019-02-20 19:43:02 +01:00
Wuzzy 2d721a98cb Call on_drop for dropped items on player death
Fixes charged bow dropping on death
2019-02-11 18:55:48 +01:00
Wuzzy 2ffd16377b Update playerphysics README 2019-02-11 17:48:49 +01:00
Wuzzy 1cbbe8f4b1 Refactor playerphysics init 2019-02-11 17:45:42 +01:00
Wuzzy 5a7952bf92 Set mob spawn chance to 2.5 and fix player respawn msg 2019-02-11 15:51:30 +01:00
Wuzzy a7d429a017 Fix several "undeclared global" errors 2019-02-08 22:44:26 +01:00
Wuzzy 5897d07435 Don't show bed msg if player respawns w/o bed 2019-02-07 19:54:12 +01:00
Wuzzy 4bd9be22e0 Apply eat effect when hunger disabled 2019-02-06 21:23:05 +01:00
Wuzzy 0876e76b40 Fix crash when using chorus fruit on cake 2019-02-05 22:05:56 +01:00
Wuzzy 9ed83bd196 Drop food eating limits in Creative Mode 2019-02-05 21:51:40 +01:00
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