Spaces:
Runtime error
Runtime error
Hugo Garcia-Cotte
commited on
Commit
•
bc06ca5
1
Parent(s):
c427766
added win condition for ACT1
Browse files- danse_macabre.py +6 -7
danse_macabre.py
CHANGED
@@ -246,7 +246,7 @@ def main():
|
|
246 |
"Ye-Yes, you wanted to talk to me ? To me ? I-I am Brother Conrad. Yes."
|
247 |
"""
|
248 |
,
|
249 |
-
controlPrompt="""Did the player
|
250 |
Or did the player specifically decided to stop talking with Brother Conrad ? If yes, you should respond this exact word '#NEXT:ABBEY#'
|
251 |
Otherwise respond '#CONTINUE#''"""
|
252 |
, debug=debug
|
@@ -304,8 +304,8 @@ def main():
|
|
304 |
"Oh, I see that you finally arrived. I am the Abbot Reverend Father Albrecht, delighted to see that His Holiness has agreed to assist me at my request."
|
305 |
"""
|
306 |
,
|
307 |
-
controlPrompt="""Did the player
|
308 |
-
Or did the player
|
309 |
Otherwise respond '#CONTINUE#''"""
|
310 |
, debug=debug
|
311 |
, alternativeIntro = abbotVisited
|
@@ -358,7 +358,7 @@ def main():
|
|
358 |
|
359 |
"Greetings, I am Brother Galeazzo, the abbey's doctor, how may I assist you ?" """
|
360 |
,
|
361 |
-
controlPrompt="""If the player
|
362 |
If the player specifically decided to go to the crypt then you should respond this exact word '#NEXT:ABBEY#'
|
363 |
If the player specifically decided to remove the flag on the body then you should respond this exact word '#CONTINUE#
|
364 |
Else if the player does something not listed above respond '#CONTINUE#'"""
|
@@ -409,7 +409,7 @@ def main():
|
|
409 |
|
410 |
The door creaks as you push it open, revealing the dimly lit room before you, with its chained books and strange artifacts, waiting to be explored."""
|
411 |
,
|
412 |
-
controlPrompt="""If the player specifically
|
413 |
Else if the player does something not listed above respond '#CONTINUE#'"""
|
414 |
, debug = debug
|
415 |
, alternativeIntro = archivesVisited
|
@@ -440,7 +440,7 @@ def main():
|
|
440 |
|
441 |
As you look around, you see a monk crying in the corner, clearly distressed by the loss of this branch of the Habsburg family."""
|
442 |
,
|
443 |
-
controlPrompt="""If the player
|
444 |
If the player specifically decided to go to the mortuary then you should respond this exact word '#NEXT:ABBEY#'
|
445 |
Else if the player does something not listed above respond '#CONTINUE#'"""
|
446 |
,
|
@@ -451,7 +451,6 @@ def main():
|
|
451 |
)
|
452 |
cryptsVisited = "(You are now back at the Crypt)"
|
453 |
|
454 |
-
print(nextseq)
|
455 |
#For cases where the control has a bug and gives a next sequence that doesn't exist, like #NEXT:CONTINUE#
|
456 |
if "#NEXT:ACT2#" not in nextseq : nextseq = "#NEXT:ABBEY#"
|
457 |
|
|
|
246 |
"Ye-Yes, you wanted to talk to me ? To me ? I-I am Brother Conrad. Yes."
|
247 |
"""
|
248 |
,
|
249 |
+
controlPrompt="""Did the player leaves the scriptorium ? If yes, you should respond this exact word '#NEXT:ABBEY#'
|
250 |
Or did the player specifically decided to stop talking with Brother Conrad ? If yes, you should respond this exact word '#NEXT:ABBEY#'
|
251 |
Otherwise respond '#CONTINUE#''"""
|
252 |
, debug=debug
|
|
|
304 |
"Oh, I see that you finally arrived. I am the Abbot Reverend Father Albrecht, delighted to see that His Holiness has agreed to assist me at my request."
|
305 |
"""
|
306 |
,
|
307 |
+
controlPrompt="""Did the player leaves the garden ? If yes, you should respond this exact word '#NEXT:ABBEY#'
|
308 |
+
Or did the player stopped talking with the Abbot Reverend Father Albrecht ? If yes, you should respond this exact word '#NEXT:ABBEY#'
|
309 |
Otherwise respond '#CONTINUE#''"""
|
310 |
, debug=debug
|
311 |
, alternativeIntro = abbotVisited
|
|
|
358 |
|
359 |
"Greetings, I am Brother Galeazzo, the abbey's doctor, how may I assist you ?" """
|
360 |
,
|
361 |
+
controlPrompt="""If the player leaves the mortuary then you should respond this exact word '#NEXT:ABBEY#'
|
362 |
If the player specifically decided to go to the crypt then you should respond this exact word '#NEXT:ABBEY#'
|
363 |
If the player specifically decided to remove the flag on the body then you should respond this exact word '#CONTINUE#
|
364 |
Else if the player does something not listed above respond '#CONTINUE#'"""
|
|
|
409 |
|
410 |
The door creaks as you push it open, revealing the dimly lit room before you, with its chained books and strange artifacts, waiting to be explored."""
|
411 |
,
|
412 |
+
controlPrompt="""If the player specifically leaves the archives then you should respond this exact word '#NEXT:ABBEY#'
|
413 |
Else if the player does something not listed above respond '#CONTINUE#'"""
|
414 |
, debug = debug
|
415 |
, alternativeIntro = archivesVisited
|
|
|
440 |
|
441 |
As you look around, you see a monk crying in the corner, clearly distressed by the loss of this branch of the Habsburg family."""
|
442 |
,
|
443 |
+
controlPrompt="""If the player leaves the crypts then you should respond this exact word '#NEXT:ABBEY#'
|
444 |
If the player specifically decided to go to the mortuary then you should respond this exact word '#NEXT:ABBEY#'
|
445 |
Else if the player does something not listed above respond '#CONTINUE#'"""
|
446 |
,
|
|
|
451 |
)
|
452 |
cryptsVisited = "(You are now back at the Crypt)"
|
453 |
|
|
|
454 |
#For cases where the control has a bug and gives a next sequence that doesn't exist, like #NEXT:CONTINUE#
|
455 |
if "#NEXT:ACT2#" not in nextseq : nextseq = "#NEXT:ABBEY#"
|
456 |
|