"TerritoryId": 134,
"InteractionType": "EquipItem",
"ItemId": 35778,
- "AetheryteShortcut": "Middle La Noscea - Summerford Farms",
- "Fly": true,
"Comment": "Try to Equip Stonegold Milpreves",
"SkipConditions": {
- "AetheryteShortcutIf": {
- "InSameTerritory": true
- },
"StepIf": {
"Item": {
"NotInInventory": true
},
"StopDistance": 5,
"TerritoryId": 134,
- "InteractionType": "AcceptQuest",
- "AetheryteShortcut": "Middle La Noscea - Summerford Farms",
- "Fly": true,
- "SkipConditions": {
- "AetheryteShortcutIf": {
- "InSameTerritory": true
- }
- }
+ "InteractionType": "AcceptQuest"
}
]
},
if (skipConditions.Item is { NotInInventory: true } && step is { ItemId: not null })
{
InventoryManager* inventoryManager = InventoryManager.Instance();
- if (inventoryManager->GetInventoryItemCount(step.ItemId.Value) == 0)
+ if (inventoryManager->GetInventoryItemCount(step.ItemId.Value) == 0 &&
+ inventoryManager->GetInventoryItemCount(step.ItemId.Value, true) == 0)
{
logger.LogInformation("Skipping step, no item with itemId {ItemId} in inventory",
step.ItemId.Value);