Calendar
* Added timed events to the calendar (proof of concept)
This commit is contained in:
parent
7ea08f8584
commit
1ecd879929
@ -31,6 +31,12 @@ init python:
|
|||||||
elif v == "storm":
|
elif v == "storm":
|
||||||
contents[i] += "🌩️"
|
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
|
# Add letters
|
||||||
letters = mailbox.get_letters(True)
|
letters = mailbox.get_letters(True)
|
||||||
for i in letters:
|
for i in letters:
|
||||||
|
Loading…
Reference in New Issue
Block a user