RimWorld

RimWorld

Clocks
76 Comments
Zylleon  [author] 11 Jun @ 5:45pm 
Updated for 1.6
Max 3 Apr @ 12:35pm 
Getting the following exception every now and then when I have clocks on the map:

https://pastebin.com/ZqVghutz
Zylleon  [author] 21 Jan @ 8:47am 
Just one comp with 2 tags! I don't think I even used alarmRadius in any of these clocks though, i just let everything default to 4.
Tleno 21 Jan @ 8:25am 
Thank you, glad to learn it's just a couple comps!
Zylleon  [author] 21 Jan @ 8:05am 
Not hard at all! Each clock has a comp, which you can patch in XML. Comp has 2 properties:

- bellRingTimes is a list of when the alarm should ring, in 24 hours. I don't remember if this currently supports decimals or just whole numbers

- alarmRadius is optional. It's how far away the clock will wake people up, and defaults to 4 tiles if you omit the tag
Tleno 19 Jan @ 8:39am 
Heya if I got a clock that mostly serves aesthetic/trade good purpose in my mod, would it be hard to set it up to share functionality of one of your clocks using in-mod patches?
drshahramanvariazar 29 Nov, 2024 @ 9:46am 
now MAKE working telephones (like comms but with less features and compact like:
cannot order stuff from orbital traders

less materials and more compact

you cant recive quests from it only can call for backups while someone is invading you
Zylleon  [author] 6 Sep, 2024 @ 6:37am 
It's 4 tiles for all clocks
mrclumps8973 5 Sep, 2024 @ 3:38pm 
Been playing with this for a while, just wanted to ask out of curiosity, since it says it wakes nearby pawns in the same room, do you know what the radius for it is? Or would there possibly be a way to have the game draw the little lines like it does to linkables to show what beds will be woken by a clock?
Zylleon  [author] 4 Jun, 2024 @ 11:12am 
Cuckoo clock goes off at 6pm, perfect time for a night owl to wake up!
Slimeboiiiii 4 Jun, 2024 @ 9:08am 
it would be nice to be able to change the time the clocks go off for night owl pawn
Kyrox 16 May, 2024 @ 7:51pm 
No worries and thank you. I know my modlist is a bit on the heavier side. There is always issues to be expected. To be honest your mod has been rockin' just fine. These issues only seemed to happen after nearly all my pawns were dead from a previous attack. They just didn't want to get out of bed 😒
Zylleon  [author] 16 May, 2024 @ 3:59pm 
I can't replicate this, but I may have found the problem and have updated to try to fix it. Please let me know if the error continues!
Kyrox 15 May, 2024 @ 8:55pm 
I'm getting an error when the clocks chime.

Exception ticking ZCL_ElectronicAlarmClock324476 (at (155, 0, 115)): System.InvalidCastException: Specified cast is not valid.
[Ref 80E1DAD9]

https://gist.github.com/HugsLibRecordKeeper/be1cfdd849520d01a64ca5b3b7672b7f
Sarnak III 19 Mar, 2024 @ 8:10pm 
Nice little flavor mod, and helps wake up pawns who were trying to sleep in. And another thing to add a little more beauty to the room.
Zylleon  [author] 13 Mar, 2024 @ 4:32pm 
Updated for 1.5
Zylleon  [author] 19 Feb, 2024 @ 7:41am 
Awesome, thanks for reporting back!
Max 18 Feb, 2024 @ 3:49am 
From a day or so of playing, no more errors on my end!
Max 16 Feb, 2024 @ 12:01am 
Will give it a test run now! If you don't hear back from me, assume it is fixed!
Zylleon  [author] 15 Feb, 2024 @ 3:29pm 
Max- Updated with a possible fix for that error, let me know if it persists.

It's hard to test the fix since I'm not getting that error myself
Zylleon  [author] 13 Feb, 2024 @ 9:51am 
Max- Ugh, thought I'd fixed that, I'll have to try again. Thanks for letting me know!

Nihil- I had about 6 failed sundial graphics that got scrapped :<
Max 11 Feb, 2024 @ 4:27pm 
Having an error whenever clocks chime - beyond that, this is a really neat mod concept:

https://pastebin.com/cpWaxa51
NihilRetnar 2 Feb, 2024 @ 10:14am 
So about tribal clocks? Perhaps hourglasses? Plato had an alarm clock apparently, a water clock popular at the time but it also chimed.
Zylleon  [author] 22 Nov, 2023 @ 8:59am 
Yeah, that's on my "eventually" list. Currently you can't customize chime times
avali gaming 21 Nov, 2023 @ 1:22am 
this is a pretty cool concept, and i'm definitely snagging this mod, but i think adding the option to have a custom time for ringing would be a great idea (assuming such isn't in mod options or something already; i haven't added the mod yet, just read the description)
TurtleShroom 16 Nov, 2023 @ 2:17pm 
There was also a Double Bed from the Hellsing Mod ( https://www.steamcommunity.com/sharedfiles/filedetails/?id=2834801420 ). I have the Hospitality Mod, so there were also Guests.
TurtleShroom 16 Nov, 2023 @ 2:16pm 
No, they were Beds from the Mantodean Mod ( https://www.steamcommunity.com/sharedfiles/filedetails/?id=2856039567 ) and the Vanilla rendition's Ancient Bed, and the clock lagged at both noon and midnight if you were within the range of hearing the chime.
Zylleon  [author] 16 Nov, 2023 @ 1:02pm 
Just vanilla beds?

Does the game lag at both chime times (noon and midnight) or just one?
TurtleShroom 14 Nov, 2023 @ 4:56pm 
No, it still caused a lag bomb. My Grandfather Clock was in a bedroom with probably something north of twelve Beds.
TurtleShroom 5 Nov, 2023 @ 12:54pm 
Gladly. I will let you know if anything went right.
Zylleon  [author] 4 Nov, 2023 @ 8:54pm 
Turtle- just pushed an update that should fix that, can you test and let me know?

If it doesn't work, then could you describe where your grandfather clocks are/what else is in the room with them?
TurtleShroom 4 Nov, 2023 @ 8:37pm 
> Exception ticking ZCL_GrandfatherClock1625879 (at (114, 0, 144)): System.InvalidOperationException: Collection was modified; enumeration operation may not execute.

For some reason, whenever the Grandfather Clock chimes, I get this error and a lag bomb that freezes my game for over a minute. I have no idea why this is happening, but it happens as faithfully as the grandfather clock chimes. It's a shame, though, because I REALLY love having clocks in my game. (I also wish that I could hear the chime at a wider range.)
Zylleon  [author] 4 Nov, 2023 @ 4:30pm 
You have to be close enough to hear any of the clocks. Try zooming in to the grandfather clock when it's supposed to chime (noon and midnight). I you still don't hear anything, check the error log and see if there's anything there?
Il Signore 3 Nov, 2023 @ 1:50am 
I love my grandfather clock. It seems to have stopped chiming though, beginning a few rimdays after it was built. I've tried restarting the game. Or perhaps I'm doing something wrong - do I need to be zoomed in to some level, to hear it? The rest of the audio is fine. macOS Sonoma.
jcewazhere 22 Oct, 2023 @ 11:14pm 
Time is an illusion.
Lunchtime doubly so.
This is a good mod, thanks for making it.
Big Brain Luigi 19 Oct, 2023 @ 4:30pm 
fucking clock
CTH2004 17 Oct, 2023 @ 2:01pm 
@Zylleon

Definitely!
No matter what, definitely watching this mod!
Zylleon  [author] 17 Oct, 2023 @ 8:39am 
Yeah, if I do that or the raid alert one they'll definitely require extra research!
CTH2004 17 Oct, 2023 @ 8:23am 
makes sense!

The one that bases it on the sleep desires of the pawn should be more advanced either way though (:
Zylleon  [author] 17 Oct, 2023 @ 5:27am 
SOMR- depends if they're still tired

CTH- the electronic alarm clock gives off light and should be darklight selectable. I would like to make the clock ring times configurable eventually
fatburner 17 Oct, 2023 @ 4:09am 
What happens if the pawn is still a pawn sleep schedule? Will he go back to bed again?
CTH2004 16 Oct, 2023 @ 1:57pm 
here's an idea: an alarm clock with integrated lamp/ darklight (requires advanced lighting)

also, with microelectronics, comes one with both a lamp, and the ability to program in up to 3 times. So, I could have a clock that doesn't go off. Or one that rings at 6am, 7am, and 8am. Or...

Then, more advanced (hi-tech research bench, multianylyzer), is one that can also attach to beds, and be programmed to go off exactly when they are fully rested, to maximize time awake, without interrupting people with low-sleep, or cooperating with night-owls!

Another one with micro-electronics is the alert clock. It goes off during raids, and wakes up+drafts pawns in the room!

@Scout gaming
If it's good, why thumbsdown?
Scout Gaming 16 Oct, 2023 @ 8:47am 
This mod is good, however, thumbsdown
Zylleon  [author] 16 Oct, 2023 @ 8:01am 
Thanks! I'll take a look this evening and see if I can find the problem.
AgRipnus 16 Oct, 2023 @ 7:27am 
I got it when I initially built a cuckoo clock and it only showed up once so far, when it was to chime for the first time. I haven't seen the error again. The clock chimes correctly on time after the first time.
Zylleon  [author] 16 Oct, 2023 @ 6:47am 
They play clock bell/alarm sounds. You can certainly replace the sound files with your own clips if you want!
Tundra C. 16 Oct, 2023 @ 6:03am 
What sounds , if any do they play when they trigger their alarm?
Is it possible to customize the alarm by inserting our own sound files?
Zylleon  [author] 16 Oct, 2023 @ 5:32am 
I'm not sure. When are you seeing that - continuously, random, when the clock is supposed to ring?

Can you also post the whole error message if you have it?
AgRipnus 16 Oct, 2023 @ 5:03am 
I'm getting a "Exception ticking ZCL_CuckooClock268029: System.NullReferenceException: Object reference not set to an instance of an object" red error. Is it an incompatibility with something?
Ricchi Walker 16 Oct, 2023 @ 1:34am 
Finally, after 9 years in development, we have clocks.