mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +01:00
Add shape meta manipulations and rework attribute hook.
This commit is contained in:
parent
0adec35848
commit
6ad0b4299a
23 changed files with 900 additions and 298 deletions
|
|
@ -3,7 +3,7 @@
|
|||
"type": "object",
|
||||
"properties": {
|
||||
"Type": {
|
||||
"enum": [ "Unknown", "Imc", "Eqdp", "Eqp", "Est", "Gmp", "Rsp", "GlobalEqp", "Atch" ]
|
||||
"enum": [ "Unknown", "Imc", "Eqdp", "Eqp", "Est", "Gmp", "Rsp", "GlobalEqp", "Atch", "Shp" ]
|
||||
},
|
||||
"Manipulation": {
|
||||
"type": "object"
|
||||
|
|
@ -90,6 +90,16 @@
|
|||
"$ref": "meta_atch.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"Type": {
|
||||
"const": "Shp"
|
||||
},
|
||||
"Manipulation": {
|
||||
"$ref": "meta_shp.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,6 +5,10 @@
|
|||
"$anchor": "EquipSlot",
|
||||
"enum": [ "Unknown", "MainHand", "OffHand", "Head", "Body", "Hands", "Belt", "Legs", "Feet", "Ears", "Neck", "Wrists", "RFinger", "BothHand", "LFinger", "HeadBody", "BodyHandsLegsFeet", "SoulCrystal", "LegsFeet", "FullBody", "BodyHands", "BodyLegsFeet", "ChestHands", "Nothing", "All" ]
|
||||
},
|
||||
"HumanSlot": {
|
||||
"$anchor": "HumanSlot",
|
||||
"enum": [ "Head", "Body", "Hands", "Legs", "Feet", "Ears", "Neck", "Wrists", "RFinger", "LFinger", "Hair", "Face", "Ear", "Glasses", "Unknown" ]
|
||||
},
|
||||
"Gender": {
|
||||
"$anchor": "Gender",
|
||||
"enum": [ "Unknown", "Male", "Female", "MaleNpc", "FemaleNpc" ]
|
||||
|
|
|
|||
23
schemas/structs/meta_shp.json
Normal file
23
schemas/structs/meta_shp.json
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Entry": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"Slot": {
|
||||
"$ref": "meta_enums.json#HumanSlot"
|
||||
},
|
||||
"Id": {
|
||||
"$ref": "meta_enums.json#U16"
|
||||
},
|
||||
"Shape": {
|
||||
"type": "string",
|
||||
"minLength": 8,
|
||||
"maxLength": 30
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"Shape"
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue