mirror of
https://github.com/xivdev/EXDSchema.git
synced 2025-06-05 23:57:46 +00:00
Better relations patcher
This commit is contained in:
parent
1cfc29c82f
commit
e6bd6e4337
22 changed files with 257 additions and 0 deletions
|
@ -22,3 +22,11 @@ fields:
|
|||
- name: IsRelative
|
||||
type: array
|
||||
count: 3
|
||||
relations:
|
||||
Params:
|
||||
- BaseParam
|
||||
- IsRelative
|
||||
- Value
|
||||
- Max
|
||||
- ValueHQ
|
||||
- MaxHQ
|
|
@ -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]
|
||||
|
|
|
@ -22,3 +22,11 @@ fields:
|
|||
- name: IsRelative
|
||||
type: array
|
||||
count: 3
|
||||
relations:
|
||||
Params:
|
||||
- BaseParam
|
||||
- IsRelative
|
||||
- Value
|
||||
- Max
|
||||
- ValueHQ
|
||||
- MaxHQ
|
|
@ -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]
|
||||
|
|
|
@ -22,3 +22,11 @@ fields:
|
|||
- name: IsRelative
|
||||
type: array
|
||||
count: 3
|
||||
relations:
|
||||
Params:
|
||||
- BaseParam
|
||||
- IsRelative
|
||||
- Value
|
||||
- Max
|
||||
- ValueHQ
|
||||
- MaxHQ
|
|
@ -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]
|
||||
|
|
|
@ -22,3 +22,11 @@ fields:
|
|||
- name: IsRelative
|
||||
type: array
|
||||
count: 3
|
||||
relations:
|
||||
Params:
|
||||
- BaseParam
|
||||
- IsRelative
|
||||
- Value
|
||||
- Max
|
||||
- ValueHQ
|
||||
- MaxHQ
|
|
@ -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]
|
||||
|
|
|
@ -22,3 +22,11 @@ fields:
|
|||
- name: IsRelative
|
||||
type: array
|
||||
count: 3
|
||||
relations:
|
||||
Params:
|
||||
- BaseParam
|
||||
- IsRelative
|
||||
- Value
|
||||
- Max
|
||||
- ValueHQ
|
||||
- MaxHQ
|
|
@ -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]
|
||||
|
|
|
@ -22,3 +22,11 @@ fields:
|
|||
- name: IsRelative
|
||||
type: array
|
||||
count: 3
|
||||
relations:
|
||||
Params:
|
||||
- BaseParam
|
||||
- IsRelative
|
||||
- Value
|
||||
- Max
|
||||
- ValueHQ
|
||||
- MaxHQ
|
|
@ -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]
|
||||
|
|
|
@ -22,3 +22,11 @@ fields:
|
|||
- name: IsRelative
|
||||
type: array
|
||||
count: 3
|
||||
relations:
|
||||
Params:
|
||||
- BaseParam
|
||||
- IsRelative
|
||||
- Value
|
||||
- Max
|
||||
- ValueHQ
|
||||
- MaxHQ
|
|
@ -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]
|
||||
|
|
|
@ -22,3 +22,11 @@ fields:
|
|||
- name: IsRelative
|
||||
type: array
|
||||
count: 3
|
||||
relations:
|
||||
Params:
|
||||
- BaseParam
|
||||
- IsRelative
|
||||
- Value
|
||||
- Max
|
||||
- ValueHQ
|
||||
- MaxHQ
|
|
@ -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]
|
||||
|
|
|
@ -22,3 +22,11 @@ fields:
|
|||
- name: IsRelative
|
||||
type: array
|
||||
count: 3
|
||||
relations:
|
||||
Params:
|
||||
- BaseParam
|
||||
- IsRelative
|
||||
- Value
|
||||
- Max
|
||||
- ValueHQ
|
||||
- MaxHQ
|
|
@ -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]
|
||||
|
|
|
@ -22,3 +22,11 @@ fields:
|
|||
- name: IsRelative
|
||||
type: array
|
||||
count: 3
|
||||
relations:
|
||||
Params:
|
||||
- BaseParam
|
||||
- IsRelative
|
||||
- Value
|
||||
- Max
|
||||
- ValueHQ
|
||||
- MaxHQ
|
|
@ -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]
|
||||
|
|
46
relations.patch
Normal file
46
relations.patch
Normal file
|
@ -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]
|
1
relations.ps1
Normal file
1
relations.ps1
Normal file
|
@ -0,0 +1 @@
|
|||
Get-ChildItem Schemas | ? {$_.PSIsContainer} | ForEach-Object { git apply relations.patch --directory "Schemas/$($_.Name)" }
|
Loading…
Add table
Reference in a new issue