Skip to content

Commit

Permalink
fix: tag name correction and deletion of useless items
Browse files Browse the repository at this point in the history
The name of general items was changed from "generalEquipment" to "generalEquipment", causing some
items to no longer work, in addition, some useless items that were not cohesive with the system were
deleted.

BREAKING CHANGE: By changing the variable name of general items, some items may no longer work, in
addition, other types of excluded items may also no longer work.
  • Loading branch information
SouOWendel committed Oct 18, 2023
1 parent 1fa1beb commit a81dc19
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 117 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -5,6 +5,6 @@ packs/createMissionPTBR
packs/generalPTBR
packs/armaments
packs/documentation
packs/generalEquipaments
packs/generalEquipments
packs/maps
packs/protections
4 changes: 2 additions & 2 deletions system.json
Expand Up @@ -62,7 +62,7 @@
}
},
{
"name": "generalEquipaments",
"name": "generalEquipments",
"label": "Equipamentos Gerais",
"system": "ordemparanormal",
"type": "Item",
Expand Down Expand Up @@ -107,7 +107,7 @@
"color": "#b72c1f",
"packs": [
"armaments",
"generalEquipaments",
"generalEquipments",
"protections"
]
}
Expand Down
14 changes: 4 additions & 10 deletions template.json
Expand Up @@ -301,7 +301,7 @@
}
},
"Item": {
"types": ["armament", "protection", "generalEquipament", "ritual", "power", "item", "feature", "spell"],
"types": ["armament", "generalEquipment", "protection", "power", "ritual" ],
"templates": {
"base": {
"description": "",
Expand Down Expand Up @@ -336,7 +336,7 @@
"defense": 0,
"penalty": ""
},
"generalEquipament": {
"generalEquipment": {
"templates": ["base"],
"type": "",
"quantity": 1
Expand All @@ -347,21 +347,15 @@
"range": "",
"areaEffect": "",
"duration": "",
"resistence": "",
"resistance": "",
"studentForm": false,
"trueFrom": false
},
"power": {
"id": 0,
"type": "",
"description": "",
"preRequisite": ""
},
"feature": {
"templates": ["base"]
},
"spell": {
"templates": ["base"],
"spellLevel": 1
}
}
}
29 changes: 0 additions & 29 deletions templates/item/item-feature-sheet.html

This file was deleted.

43 changes: 0 additions & 43 deletions templates/item/item-item-sheet.html

This file was deleted.

32 changes: 0 additions & 32 deletions templates/item/item-spell-sheet.html

This file was deleted.

0 comments on commit a81dc19

Please sign in to comment.