* Added timed events to the calendar (proof of concept)
This commit is contained in:
LoafyLemon 2024-04-26 14:22:01 +01:00
parent 7ea08f8584
commit 1ecd879929
1 changed files with 6 additions and 0 deletions

View File

@ -31,6 +31,12 @@ init python:
elif v == "storm":
contents[i] += "🌩️"
# Add timed events
events = eventqueue.queue
for i in events:
if (day := states.env.day+i.wait) < span+1:
contents[day] += "⭐"
# Add letters
letters = mailbox.get_letters(True)
for i in letters: