mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-20 05:13:39 -07:00
update check tracker when actor tells what they reward (#4568)
* update check tracker when actor tells you what they reward do not render price when 0 * feedback
This commit is contained in:
parent
19d1fd5545
commit
caf0dc40c7
4 changed files with 152 additions and 5 deletions
|
@ -1503,7 +1503,10 @@ void DrawLocation(RandomizerCheck rc) {
|
|||
txt = itemLoc->GetPlacedItem().GetName().GetForLanguage(gSaveContext.language);
|
||||
}
|
||||
if (IsVisibleInCheckTracker(rc) && status == RCSHOW_IDENTIFIED && !mystery && !itemLoc->IsAddedToPool()) {
|
||||
txt += fmt::format(" - {}", OTRGlobals::Instance->gRandoContext->GetItemLocation(rc)->GetPrice());
|
||||
auto price = OTRGlobals::Instance->gRandoContext->GetItemLocation(rc)->GetPrice();
|
||||
if (price) {
|
||||
txt += fmt::format(" - {}", price);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (IsHeartPiece((GetItemID)Rando::StaticData::RetrieveItem(loc->GetVanillaItem()).GetItemID())) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue