Modul 01 Hotfix A4: AnvilRecipe.IsCollectable ergänzt
01-RecipeData Rev 6 (A4) added the field as a Summarize-branch discriminator for module 02. Resolved as IsExpertRecipe OR the output item's AlwaysCollectable flag, the latter being the canonical FFXIV signal for collectable submissions (custom delivery, masterpiece supply, collectables shop). - AnvilRecipe.cs: new required bool property after CanHQ, with a why-comment pointing at module 02's Summarize branch and noting the OR-resolve. - LuminaRecipeAdapter.cs: resolve folded into the recipe walk via the same itemSheet.TryGetRow call that already fetches the display name - no bootstrap-order question, no 2-pass needed. hasOutputItem is hoisted so the OR-branch can guard against a missing item-sheet row without touching the default(Item) struct. - RecipeDataAdapterLoadStep.cs: new pass criterion #10 that asserts at least one recipe surfaces IsCollectable == true. Catches a silent resolve-path failure. Existing Cosmic-surface check shifts to #11 to keep numbering stable. Build clean (0/0), csharpier clean.
This commit is contained in:
@@ -33,6 +33,13 @@ public sealed record AnvilRecipe
|
||||
public required bool IsExpertRecipe { get; init; }
|
||||
public required bool CanHQ { get; init; }
|
||||
|
||||
// True when the recipe is a collectable submission (custom delivery,
|
||||
// masterpiece supply, collectables shop). Module 02's Summarize branch
|
||||
// uses this discriminator. Resolved as IsExpertRecipe OR the output
|
||||
// item's AlwaysCollectable flag - the latter is the canonical FFXIV
|
||||
// signal for collectable submissions.
|
||||
public required bool IsCollectable { get; init; }
|
||||
|
||||
// Cosmic Exploration (Patch 7.x). v0.1.0 ships with MissionHas* always
|
||||
// false (SH-15 option B) - the data schema stays in place so v0.2.0+ can
|
||||
// light up the surface by resolving the WKS mission sheet without
|
||||
|
||||
Reference in New Issue
Block a user