Quest log - removing stuff from there.[SOLVED]

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
kamti
Regular
Posts: 33
Joined: Sun Apr 12, 2015 1:50 am
Completed: The Book of Bondmaids
Contact:

Quest log - removing stuff from there.[SOLVED]

#1 Post by kamti »

Hello guys,
I have kind of quest log, which is organized as Calendar.

This is the code:


class Calendar():
--- def __init__(self, date, text, status):

----------self.date = date
----------self.text = text
----------self.status = status #"planned", completed, failed


# creation of the new Note in the Calendar (quest log)
def CreateNewCalendarNotify(date, text, status):
-----calendar_notify[date].append(Calendar(date, text, status))

Status is needed for different displaying. Displaying works fine.
When I need to add the text, I write in the script:

$ CreateNewCalendarNotify("2", "I met Victor.", "completed")


So, I can create different notifications with different status. But I cannot change status of already created notifications. How to do that?

Or It would also be ok, If I could just remove thenotification I do not need any more. How to delete them from my Calendar? I can create only...
Last edited by kamti on Sun Oct 15, 2023 5:39 am, edited 1 time in total.

kamti
Regular
Posts: 33
Joined: Sun Apr 12, 2015 1:50 am
Completed: The Book of Bondmaids
Contact:

Re: Quest log - removing stuff from there.

#2 Post by kamti »

Solved.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot]