mirror of
https://github.com/wassname/Clover-Edition.git
synced 2026-09-09 11:13:26 +08:00
dev update
This commit is contained in:
@@ -53,7 +53,8 @@ def select_game():
|
||||
def instructions():
|
||||
text = "\nAI Dungeon 2 Instructions:"
|
||||
text += '\n* Enter actions starting with a verb ex. "go to the tavern" or "attack the orc."'
|
||||
text += '\n* If you want to say something then enter \'say "(thing you want to say)"\''
|
||||
text += '\n* To speak enter \'say "(thing you want to say)"\' or just "(thing you want to say)" '
|
||||
text += '\n* Enter "revert" for any action if you want to undo the last action and result."
|
||||
text += '\n* Finally if you want to end your game and start a new one just enter "restart" for any action. '
|
||||
return text
|
||||
|
||||
@@ -99,9 +100,10 @@ def play_aidungeon_2():
|
||||
story_manager.story.results = story_manager.story.results[:-1]
|
||||
print("Last action reverted. ")
|
||||
print(story_manager.story.results[-1])
|
||||
elif action[0] == '"':
|
||||
action = "You say " + action
|
||||
|
||||
|
||||
if action != "":
|
||||
elif action != "":
|
||||
action = action.strip()
|
||||
action = action[0].lower() + action[1:]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user