mirror of
https://github.com/wassname/Clover-Edition.git
synced 2026-09-11 11:51:53 +08:00
update
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user