mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-25 10:52:19 -05:00
Add exact item and check to the spoiler log for WotH hints (#3043)
This commit is contained in:
parent
def7a15354
commit
531b346fc9
@ -766,9 +766,9 @@ static void WriteHints(int language) {
|
||||
std::string textStr = AutoFormatHintTextString(unformattedHintTextString);
|
||||
jsonData["hints"][location->GetName()]["hint"] = textStr;
|
||||
jsonData["hints"][location->GetName()]["type"] = hintTypeNames.find(hintType)->second;
|
||||
if (hintType == HINT_TYPE_ITEM || hintType == HINT_TYPE_NAMED_ITEM) {
|
||||
if (hintType == HINT_TYPE_ITEM || hintType == HINT_TYPE_NAMED_ITEM || hintType == HINT_TYPE_WOTH) {
|
||||
jsonData["hints"][location->GetName()]["item"] = hintedLocation->GetPlacedItemName().GetEnglish();
|
||||
if (hintType != HINT_TYPE_NAMED_ITEM) {
|
||||
if (hintType != HINT_TYPE_NAMED_ITEM || hintType == HINT_TYPE_WOTH) {
|
||||
jsonData["hints"][location->GetName()]["location"] = hintedLocation->GetName();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user