Commit graph

37 commits

Author SHA1 Message Date
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
Renamed from mods/ITEMS/beds/functions.lua (Browse further)