mirror of
https://github.com/wassname/Clover-Edition.git
synced 2026-09-09 11:13:26 +08:00
added revert
This commit is contained in:
@@ -94,6 +94,11 @@ def play_aidungeon_2():
|
||||
break
|
||||
elif action == "quit":
|
||||
exit()
|
||||
elif action == "revert":
|
||||
story_manager.story.actions = story_manager.story.actions[:-1]
|
||||
story_manager.story.results = story_manager.story.results[:-1]
|
||||
print("Last action reverted. ")
|
||||
print(story_manager.story.results[-1])
|
||||
|
||||
|
||||
if action != "":
|
||||
|
||||
Reference in New Issue
Block a user