From c287936b3292c7ddd878b3e0df62963d14434ade Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Thu, 8 Aug 2024 15:11:25 +0200 Subject: [PATCH] Include alternativeItemId in codegen --- QuestPathGenerator/RoslynShortcuts.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/QuestPathGenerator/RoslynShortcuts.cs b/QuestPathGenerator/RoslynShortcuts.cs index e01b92012..1bb067e63 100644 --- a/QuestPathGenerator/RoslynShortcuts.cs +++ b/QuestPathGenerator/RoslynShortcuts.cs @@ -358,6 +358,9 @@ public static class RoslynShortcuts SyntaxNodeList( Assignment(nameof(GatheredItem.ItemId), gatheredItem.ItemId, emptyItem.ItemId) .AsSyntaxNodeOrToken(), + Assignment(nameof(GatheredItem.AlternativeItemId), gatheredItem.AlternativeItemId, + emptyItem.AlternativeItemId) + .AsSyntaxNodeOrToken(), Assignment(nameof(GatheredItem.ItemCount), gatheredItem.ItemCount, emptyItem.ItemCount) .AsSyntaxNodeOrToken(),