Commit graph

686 commits

Author SHA1 Message Date
Dieter44
2f05388541 Add one food_tick_timer per player instead of using one for all players. 2021-11-08 15:49:05 +01:00
Dieter44
976f522b9d Combine slowFoodTickTimer and fastFoodTickTimer to a single food_tick_timer 2021-11-08 15:33:53 +01:00
Dieter44
d0d60804a3 Implemented health regeneration mechanics as described in minecraft wiki. Saturation values and different regeneration speeds now used. 2021-11-04 21:01:28 +01:00
Dieter44
d1d11f9740 Fixed debug hudbars for player saturation and exhaustion when mcl_hunger_debug=true is set in .config file 2021-11-04 20:58:54 +01:00
epCode
1c458a2e72 Add crossbows 2021-10-15 12:00:37 -07:00
Nils Dagsson Moskopp
95c4d6472b Send FOV packets only when necessary
Before this change, about 10 to 30 FOV packets were sent from the server
to each connected client each second. This patch only sends FOV packets
when the FOV actually needs to be changed, i.e. when the player starts
or stops sprinting.
2021-09-15 18:08:58 +02:00
NO11
5c563d6ffd Make eating particles much more MC like! 2021-08-02 12:24:34 +00:00
SmallJoker
9d9e213012 Fix some implicit hard and soft-dependencies
These issues were found while testing minetest#8603 and are caused by relying on the undefined mod loading order
2021-07-16 06:18:54 +04:00
epCode
960b653979 fix #1299 2021-07-12 11:50:37 -07:00
NO11
eafb1a2797 Use add_particle instead of minetest.add_particlespawner for elytra rocket particles 2021-06-12 17:23:03 +00:00
marcin-serwin
cbe8583cef Merge branch 'master' into polish-translation 2021-06-02 10:14:25 +00:00
AFCMS
cd33d406b2 fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
NO11
0d619ec6a8 Make vine protect from fall damage 2021-05-28 17:26:00 +00:00
Marcin Serwin
dcceafad41 Add polish translation of mcl_hunger 2021-05-25 21:55:16 +02:00
Marcin Serwin
f421e07d1c Add polish translation of mcl_spawn 2021-05-25 21:51:50 +02:00
AFCMS
9e074af07f unify code style [1] 2021-05-25 12:52:25 +02:00
AFCMS
388ab6d8df fix some codestyle issues 2021-05-25 10:56:06 +02:00
AFCMS
84a800f22b fix many warnings 2021-05-22 19:58:09 +02:00
NO11
cb82e3c9c5 Make a cobweb protect from fall damage 2021-05-16 21:13:07 +00:00
jordan4ibanez
ad4e86deca Fix #1726 2021-05-10 20:17:43 -04:00
Elias Fleckenstein
a9817fea4b Merge branch 'master' into real_maps 2021-05-05 08:21:01 +02:00
Elias Fleckenstein
f7280dc4f0 Remove mod screenshots since they only take up space and are partly outdated 2021-05-04 20:16:30 +02:00
Elias Fleckenstein
1f87874870 Make it look like the player is holding the map in their hand 2021-05-02 17:03:39 +02:00
Marcin Serwin
397a05b651 Add polish translation of mcl_skins 2021-04-29 17:16:30 +02:00
Marcin Serwin
0e8c002665 Add polish translation of mcl_playerplus 2021-04-29 16:56:33 +02:00
Elias Fleckenstein
819d59dbe7 Use fly_into_wall damage type for elytra damage 2021-04-27 20:56:53 +02:00
Elias Fleckenstein
dd68b79782 Merge branch 'master' into damage 2021-04-26 09:29:03 +02:00
epCode
aac9d6a105 impliment crash damage for elytra 2021-04-25 15:49:15 -07:00
Elias Fleckenstein
cab2167520 Merge branch 'master' into damage 2021-04-25 17:32:24 +02:00
Elias Fleckenstein
302175691a Integrate death messages 2021-04-25 16:42:38 +02:00
AFCMS
228759e49b Merge branch 'master' of ssh://git.minetest.land:29418/MineClone2/MineClone2 2021-04-25 14:37:17 +02:00
Elias Fleckenstein
58d67aace6 Merge branch 'master' into damage 2021-04-25 13:29:07 +02:00
NO11
642351a1d2 Add #1553 fireworks rocket now makes particles when used for flying 2021-04-24 19:35:23 +00:00
AFCMS
414adff8fb Fix bad API documentation od mcl_death_drop 2021-04-23 13:59:37 +00:00
Elias Fleckenstein
62ed39bd76 Merge branch 'master' into damage 2021-04-23 13:43:00 +02:00
Elias Fleckenstein
50b6f03977 Integrate no fall damage in water & end portal 2021-04-23 12:34:24 +02:00
Sven792
038066f0c5 Mirrored foodbar icons to fit the right-to-left change 2021-04-23 09:52:09 +02:00
Elias Fleckenstein
1e7ba2b605 Merge branch 'master' into damage 2021-04-21 11:32:50 +02:00
Elias Fleckenstein
fe5f61c747 Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-04-21 11:31:53 +02:00
epCode
9c3fcae9e1 Fix many things with player animation and update alex 2021-04-19 13:02:12 -07:00
Elias Fleckenstein
ca74f23094 Merge branch 'master' into damage 2021-04-19 18:58:00 +02:00
Elias Fleckenstein
7efc177188 Revert minecraft color set usage in mcl_books and mcl_skins GUI menus.
(Follow-up of d8d4cb5def)
Reverts a2fcd28a3d and partially reverts f8a627915e.
2021-04-19 15:16:59 +02:00
Elias Fleckenstein
d9195cc520 Redesign damage modifier execution 2021-04-18 20:08:08 +02:00
Elias Fleckenstein
d08a226a51 Integrate critical hits 2021-04-18 19:50:48 +02:00
Elias Fleckenstein
2827542002 Implement food poisoning damage properly~ 2021-04-18 18:49:00 +02:00
Elias Fleckenstein
f0d7715080 Merge branch 'master' into damage 2021-04-18 14:51:45 +02:00
Elias Fleckenstein
5d9c3cd85b Fix #1572 2021-04-18 14:41:44 +02:00
AFCMS
f967aa3d51 remove unuseful code 2021-04-18 00:10:11 +02:00
Elias Fleckenstein
baebe3c2d2 Fix namtags being invisible 2021-04-17 20:57:12 +02:00
Elias Fleckenstein
205572cc69 Fix elytra code style 2021-04-17 19:34:23 +02:00
Elias Fleckenstein
f8b54db392 Fix controls.register_on_press being called for every player in a globalstep 2021-04-17 18:55:56 +02:00
Elias Fleckenstein
7c7af7d664 Merge branch 'master' into damage 2021-04-17 18:39:00 +02:00
Elias Fleckenstein
5c928575f8 Fix #1572, server crash during login 2021-04-17 18:15:45 +02:00
Elias Fleckenstein
d952423dda Improve wielditem performance and fix wielditems sometimes showing duplicate 2021-04-17 13:24:30 +02:00
Elias Fleckenstein
4d515e95c6 Remove wieldview 2021-04-17 12:58:40 +02:00
Elias Fleckenstein
ca75a893db Merge branch 'master' into damage 2021-04-17 12:58:19 +02:00
AFCMS
5f076d372a fix many codestyle errors 2021-04-17 07:42:49 +02:00
AFCMS
a602f64ea5 fix many warnings 2021-04-15 23:41:34 +02:00
AFCMS
b497778192 delete unused file 2021-04-15 22:22:39 +02:00
Elias Fleckenstein
9c75cd1a79 Implement starve damage 2021-04-14 19:09:46 +02:00
Elias Fleckenstein
a3af1cdf6e Implement in_wall damage type 2021-04-14 19:07:58 +02:00
Elias Fleckenstein
875bb3db84 Use fire-like damage types properly 2021-04-14 17:20:51 +02:00
Elias Fleckenstein
e74838136d Use cactus damage type 2021-04-14 16:27:21 +02:00
Elias Fleckenstein
d0ddd38d4e Merge branch 'master' into damage 2021-04-14 16:14:00 +02:00
Elias Fleckenstein
ce0148d9a8 Rewrite armor; new damage system 2021-04-14 15:46:52 +02:00
epCode
5b93ee5e40 Improve rocket 2021-04-13 17:07:28 -07:00
epCode
8d22102c66 remove abitrary minetest.chat_send_all( 2021-04-13 16:28:38 -07:00
epCode
399ed85717 Make flying w elytra use pitch and not sneak 2021-04-13 16:14:37 -07:00
epCode
f498d3ae02 make elytra activate mor MC-like 2021-04-13 11:45:31 -07:00
epCode
424685d3d3 Add elytra (sprint in air to use) 2021-04-12 14:56:33 -07:00
Elias Fleckenstein
523a0c54d6 Localize c_x and c_y in mcl_playerplus 2021-04-12 14:54:14 +02:00
epCode
ce49cd02ac make player collision box MUCH closer to MC 2021-04-10 15:41:50 -07:00
epCode
3ff214ec2d lessen the push strength for players 2021-04-10 15:06:16 -07:00
epCode
f6db31eae3 add criticle and sprint hits. 2021-04-10 14:47:26 -07:00
epCode
08b7340ff5 Fix crash with player near unknown object 2021-04-10 10:20:38 -07:00
epCode
849823af1f Add player pushing ;) 2021-04-09 14:33:14 -07:00
iliekprogrammar
61cef21cd1 Add right-to-left statbars, for hunger and air. 2021-04-07 22:26:42 +08:00
Elias Fleckenstein
38a12e59da Fix comment indentation in wieldview 2021-04-06 16:02:18 +02:00
Elias Fleckenstein
1d587b8895 Fix crash in wieldview 2021-04-06 15:59:59 +02:00
Elias Fleckenstein
e407ad2254 Fix #1447 2021-04-05 09:25:03 +02:00
epCode
97424f7d0a Fix #1414 2021-03-30 10:24:39 -07:00
epCode
a14959ac70 add player death animation and particles 2021-03-30 09:53:55 -07:00
AFCMS
a040355dce Revert "Revert "Revert "improve wieldview API (!)"""
This reverts commit d4e0d4d1c1.
2021-03-30 01:00:51 +02:00
AFCMS
d4e0d4d1c1 Revert "Revert "improve wieldview API (!)""
This reverts commit 613779a851.
2021-03-30 01:00:17 +02:00
AFCMS
613779a851 Revert "improve wieldview API (!)"
This reverts commit 600e8bede2.
2021-03-30 00:59:00 +02:00
AFCMS
600e8bede2 improve wieldview API (!)
to support transform registration without groups
this will make detaching screwdriver from mcl more easy
2021-03-30 00:35:29 +02:00
AFCMS
a2fcd28a3d use proper colors in mcl_skins 2021-03-29 22:23:00 +02:00
kay27
2e3a5efaf9 [mcl_spawn] Ignore 'ignore' nodes when checking the point, fix https://git.minetest.land/MineClone2/MineClone2/issues/1230 2021-03-29 03:08:21 +04:00
kay27
b587b1f2a5 [mcl_spawn] Cleanup 2021-03-29 02:48:45 +04:00
AFCMS
57ce5143b9 Clarify API documentation 2021-03-27 23:39:22 +01:00
AFCMS
3ba7a40251 Add API documentation 2021-03-27 23:07:46 +01:00
AFCMS
6a6b5970b3 fix API 2021-03-27 20:23:51 +01:00
AFCMS
30e50a64ef basic API (WIP) 2021-03-27 20:12:48 +01:00
ArTee3
910c9083e5 Fix player speed on soul sand, https://git.minetest.land/MineClone2/MineClone2/issues/1356 2021-03-22 21:55:57 +01:00
iliekprogrammar
12745bd450 Remove debug information... again :/ 2021-03-20 10:13:48 +08:00
iliekprogrammar
34dbddb40a Move holding code into mcl_playerplus 2021-03-20 08:42:48 +08:00
iliekprogrammar
249b5cfd1e Remove debug information 2021-03-20 00:11:12 +08:00
iliekprogrammar
f5f85a2148 Slightly lift your right arm when holding an item. 2021-03-19 23:28:33 +08:00
Elias Fleckenstein
9391628813 Fix wielded nodes being upside down 2021-03-19 12:41:03 +01:00
Elias Fleckenstein
f3580efced Separate Head / Body rotation (Implement #1189) 2021-03-19 11:32:17 +01:00
Elias Fleckenstein
4a53ba67ab Wielditem rotation tweak 2021-03-19 09:37:24 +01:00
Nicu
e61f1e38f2 Rotation fix for all wielded items
These were probably needed in an older version of the game/engine, but most items don't need changes for correct wielding. The only tweak was needed for the screwdriver.
2021-03-18 19:31:51 +00:00
Elias Fleckenstein
df59cc12a8 Proper bucket rotations (Fix #1289) 2021-03-18 12:48:29 +01:00
AFCMS
8f30e223e2 I hate reverting something xD 2021-03-16 17:39:06 +01:00
AFCMS
c1da231f9d Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-03-15 09:37:54 +01:00
epCode
39c357672c Add cammera zoom effect while drawing bow 2021-03-14 17:13:23 -07:00
AFCMS
2dcaf8fdcb improve performances of mcl_playerplus
really noticeable gain with caching  global functions
2021-03-15 00:32:19 +01:00
epCode
975efb2288 Fix #1136 2021-03-13 10:35:36 -08:00
epCode
360070bb6a Fix player eye height above head 2021-03-11 15:56:09 -08:00
epCode
d12009538e Better mob_mount animations (riding) 2021-03-10 12:27:42 -08:00
Elias Fleckenstein
31441a02e5 Add CSM sprinting with double tap forward 2021-03-05 09:26:13 +01:00
Elias Fleckenstein
d57db0444f Use mod.conf in all mods, part 1 2021-03-04 15:22:14 +01:00
Code-Sploit
83ade6fadd Merge branch 'master' into master 2021-02-28 14:04:10 +00:00
Code-Sploit
6ab0e0fa86 Do some calculating 2021-02-28 14:02:48 +00:00
epCode
9f66238aaa Transform mcl_meshhand_female.b3d to correct rotation 2021-02-27 11:36:18 -08:00
Code-Sploit
99b5dff849 Fix another bug 2021-02-27 16:13:05 +00:00
Code-Sploit
de9d838642 Fix a bug and improve some things
Bugs:
1) When player is in liquid and takes off his/her boots, he/her still has increased speed.

Improve:
1) Check for liquid group instead of node names
2021-02-27 16:10:11 +00:00
Code-Sploit
828c1110b1 Implement Depth Strider enchantment 2021-02-27 15:37:25 +00:00
Elias Fleckenstein
e5263d854e Localize player_vel_yaw 2021-02-27 15:10:25 +01:00
Elias Fleckenstein
5a0b7bc131 Fix usages of player:get_velocity(), closes #1203 2021-02-27 15:07:10 +01:00
Elias Fleckenstein
ba1e42a638 Remove debug chat_send_all xD 2021-02-27 14:42:39 +01:00
epCode
2b513aa592 Change mcl_meshand depending on skin metadata 2021-02-26 15:01:30 -08:00
epCode
73616453a4 Fix #1188 2021-02-25 19:01:22 -08:00
epCode
3406342ed0 remove unessesary Message every time skin is changed 2021-02-25 13:38:02 -08:00
epCode
8f2a588059 Fix #1156 2021-02-25 12:27:14 -08:00
epCode
fb5f86d829 Fix #1196 2021-02-25 12:07:25 -08:00
epCode
8c1444a1a8 Fix Swim toggling 2021-02-25 12:06:24 -08:00
Elias Fleckenstein
d4401a6c3e Simplify 3D wielded nodes (improves performance + possibly fixes a crash) 2021-02-25 17:35:44 +01:00
epCode
fbb79635eb Fix player body rotation glitch 2021-02-24 17:11:00 -08:00
kay27
3ceb2b0a4d Fix https://git.minetest.land/MineClone2/MineClone2/issues/1160 2021-02-25 03:30:34 +04:00
epCode
c1c3dbfaec Fix #1184 2021-02-24 15:21:05 -08:00
epCode
d1fd3cc827 Add 3D wieldveiw for non-item objects 2021-02-24 13:20:31 -08:00
Elias Fleckenstein
da606fa9d2 Add 3d wielded nodes (not functional until Right_Hand bone is added) 2021-02-24 12:58:30 +01:00
epCode
4334339ba3 Fix player head bone in while attached 2021-02-23 14:18:52 -08:00
epCode
9caf6f2904 Add more MC-like player body bone positioning 2021-02-22 18:48:09 -08:00
Elias Fleckenstein
152d49ef20 Fix #1167 2021-02-22 10:41:44 +01:00
epCode
d8b5620115 Make head block detection more stable 2021-02-21 04:11:20 +00:00
epCode
38cb2fdeec Fix swimming crash (sorry) 2021-02-20 19:19:59 -08:00
epCode
98f6e05cdc Make swimming a bit smoother 2021-02-20 16:21:09 -08:00
epCode
ecb70aaf55 Make player head anim while attached more flexible 2021-02-19 14:07:36 -08:00
AFCMS
4c3954959c replace pairs() by ipairs() in mcl_player 2021-02-18 15:32:15 +00:00
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
Elias 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: https://git.minetest.land/MineClone2/MineClone2/pulls/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
Elias Fleckenstein
484ffc924a Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-02-09 18:19:18 +01:00
Elias Fleckenstein
b36db2044f 3D Player preview in inventory 2021-02-08 20:13:08 +01:00
kay27
bd1e4187a0 Fix https://git.minetest.land/MineClone2/MineClone2/issues/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: https://git.minetest.land/epCode/MineClone2/pulls/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 https://git.minetest.land/MineClone2/MineClone2/issues/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: https://git.minetest.land/epCode/MineClone2/pulls/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 https://git.minetest.land/Wuzzy/MineClone2/issues/515 https://git.minetest.land/Wuzzy/MineClone2/issues/972 https://git.minetest.land/Wuzzy/MineClone2/issues/981 2021-01-16 18:51:30 +04:00
Elias Fleckenstein
3787b95e0f Fix #700 2021-01-06 13:01:27 +01:00
kay27
4d54766590 quick fix of https://git.minetest.land/Wuzzy/MineClone2/issues/954 2021-01-05 12:15:43 +01:00
Elias Fleckenstein
cfc86bcf3d Fix #952 and other occurences of get_player_velocity 2021-01-04 18:06:31 +01:00
Elias 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
Elias Fleckenstein
479dfd6c0d Soul Speed 2020-11-09 10:50:27 +01:00
Elias Fleckenstein
04d8d999e2 Efficiency & Unbreaking 2020-11-02 13:38:17 +01:00
Elias Fleckenstein
3fd1963da9 Compass support 2020-11-01 14:23:43 +01:00
Elias 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, https://git.minetest.land/Wuzzy/MineClone2/issues/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, https://git.minetest.land/Wuzzy/MineClone2/issues/785 2020-09-09 14:35:44 +04:00
kay27
28f19fdbb4 Fix potion names, https://git.minetest.land/Wuzzy/MineClone2/issues/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