This commit is contained in:
Nick Walton
2019-11-19 13:26:12 -07:00
parent ba52964e80
commit 03d1d8fed6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ def select_game():
context, prompt = make_custom_story()
else:
game = options["choice"]
game = options[choice]
prompt = get_story_start(game)
context = get_context(game)
+1 -1
View File
@@ -26,7 +26,7 @@ def make_custom_story():
character = data["settings"][setting_key]["characters"][character_key]
context = "You are " + name + ", a " + character_key + " " + setting_description + \
"You have a " + character["item1"] + " and a " + character["item2"] + "."
"You have a " + character["item1"] + " and a " + character["item2"] + ". "
prompt_num = np.random.randint(0,len(character["prompts"]))
prompt = character["prompts"][prompt_num]