Commit Graph

100 Commits

Author SHA1 Message Date
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 ea0c2e9568.
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
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
afc55f8139 Remove unused "Force night skip" button in beds 2018-01-08 03:53:15 +01:00
Wuzzy
f5010ec32a Sleep takes 5 seconds instead of 2 2018-01-08 03:49:34 +01:00
Wuzzy
a46064bd92 Always clear weather after sleep 2018-01-08 03:42:51 +01:00
Wuzzy
c9dc405531 Beds: First check distance 2018-01-08 03:19:19 +01:00
Wuzzy
84c099b234 Refine monster sleep prevention exceptions 2018-01-08 03:16:27 +01:00
Wuzzy
299bb332dc Prevent player from sleeping if monsters or too far from bed 2018-01-08 02:49:41 +01:00
Wuzzy
de04fbc062 Fix respawn bugs 2017-11-24 07:24:13 +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
7920707ca4 Don't allow to use bed while sleeping 2017-11-21 20:23:34 +01:00
Wuzzy
69ade14509 Rename weather_pack mod to mcl_weather 2017-11-21 01:35:31 +01:00
Wuzzy
f3919cace9 Beds now allow to skip thunderstorms 2017-11-20 05:06:58 +01:00
Wuzzy
c97a14e969 Explode bed when used in End or Nether 2017-08-17 20:22:30 +02:00
Wuzzy
e5a34367c9 Use new Minetest settings API syntax for most mods 2017-08-09 16:17:00 +02:00
Wuzzy
fd73c81d23 Prevent player from walking while sleeping 2017-06-11 14:44:37 +02:00
Wuzzy
b6ee94f9b2 Use new player attribute API for bed spawns 2017-06-06 19:05:28 +02:00
Wuzzy
d76ab30892 Rename beds mod to mcl_beds 2017-05-07 20:21:37 +02:00