Commit Graph

68 Commits

Author SHA1 Message Date
AFCMS
cd33d406b2 fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
AFCMS
8f6a97eefe [mcl_beds] fix warnings 2021-05-23 10:57:07 +02:00
AFCMS
203c7e2c84 [mcl_beds] fix warnings 2021-05-23 01:09:45 +02:00
Marcin Serwin
6fac49550e Fix kicking players from bed when it's destroyed 2021-04-29 08:18:33 +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
8b23388d63 Fix #1590 (Bed drops itself when gets exploded) 2021-04-22 13:23:07 +02:00
AFCMS
4aa6421faf performance optimisation 2021-04-18 00:27:51 +02:00
AFCMS
5d17a6b699 fix SO MANY pairs/ipairs 2021-03-16 17:35:46 +01:00
Elias Fleckenstein
524b3343bd Fix #1200 2021-02-26 09:19:11 +01:00
Elias Fleckenstein
b5d92f3078 Fix warning in mcl_beds 2021-01-31 14:04:11 +01:00
Elias Fleckenstein
89ce072621 Sneak to dismount when in boat 2021-01-28 17:44:55 +01:00
Elias Fleckenstein
745b7063a5 Move bed messages to HUD; Fix #1000 2021-01-24 18:40:29 +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
Wuzzy
51085fd6b8 Enlarge sleep message area 2020-11-12 13:21:26 +01:00
kay27
abef71f317 Fix https://git.minetest.land/Wuzzy/MineClone2/issues/840 2020-10-14 03:19:00 +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
7bbb7438ae Fix bed checks, see https://git.minetest.land/Wuzzy/MineClone2/issues/785 2020-09-08 18:15:57 +04:00
kay27
afc6a1bb0f Localize variable in mcl_beds 2020-08-02 05:05:02 +04:00
kay27
64f9e39ebd slighty optimize the code 2020-07-31 09:58:28 +02:00
kay27
92385364e5 Fix beds #798 attempt 5 2020-07-31 09:58:28 +02:00
Wuzzy
0cc179acc6 Add warning about bed velocity 2020-07-27 07:49:54 +02:00
kay27
7d1f8ac314 Velocity check adjusted in mcl_beds 2020-07-27 07:49:54 +02:00
kay27
c78270e70b Bed occupation fix 2020-07-27 07:49:54 +02:00
Wuzzy
56d484f69b Make mobs and bed use mcl_explosions 2020-05-02 18:50:25 +02:00
Wuzzy
73dc0a64b5 Update bed formspec 2020-03-14 21:38:59 +01:00
Wuzzy
bed0849bb0 Add setting: mcl_tnt_griefing 2020-02-05 03:11:32 +01:00
Wuzzy
9fdbb35f24 Look upwards when sleeping 2019-12-19 18:48:27 +01:00
Wuzzy
7aaafdca03 Translate a few missing formspec elements 2019-03-16 03:18:16 +01:00
Wuzzy
342202c979 New translation system, part 5: Items, part 1 2019-03-07 21:36:21 +01:00
Wuzzy
a84f7935fa Revert "Utilize formspec prepend"
This reverts commit ea0c2e9568dcb9d63f777ac62307af65c9a47603.
2019-03-07 12:42:08 +01:00
Wuzzy
ea0c2e9568 Utilize formspec prepend 2019-03-06 06:35:24 +01:00
Wuzzy
2b3922c972 Replace deprecated player attribute calls 2019-03-06 05:45:16 +01:00
Wuzzy
0085122028 Slightly rewrite a bed formspec string 2019-02-20 21:09:04 +01:00
Wuzzy
99741f3d2a Beds: Update formspecs when player leaves/joins 2019-02-20 21:03:25 +01:00
Wuzzy
686b575f81 Beds: Fix player model offset when laying down 2019-02-20 20:59:01 +01:00
Wuzzy
8c672fa3b2 Tweak messages in mcl_beds 2019-02-20 20:45:55 +01:00
Wuzzy
88872c8ce2 Can't sleep in occupied beds 2019-02-20 20:40:06 +01:00
Wuzzy
079b09c80f Explicit msgs when respawn pos changed due to bed 2019-02-20 19:43:02 +01:00
Wuzzy
ec53db9352 Beds can save spawn pos at daytime, too 2019-02-20 19:22:24 +01:00
Wuzzy
0cc8962258 Fix stuck player if server shuts down during sleep 2019-02-20 18:21:08 +01:00
Wuzzy
b481eadafd Beds: Show message when night skip is disabled 2019-02-20 17:32:22 +01:00
Wuzzy
cb2978470c Improve bed formspec 2019-02-20 17:11:45 +01:00
Wuzzy
3b8fe6039e Don't skip night if not all players are asleep 2019-02-20 16:18:13 +01:00
Wuzzy
8982e368ec Abort sleep if taking damage 2019-02-20 16:09:39 +01:00
Wuzzy
49949e2f36 Don't allow to go to bed while player moves 2019-02-11 16:14:08 +01:00
Wuzzy
6faac04f0d Prevent sleeping if solid or damage block over bed 2019-02-04 17:53:30 +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
b076bafaa7 Rename mcl_playerphysics to playerphysics 2018-10-23 18:51:19 +02:00