Don't Starve

Don't Starve

30 ratings
Cline's Clock UI
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
322.770 KB
Mar 19 @ 11:12am
Apr 9 @ 11:51pm
3 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
Cline's Clock UI

Description
This mod intends to add new Clock Rims with animations for The Caves, The Ruins, The Volcano and the Various interiors of Hamlet. Most rims behave similarly to the Cave Clock from DST. The mod also implements a number of fixes from DST and a few tweaks as well.

Additions
  • Added the DST Cave Clock for Caves and Cave Clefts.

  • Added a Thulecite Clock for the Ruins.

  • Added an Obsidian Clock for the Volcano.

  • Added a Wooden Clock for Pig Shops and Player Homes.

  • Added a Stone Clock for Pig Ruins.

  • Added a Sandy Clock for Mant Hills.

  • Most Clocks react to Light, similar to the DST Cave Clock. If the player stands inside a light source coming from the surface, the Clock will turn on, otherwise it will turn off.

  • The Thulecite Clock shows the player the Nightmare Cycle. It turns on if the player holds a Thulecite medallion and does not react to light.

  • The Obsidian Clock doesn't react to anything and will always be on.

  • Added an option that adds the DST Moon Cycle and changes the Moon UI in such a way to be identical to DST. See Configuration Options.

  • Added an option that changes the Nightmare Cycle in a way to be more visually appealing on the Clock, minimal changes overall. See Configuration Options.

  • Added an option that changes when the Moon UI shows itself. Option taken from Combined Status. See Configuration Options and Compatibility.
Changes
  • Similar to Vanilla and DST, when hovering over the Clock, the text will change instantly instead of doing an animation.

  • The Moon UI does not react to the cursor anymore.

  • The Moon UI will not glow when it's a New Moon and will glow brighter if it's a Full Moon. Visual-Only Change.

  • During the Aporkalypse, the Moon UI will make use of all Moon Phases instead of only the Full Moon. Visual-Only Change.
Fixes
  • Transition animations will tend to be more fluid.

  • Fixed "Sunny" animation playing during Dusk or at Night. When loading in during Dusk or Night or just sometimes when the game transitions from Day to Dusk.

  • Fixed not being able to hover over the Clock during Dusk.

  • Fixed Clock Hover Text not updating correctly when a new Day begins.

  • Fixed crash when sometimes entering the Ruins for the first time. Unintended fix.
Known Issues
  • Worlds that don't have all three Day Phases may not have fluid Clock animations when the Day Phase changes. Bug from mod. Low priority to fix.

  • Worlds that don't have all three Day Phases don't transfer the Day Phase information to the Caves and the Volcano. Bug from Vanilla. I cannot fix in this mod, it only makes it more noticeable.

  • The Caves, Ruins and Volcano will always have incorrect world numbers. The Caves and the Volcano will have "1" as their world number while the Ruins will have "2". Bug from Vanilla. High priority to fix.

  • The Pig Queen Palace has some light spots that are considered "surface lights" if the mod is enabled after generating the Hamlet world, this affects the logic behind when the Clock should turn on. Bug from mod. Low priority to fix.
Configuration Options

Setting
Description
Hover Text
What text to display when the cursor hovers over the Clock UI. It has 4 options:
  • Current World: Displays the current world you're in, as well as it's number. Vanilla behaviour.
  • Current Season: Displays the current season you're in.
  • Days Survived: Displays the number of days you've survived, this value is also seen in the menu. similar to DST behaviour.
  • Days until next Season: Displays the number of days left until the next season starts.
Moon Cycle
Whether or not to use the DST Moon Cycle or the Vanilla one.
The DST Moon Cycle adds Waning and Waxing Phases and also Flips the Moon. The DST Moon Cycle has Full Moons and New Moons that last for only one Night, compared to two Nights in Vanilla.
Nightmare Cycle
Whether or not to use a Modified Nightmare Cycle or the Vanilla one.
The Modified Cycle was made with the intention to make the Ruins Clock UI look better, the one in the photo.
Instead of the Cycle having 40 segments with 15 seconds each, it has only 16 segments with 45 seconds each. As a consequence, this makes the Cycle longer by 2 minutes and Phases' duration will have to be multiples of 45 seconds instead of 15, making the Dawn Phase notably longer.
Show Moon
Setting taken from Combined Status.
You can chose between showing the Moon UI only during Night, Default behaviour, during Dusk and Night or at all times.

Compatibility

This mod works only with Hamlet-Compatible Saves. Will bring support for other Save Types if enough demand.

This mod is compatible with Combined Status for the most part. Some compromises have been made for both mods to work:
  • Season Clock: The textures are not applied to the Season Clock. Will change if enough demand.
  • Cave Clock UI: This setting is obsolete.
  • Show Moon: This setting has been ported over.
  • Flip Moon: This setting has been implemented in the DST Moon Cycle setting.
  • Moon Waxing: This setting has been implemented in the DST Moon Cycle setting.

Thank you!

To Combined Status: Most functions that deal with the Moon have been taken from this mod, as well as the Moon assets.
Popular Discussions View All (2)
11
Apr 11 @ 7:05pm
Bugs and Issues
IntuitiveSurvivor
0
Apr 6 @ 3:01pm
Future Updates
Cline
9 Comments
Cline  [author] Apr 19 @ 11:22am 
@QueniX You can try it out right now on RoG and SW, you just need to have hamlet installed and make the world compatible with hamlet
QueniX Apr 19 @ 6:22am 
Looks like an amazing mod, can't wait to try once it supports rog and sw
Cline  [author] Apr 6 @ 2:28pm 
@IntuitiveSurvivor Sure! Keep me updated!
IntuitiveSurvivor Apr 5 @ 7:55pm 
Thank you for updating your mod! I've been testing to see if the crash happens again, and also going through more ruins to try to intentionally trigger it. Both times that the game had crashed were around day 12-14, and I've made it to day 16 with no crashes so far. I'll be sure to let you know if I get another crash, but your fix seems to be working from what I can tell. Your help is greatly appreciated!
IntuitiveSurvivor Apr 4 @ 1:26pm 
Alright, I've created the discussion like you asked and added links to my log.txt and backup_log.txt files. Please let me know if those were the correct files that you requested. I can also record some gameplay later today to try and capture the glitch on video if that would help.
Cline  [author] Apr 4 @ 10:14am 
@IntuitiveSurvivor I cannot find a way to replicate the crash, could you create a discussion documenting any other similar crashes? I can push an update with a fix but I cannot confirm it will work. Sending the crash log should help too!
Cline  [author] Apr 4 @ 8:52am 
@IntuitiveSurvivor Hello, do you know how to reproduce this issue?
IntuitiveSurvivor Apr 3 @ 6:33pm 
Hello, I have encountered an issue twice so far that causes the game to crash. At the moment of both crashes I was walking through one of Hamlet's ruins doors during dusk/night.

..._starve/data/../mods/workshop-3191971653/modmain.lua:461: attempt to perform arithmetic on field 'animtime' (a nil value)
LUA ERROR stack traceback:
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/../mods/workshop-3191971653/modmain.lua:461 in (method) OnUpdate (Lua) <460-505>
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data//scripts/frontend.lua:576 in (method) Update (Lua) <425-596>
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/update.lua:46 in () ? (Lua) <3-50>

Thank you for making this mod, and let me know if there is any more information I can provide to help you resolve this issue.
루비 Mar 20 @ 6:28am 
amazing