diff --git a/Schemas/2023.07.26.0000.0000/ItemFood.yml b/Schemas/2023.07.26.0000.0000/ItemFood.yml index c1cf583..448b92d 100644 --- a/Schemas/2023.07.26.0000.0000/ItemFood.yml +++ b/Schemas/2023.07.26.0000.0000/ItemFood.yml @@ -22,3 +22,11 @@ fields: - name: IsRelative type: array count: 3 +relations: + Params: + - BaseParam + - IsRelative + - Value + - Max + - ValueHQ + - MaxHQ \ No newline at end of file diff --git a/Schemas/2023.07.26.0000.0000/SpecialShop.yml b/Schemas/2023.07.26.0000.0000/SpecialShop.yml index 9e2e5d9..9474cf1 100644 --- a/Schemas/2023.07.26.0000.0000/SpecialShop.yml +++ b/Schemas/2023.07.26.0000.0000/SpecialShop.yml @@ -26,6 +26,9 @@ fields: - name: ItemCost type: array count: 3 + fields: + - type: link + targets: [Item] - name: Quest type: link targets: [Quest] @@ -46,6 +49,16 @@ fields: - name: ReceiveHq type: array count: 2 + relations: + ReceiveItems: + - Item + - ReceiveCount + - ReceiveHq + ItemCosts: + - ItemCost + - CurrencyCost + - HqCost + - CollectabilityCost - name: Quest type: link targets: [Quest] diff --git a/Schemas/2023.09.28.0000.0000/ItemFood.yml b/Schemas/2023.09.28.0000.0000/ItemFood.yml index c1cf583..448b92d 100644 --- a/Schemas/2023.09.28.0000.0000/ItemFood.yml +++ b/Schemas/2023.09.28.0000.0000/ItemFood.yml @@ -22,3 +22,11 @@ fields: - name: IsRelative type: array count: 3 +relations: + Params: + - BaseParam + - IsRelative + - Value + - Max + - ValueHQ + - MaxHQ \ No newline at end of file diff --git a/Schemas/2023.09.28.0000.0000/SpecialShop.yml b/Schemas/2023.09.28.0000.0000/SpecialShop.yml index ea2cc80..01ada37 100644 --- a/Schemas/2023.09.28.0000.0000/SpecialShop.yml +++ b/Schemas/2023.09.28.0000.0000/SpecialShop.yml @@ -26,6 +26,9 @@ fields: - name: ItemCost type: array count: 3 + fields: + - type: link + targets: [Item] - name: Quest type: link targets: [Quest] @@ -49,6 +52,16 @@ fields: - name: ReceiveHq type: array count: 2 + relations: + ReceiveItems: + - Item + - ReceiveCount + - ReceiveHq + ItemCosts: + - ItemCost + - CurrencyCost + - HqCost + - CollectabilityCost - name: Quest type: link targets: [Quest] diff --git a/Schemas/2023.10.23.0000.0000/ItemFood.yml b/Schemas/2023.10.23.0000.0000/ItemFood.yml index c1cf583..448b92d 100644 --- a/Schemas/2023.10.23.0000.0000/ItemFood.yml +++ b/Schemas/2023.10.23.0000.0000/ItemFood.yml @@ -22,3 +22,11 @@ fields: - name: IsRelative type: array count: 3 +relations: + Params: + - BaseParam + - IsRelative + - Value + - Max + - ValueHQ + - MaxHQ \ No newline at end of file diff --git a/Schemas/2023.10.23.0000.0000/SpecialShop.yml b/Schemas/2023.10.23.0000.0000/SpecialShop.yml index ea2cc80..01ada37 100644 --- a/Schemas/2023.10.23.0000.0000/SpecialShop.yml +++ b/Schemas/2023.10.23.0000.0000/SpecialShop.yml @@ -26,6 +26,9 @@ fields: - name: ItemCost type: array count: 3 + fields: + - type: link + targets: [Item] - name: Quest type: link targets: [Quest] @@ -49,6 +52,16 @@ fields: - name: ReceiveHq type: array count: 2 + relations: + ReceiveItems: + - Item + - ReceiveCount + - ReceiveHq + ItemCosts: + - ItemCost + - CurrencyCost + - HqCost + - CollectabilityCost - name: Quest type: link targets: [Quest] diff --git a/Schemas/2023.11.09.0000.0000/ItemFood.yml b/Schemas/2023.11.09.0000.0000/ItemFood.yml index c1cf583..448b92d 100644 --- a/Schemas/2023.11.09.0000.0000/ItemFood.yml +++ b/Schemas/2023.11.09.0000.0000/ItemFood.yml @@ -22,3 +22,11 @@ fields: - name: IsRelative type: array count: 3 +relations: + Params: + - BaseParam + - IsRelative + - Value + - Max + - ValueHQ + - MaxHQ \ No newline at end of file diff --git a/Schemas/2023.11.09.0000.0000/SpecialShop.yml b/Schemas/2023.11.09.0000.0000/SpecialShop.yml index ea2cc80..01ada37 100644 --- a/Schemas/2023.11.09.0000.0000/SpecialShop.yml +++ b/Schemas/2023.11.09.0000.0000/SpecialShop.yml @@ -26,6 +26,9 @@ fields: - name: ItemCost type: array count: 3 + fields: + - type: link + targets: [Item] - name: Quest type: link targets: [Quest] @@ -49,6 +52,16 @@ fields: - name: ReceiveHq type: array count: 2 + relations: + ReceiveItems: + - Item + - ReceiveCount + - ReceiveHq + ItemCosts: + - ItemCost + - CurrencyCost + - HqCost + - CollectabilityCost - name: Quest type: link targets: [Quest] diff --git a/Schemas/2024.01.06.0000.0000/ItemFood.yml b/Schemas/2024.01.06.0000.0000/ItemFood.yml index c1cf583..448b92d 100644 --- a/Schemas/2024.01.06.0000.0000/ItemFood.yml +++ b/Schemas/2024.01.06.0000.0000/ItemFood.yml @@ -22,3 +22,11 @@ fields: - name: IsRelative type: array count: 3 +relations: + Params: + - BaseParam + - IsRelative + - Value + - Max + - ValueHQ + - MaxHQ \ No newline at end of file diff --git a/Schemas/2024.01.06.0000.0000/SpecialShop.yml b/Schemas/2024.01.06.0000.0000/SpecialShop.yml index ea2cc80..01ada37 100644 --- a/Schemas/2024.01.06.0000.0000/SpecialShop.yml +++ b/Schemas/2024.01.06.0000.0000/SpecialShop.yml @@ -26,6 +26,9 @@ fields: - name: ItemCost type: array count: 3 + fields: + - type: link + targets: [Item] - name: Quest type: link targets: [Quest] @@ -49,6 +52,16 @@ fields: - name: ReceiveHq type: array count: 2 + relations: + ReceiveItems: + - Item + - ReceiveCount + - ReceiveHq + ItemCosts: + - ItemCost + - CurrencyCost + - HqCost + - CollectabilityCost - name: Quest type: link targets: [Quest] diff --git a/Schemas/2024.02.05.0000.0000/ItemFood.yml b/Schemas/2024.02.05.0000.0000/ItemFood.yml index c1cf583..448b92d 100644 --- a/Schemas/2024.02.05.0000.0000/ItemFood.yml +++ b/Schemas/2024.02.05.0000.0000/ItemFood.yml @@ -22,3 +22,11 @@ fields: - name: IsRelative type: array count: 3 +relations: + Params: + - BaseParam + - IsRelative + - Value + - Max + - ValueHQ + - MaxHQ \ No newline at end of file diff --git a/Schemas/2024.02.05.0000.0000/SpecialShop.yml b/Schemas/2024.02.05.0000.0000/SpecialShop.yml index ea2cc80..01ada37 100644 --- a/Schemas/2024.02.05.0000.0000/SpecialShop.yml +++ b/Schemas/2024.02.05.0000.0000/SpecialShop.yml @@ -26,6 +26,9 @@ fields: - name: ItemCost type: array count: 3 + fields: + - type: link + targets: [Item] - name: Quest type: link targets: [Quest] @@ -49,6 +52,16 @@ fields: - name: ReceiveHq type: array count: 2 + relations: + ReceiveItems: + - Item + - ReceiveCount + - ReceiveHq + ItemCosts: + - ItemCost + - CurrencyCost + - HqCost + - CollectabilityCost - name: Quest type: link targets: [Quest] diff --git a/Schemas/2024.03.08.0000.0000/ItemFood.yml b/Schemas/2024.03.08.0000.0000/ItemFood.yml index c1cf583..448b92d 100644 --- a/Schemas/2024.03.08.0000.0000/ItemFood.yml +++ b/Schemas/2024.03.08.0000.0000/ItemFood.yml @@ -22,3 +22,11 @@ fields: - name: IsRelative type: array count: 3 +relations: + Params: + - BaseParam + - IsRelative + - Value + - Max + - ValueHQ + - MaxHQ \ No newline at end of file diff --git a/Schemas/2024.03.08.0000.0000/SpecialShop.yml b/Schemas/2024.03.08.0000.0000/SpecialShop.yml index ea2cc80..01ada37 100644 --- a/Schemas/2024.03.08.0000.0000/SpecialShop.yml +++ b/Schemas/2024.03.08.0000.0000/SpecialShop.yml @@ -26,6 +26,9 @@ fields: - name: ItemCost type: array count: 3 + fields: + - type: link + targets: [Item] - name: Quest type: link targets: [Quest] @@ -49,6 +52,16 @@ fields: - name: ReceiveHq type: array count: 2 + relations: + ReceiveItems: + - Item + - ReceiveCount + - ReceiveHq + ItemCosts: + - ItemCost + - CurrencyCost + - HqCost + - CollectabilityCost - name: Quest type: link targets: [Quest] diff --git a/Schemas/2024.04.23.0000.0000/ItemFood.yml b/Schemas/2024.04.23.0000.0000/ItemFood.yml index c1cf583..448b92d 100644 --- a/Schemas/2024.04.23.0000.0000/ItemFood.yml +++ b/Schemas/2024.04.23.0000.0000/ItemFood.yml @@ -22,3 +22,11 @@ fields: - name: IsRelative type: array count: 3 +relations: + Params: + - BaseParam + - IsRelative + - Value + - Max + - ValueHQ + - MaxHQ \ No newline at end of file diff --git a/Schemas/2024.04.23.0000.0000/SpecialShop.yml b/Schemas/2024.04.23.0000.0000/SpecialShop.yml index ea2cc80..01ada37 100644 --- a/Schemas/2024.04.23.0000.0000/SpecialShop.yml +++ b/Schemas/2024.04.23.0000.0000/SpecialShop.yml @@ -26,6 +26,9 @@ fields: - name: ItemCost type: array count: 3 + fields: + - type: link + targets: [Item] - name: Quest type: link targets: [Quest] @@ -49,6 +52,16 @@ fields: - name: ReceiveHq type: array count: 2 + relations: + ReceiveItems: + - Item + - ReceiveCount + - ReceiveHq + ItemCosts: + - ItemCost + - CurrencyCost + - HqCost + - CollectabilityCost - name: Quest type: link targets: [Quest] diff --git a/Schemas/2024.07.06.0000.0000/ItemFood.yml b/Schemas/2024.07.06.0000.0000/ItemFood.yml index c1cf583..448b92d 100644 --- a/Schemas/2024.07.06.0000.0000/ItemFood.yml +++ b/Schemas/2024.07.06.0000.0000/ItemFood.yml @@ -22,3 +22,11 @@ fields: - name: IsRelative type: array count: 3 +relations: + Params: + - BaseParam + - IsRelative + - Value + - Max + - ValueHQ + - MaxHQ \ No newline at end of file diff --git a/Schemas/2024.07.06.0000.0000/SpecialShop.yml b/Schemas/2024.07.06.0000.0000/SpecialShop.yml index ea2cc80..01ada37 100644 --- a/Schemas/2024.07.06.0000.0000/SpecialShop.yml +++ b/Schemas/2024.07.06.0000.0000/SpecialShop.yml @@ -26,6 +26,9 @@ fields: - name: ItemCost type: array count: 3 + fields: + - type: link + targets: [Item] - name: Quest type: link targets: [Quest] @@ -49,6 +52,16 @@ fields: - name: ReceiveHq type: array count: 2 + relations: + ReceiveItems: + - Item + - ReceiveCount + - ReceiveHq + ItemCosts: + - ItemCost + - CurrencyCost + - HqCost + - CollectabilityCost - name: Quest type: link targets: [Quest] diff --git a/Schemas/2024.07.10.0001.0000/ItemFood.yml b/Schemas/2024.07.10.0001.0000/ItemFood.yml index c1cf583..448b92d 100644 --- a/Schemas/2024.07.10.0001.0000/ItemFood.yml +++ b/Schemas/2024.07.10.0001.0000/ItemFood.yml @@ -22,3 +22,11 @@ fields: - name: IsRelative type: array count: 3 +relations: + Params: + - BaseParam + - IsRelative + - Value + - Max + - ValueHQ + - MaxHQ \ No newline at end of file diff --git a/Schemas/2024.07.10.0001.0000/SpecialShop.yml b/Schemas/2024.07.10.0001.0000/SpecialShop.yml index ea2cc80..01ada37 100644 --- a/Schemas/2024.07.10.0001.0000/SpecialShop.yml +++ b/Schemas/2024.07.10.0001.0000/SpecialShop.yml @@ -26,6 +26,9 @@ fields: - name: ItemCost type: array count: 3 + fields: + - type: link + targets: [Item] - name: Quest type: link targets: [Quest] @@ -49,6 +52,16 @@ fields: - name: ReceiveHq type: array count: 2 + relations: + ReceiveItems: + - Item + - ReceiveCount + - ReceiveHq + ItemCosts: + - ItemCost + - CurrencyCost + - HqCost + - CollectabilityCost - name: Quest type: link targets: [Quest] diff --git a/relations.patch b/relations.patch new file mode 100644 index 0000000..7f5a881 --- /dev/null +++ b/relations.patch @@ -0,0 +1,46 @@ +diff --git a/ItemFood.yml b/ItemFood.yml +--- a/ItemFood.yml ++++ b/ItemFood.yml +@@ -22,3 +22,11 @@ fields: + - name: IsRelative + type: array + count: 3 ++relations: ++ Params: ++ - BaseParam ++ - IsRelative ++ - Value ++ - Max ++ - ValueHQ ++ - MaxHQ +\ No newline at end of file +diff --git a/SpecialShop.yml b/SpecialShop.yml +--- a/SpecialShop.yml ++++ b/SpecialShop.yml +@@ -26,6 +26,9 @@ fields: + - name: ItemCost + type: array + count: 3 ++ fields: ++ - type: link ++ targets: [Item] + - name: Quest + type: link + targets: [Quest] +@@ -49,6 +52,16 @@ fields: + - name: ReceiveHq + type: array + count: 2 ++ relations: ++ ReceiveItems: ++ - Item ++ - ReceiveCount ++ - ReceiveHq ++ ItemCosts: ++ - ItemCost ++ - CurrencyCost ++ - HqCost ++ - CollectabilityCost + - name: Quest + type: link + targets: [Quest] diff --git a/relations.ps1 b/relations.ps1 new file mode 100644 index 0000000..c7b7bfb --- /dev/null +++ b/relations.ps1 @@ -0,0 +1 @@ + Get-ChildItem Schemas | ? {$_.PSIsContainer} | ForEach-Object { git apply relations.patch --directory "Schemas/$($_.Name)" } \ No newline at end of file