Space Engineers
Оцінок: 955
Sleep Mod
7
6
   
Нагородити
До улюбленого
В улюблених
Прибрати
Type: Mod
Mod category: Script
Розмір файлу
Додано
Оновлено
6.871 MB
24 черв. 2019 о 21:15
25 лип. 2020 о 23:29

Підпишіться, аби завантажити
Sleep Mod

Опис
This mod lets you sleep through the night in Cryo Pods, that’s really about all you need to know.

How It Works
If it’s between 6pm and 7am (my HUD Compass mod has a clock, if you want to know the time), all players are in Cryo Prods, all players are within 10km of each other and you’re on a planet, you’ll sleep through the night :)

You get a little message whenever you’re in a Cryo Pod telling you why you can’t sleep, if there’s a problem.

The mod also has a little alarm noise for when you wake up, it’s disabled by default and can be enabled or disabled at any time using the following chat command:

/SleepMod EnableNoises [True/False]

Note that the noise is a placeholder until I can be bothered getting a better one.

Notes:
Your settings (EnableNoises) are stored in global storage, that is they are in a xml file in your Space Engineers AppData. This means your settings apply between worlds/servers.

Any block that extends from IMyCryoChamber is a valid Cryo Pod for sleeping, this includes beds and modded beds/Cryo Pods.
Популярні обговорення Переглянути всі (1)
1
7 квіт. о 14:09
Crash on Load
SeeJayEmm
Коментарів: 196
[82DK] wyomingwolf 16 трав. о 18:46 
Nvm, does change the time yet no message of sleeping.
[82DK] wyomingwolf 16 трав. о 17:36 
Think recent update broke the mod, not able to sleep through night
Meya 23 берез. о 16:36 
This game used to do this without a mod or maybe that had a mod I remember going into cryopod in first survival world and it'd do that with the sun was so nice
Zen_Man 27 груд. 2023 о 11:37 
Useless for me as time does not progress (devices do not continue to work).
ButtKraken 31 жовт. 2023 о 13:26 
The world loads fine on the next game load, first load in does this.
ButtKraken 31 жовт. 2023 о 13:25 
Exception occurred: System.NullReferenceException: Object reference not set to an instance of an object.
at Zkillerproxy.SleepMod.CryoCommunication.occupiedCryoCount()
at Zkillerproxy.SleepMod.Server.sleep()
at Zkillerproxy.SleepMod.Server.UpdateBeforeSimulation()
Crowigor 4 верес. 2023 о 5:16 
Great mod. It would be nice to add a question when the character lies down. "Do you want to skip time? Yes/No"
Patrick 27 лип. 2023 о 18:22 
Had a random crash. Here's the stack trace. Oddly enough, I don't have any cryopods in the world. About 15 minutes prior I deleted a bunch of MES entities, so it's possible there were cryopods on some of them. Regardless, just fyi, this occurred. Feel free to visit my discord if you want to troubleshoot.
[code]
Exception occurred: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
at Zkillerproxy.SleepMod.CryoCommunication.occupiedCryoCount()
at Zkillerproxy.SleepMod.Server.sleep()
at Zkillerproxy.SleepMod.Server.UpdateBeforeSimulation()
[\code]
-DF- Ashley Vargrand 18 лип. 2023 о 15:15 
hi, its a nice mod.

can i change the 10km range from other players? so i can serverwide go sleep?
KagedDaemon 27 черв. 2023 о 11:56 
@knight it advances time by uping the timescale while the player(s) are in Cryopods