using templates for items

This commit is contained in:
Vlyan
2020-12-18 11:20:20 +01:00
parent efca6cd083
commit 1ad9d639f2

View File

@@ -135,29 +135,36 @@
}, },
"Item": { "Item": {
"types": ["item", "armor", "weapon", "technique", "quality", "peculiarity", "advancement"], "types": ["item", "armor", "weapon", "technique", "quality", "peculiarity", "advancement"],
"templates": {
"advancement": {
"in_curriculum": false,
"xp_used": 0,
"rank": 1,
"bought_at_rank": 1
},
"item": {
"equipped": false,
"quantity": 1,
"weight": 0,
"rarity": 0,
"zeni": 0,
"properties": []
}
},
"item": { "item": {
"description": "", "templates": ["item"],
"properties": [], "description": ""
"quantity": 1,
"rarity": 0,
"weight": 0,
"zeni": 0,
"equipped": false
}, },
"armor": { "armor": {
"quantity": 1, "templates": ["item"],
"weight": 0,
"description": "",
"armor": { "armor": {
"physical": 0, "physical": 0,
"supernatural": 0 "supernatural": 0
}, },
"properties": [], "description": ""
"rarity": 0,
"zeni": 0,
"equipped": false
}, },
"weapon": { "weapon": {
"templates": ["item"],
"category": "", "category": "",
"skill": "melee", "skill": "melee",
"range": 0, "range": 0,
@@ -165,21 +172,12 @@
"deadliness": 0, "deadliness": 0,
"grip_1": "", "grip_1": "",
"grip_2": "", "grip_2": "",
"properties": [], "description": ""
"quantity": 1,
"rarity": 0,
"weight": 0,
"zeni": 0,
"description": "",
"equipped": false
}, },
"technique": { "technique": {
"templates": ["advancement"],
"technique_type": "", "technique_type": "",
"in_curriculum": false, "ring": "void",
"xp_used": 0,
"rank": 1,
"bought_at_rank": 1,
"ring": "",
"effects": "", "effects": "",
"description": "" "description": ""
}, },
@@ -187,21 +185,15 @@
"description": "" "description": ""
}, },
"peculiarity": { "peculiarity": {
"templates": ["advancement"],
"peculiarity_type": "distinction", "peculiarity_type": "distinction",
"in_curriculum": false,
"xp_used": 0,
"rank": 1,
"bought_at_rank": 1,
"ring": "void", "ring": "void",
"types": "", "types": "",
"description": "" "description": ""
}, },
"advancement": { "advancement": {
"templates": ["advancement"],
"advancement_type": "", "advancement_type": "",
"in_curriculum": false,
"xp_used": 0,
"rank": 1,
"bought_at_rank": 1,
"description": "" "description": ""
} }
} }