From 8191ed2c8274c3f9a237f17852f3e34b7006892a Mon Sep 17 00:00:00 2001 From: MattEqualsCoder Date: Sat, 14 Dec 2024 23:28:06 -0500 Subject: [PATCH] Update LocationCleared spoiler to include location names --- Profiles/Default/responses.yml | 4 ++++ Profiles/Sassy/responses.yml | 10 ++++++++-- Profiles/Templates/responses.yml | 2 ++ Schemas/responses.json | 22 ++++++++++++++++++++++ 4 files changed, 36 insertions(+), 2 deletions(-) diff --git a/Profiles/Default/responses.yml b/Profiles/Default/responses.yml index fa70bb1..01947ea 100644 --- a/Profiles/Default/responses.yml +++ b/Profiles/Default/responses.yml @@ -271,6 +271,10 @@ Spoilers: - Text: I cannot find any more {0}. LocationsCleared: - Text: You already cleared every location that has {0}. + ItemLocationCleared: + - Text: '{0} was located at {1}.' + ItemLocationsCleared: + - Text: '{0} was located at {1}.' LocationHasItem: - Text: '{0} has {1}' LocationHasItemOtherWorld: diff --git a/Profiles/Sassy/responses.yml b/Profiles/Sassy/responses.yml index 109fd21..9279784 100644 --- a/Profiles/Sassy/responses.yml +++ b/Profiles/Sassy/responses.yml @@ -791,8 +791,14 @@ Spoilers: - Text: I cannot find any {0}. - Text: This seed doesn't have any {0}. - Text: There are no {0} in this seed. - LocationsCleared: - - Text: You already cleared every location that has {0}. + ItemLocationCleared: + - Text: You already cleared the location, but {0} was located at {1}. + - Text: Why did you clear it if you wanted what was there? Oh well, {0} was at {1}." + Weight: 0.2 + ItemLocationsCleared: + - Text: You already cleared every location, but {0} was located at {1}. + - Text: Why did you clear it if you wanted what was there? Oh well, {0} was at {1}." + Weight: 0.2 LocationHasItem: - Text: '{0} has {1}.' - Text: '{1} is there.' diff --git a/Profiles/Templates/responses.yml b/Profiles/Templates/responses.yml index 02c5ddd..33083cc 100644 --- a/Profiles/Templates/responses.yml +++ b/Profiles/Templates/responses.yml @@ -197,6 +197,8 @@ Spoilers: ItemNotFound: ItemsNotFound: LocationsCleared: + ItemLocationCleared: + ItemLocationsCleared: LocationHasItem: LocationHasItemOtherWorld: LocationHasItemOwnWorld: diff --git a/Schemas/responses.json b/Schemas/responses.json index ba21c21..b1e658e 100644 --- a/Schemas/responses.json +++ b/Schemas/responses.json @@ -1727,6 +1727,28 @@ } ] }, + "ItemLocationCleared": { + "description": "Gets the phrases to respond with when an item's location has been cleared. \n{0} is a placeholder for the name of the item, with \"a\", \"an\" or \"the\" and 1 is a placeholder for the name of the location where the item was.", + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/definitions/SchrodingersString" + } + ] + }, + "ItemLocationsCleared": { + "description": "Gets the phrases to respond with when all locations that have the item are cleared. \n{0} is a placeholder for the name of the item, with \"a\", \"an\" or \"the\". \n{1} is a placeholder for a list of locations where the item was (up to 4).", + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/definitions/SchrodingersString" + } + ] + }, "LocationHasItem": { "description": "Gets the phrases that spoil the item that is at the requested location. \n{0} is a placeholder for the name of the location. \n{1} is a placeholder for the name of the item, with \"a\", \"an\" or \"the\".", "oneOf": [