Skip to content

Commit

Permalink
Hotfix to handle running out of greetings or topics.
Browse files Browse the repository at this point in the history
  • Loading branch information
therationalpi committed Nov 6, 2017
1 parent 70f5ba4 commit 1f60167
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 70 deletions.
2 changes: 1 addition & 1 deletion Monika After Story/game/definitions.rpy
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
define persistent.demo = False
define persistent.steam = False
define config.developer = False #This is the flag for Developer tools
define config.developer = True #This is the flag for Developer tools

python early:
import singleton
Expand Down
13 changes: 10 additions & 3 deletions Monika After Story/game/script-greetings.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,14 @@ init python:
for label in label_list:
if label.startswith('greeting_') and not renpy.seen_label(label):
greetings_list.append(label)


#If the greeting's list is empty, remake it without removing seen.
if greetings_list == []:
for label in label_list:
if label.startswith('greeting_'):
greetings_list.append(label)


label greeting_sweetheart:
m "Hello again, sweetheart!"
m "That's kind of embarassing to say out loud, isn't it?"
Expand All @@ -20,7 +27,7 @@ label greeting_honey:
m "I'm so happy to see you again."
m "Let's spend some more time together, shall we?"
return

label greeting_back:
m "[player], you're back."
m "I was beginning to miss you."
Expand Down Expand Up @@ -182,7 +189,7 @@ label greeting_visit9:
m "You're finally back, I was waiting for you."
m "Are you ready to spend some time with me? Ehehe~"
return

label greeting_italian:
m "Ciao, [player]!"
m "È così bello vederti ancora, amore mio..."
Expand Down
Loading

0 comments on commit 1f60167

Please sign in to comment.