Skip to content

Commit

Permalink
Update Etched Rune Data (foundryvtt#5920)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdip authored Jan 26, 2023
1 parent 68ddce8 commit fd5ba8c
Show file tree
Hide file tree
Showing 23 changed files with 54 additions and 33 deletions.
20 changes: 10 additions & 10 deletions .betterer.results
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@ exports[`too-much-lint`] = {
[9, 14, 3, "Unexpected any. Specify a different type.", "193409811"],
[10, 15, 3, "Unexpected any. Specify a different type.", "193409811"]
],
"types/foundry/client/collections/compendium-collection.d.ts:3957627828": [
[210, 23, 3, "Unexpected any. Specify a different type.", "193409811"]
"types/foundry/client/collections/compendium-collection.d.ts:766536613": [
[212, 23, 3, "Unexpected any. Specify a different type.", "193409811"]
],
"types/foundry/client/documents/mixins/canvas-document-mixin.d.ts:3303075782": [
[16, 22, 3, "Unexpected any. Specify a different type.", "193409811"],
[21, 57, 3, "Unexpected any. Specify a different type.", "193409811"],
[54, 57, 3, "Unexpected any. Specify a different type.", "193409811"]
],
"types/foundry/client/documents/mixins/client-document-mixin.d.ts:2424756609": [
"types/foundry/client/documents/mixins/client-document-mixin.d.ts:1741650789": [
[8, 18, 3, "Unexpected any. Specify a different type.", "193409811"],
[65, 43, 3, "Unexpected any. Specify a different type.", "193409811"],
[163, 17, 3, "Unexpected any. Specify a different type.", "193409811"],
[164, 19, 3, "Unexpected any. Specify a different type.", "193409811"],
[167, 21, 3, "Unexpected any. Specify a different type.", "193409811"],
[305, 44, 3, "Unexpected any. Specify a different type.", "193409811"]
[165, 17, 3, "Unexpected any. Specify a different type.", "193409811"],
[166, 19, 3, "Unexpected any. Specify a different type.", "193409811"],
[169, 21, 3, "Unexpected any. Specify a different type.", "193409811"],
[307, 44, 3, "Unexpected any. Specify a different type.", "193409811"]
],
"types/foundry/client/game.d.ts:2501689875": [
[182, 32, 3, "Unexpected any. Specify a different type.", "193409811"]
Expand Down Expand Up @@ -54,10 +54,10 @@ exports[`too-much-lint`] = {
"types/foundry/common/abstract/data.d.ts:1438318714": [
[22, 34, 3, "Unexpected any. Specify a different type.", "193409811"]
],
"types/foundry/common/abstract/document.d.ts:2061890606": [
[571, 29, 3, "Unexpected any. Specify a different type.", "193409811"]
"types/foundry/common/abstract/document.d.ts:459111865": [
[572, 29, 3, "Unexpected any. Specify a different type.", "193409811"]
],
"types/foundry/common/utils/collection.d.ts:3114157620": [
"types/foundry/common/utils/collection.d.ts:1050385599": [
[111, 31, 3, "Unexpected any. Specify a different type.", "193409811"],
[113, 43, 3, "Unexpected any. Specify a different type.", "193409811"]
]
Expand Down
2 changes: 1 addition & 1 deletion packs/data/equipment.db/anarchic.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
]
},
"usage": {
"value": "held-in-one-hand"
"value": "etched-onto-weapon-wo-axiomatic-rune"
},
"weight": {
"value": "-"
Expand Down
2 changes: 1 addition & 1 deletion packs/data/equipment.db/axiomatic.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
]
},
"usage": {
"value": "held-in-one-hand"
"value": "etched-onto-weapon-wo-anarchic-rune"
},
"weight": {
"value": "-"
Expand Down
2 changes: 1 addition & 1 deletion packs/data/equipment.db/corrosive-greater.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
]
},
"usage": {
"value": "held-in-one-hand"
"value": "etched-onto-a-weapon"
},
"weight": {
"value": "-"
Expand Down
2 changes: 1 addition & 1 deletion packs/data/equipment.db/dancing.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
]
},
"usage": {
"value": "held-in-one-hand"
"value": "etched-onto-melee-weapon"
},
"weight": {
"value": "-"
Expand Down
2 changes: 1 addition & 1 deletion packs/data/equipment.db/disrupting-greater.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
]
},
"usage": {
"value": "held-in-one-hand"
"value": "etched-onto-melee-weapon"
},
"weight": {
"value": "-"
Expand Down
2 changes: 1 addition & 1 deletion packs/data/equipment.db/disrupting.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
]
},
"usage": {
"value": "held-in-one-hand"
"value": "etched-onto-melee-weapon"
},
"weight": {
"value": "-"
Expand Down
2 changes: 1 addition & 1 deletion packs/data/equipment.db/ghost-touch.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
]
},
"usage": {
"value": "held-in-one-hand"
"value": "etched-onto-melee-weapon"
},
"weight": {
"value": "-"
Expand Down
2 changes: 1 addition & 1 deletion packs/data/equipment.db/holy.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
]
},
"usage": {
"value": "held-in-one-hand"
"value": "etched-onto-weapon-wo-unholy-rune"
},
"weight": {
"value": "-"
Expand Down
2 changes: 1 addition & 1 deletion packs/data/equipment.db/invisibility-greater.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
]
},
"usage": {
"value": "held-in-one-hand"
"value": "etched-onto-light-armor"
},
"weight": {
"value": "-"
Expand Down
2 changes: 1 addition & 1 deletion packs/data/equipment.db/keen.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
]
},
"usage": {
"value": "held-in-one-hand"
"value": "etched-onto-piercing-or-slashing-melee-weapon"
},
"weight": {
"value": "-"
Expand Down
2 changes: 1 addition & 1 deletion packs/data/equipment.db/returning.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
]
},
"usage": {
"value": "held-in-one-hand"
"value": "etched-onto-thrown-weapon"
},
"weight": {
"value": "-"
Expand Down
2 changes: 1 addition & 1 deletion packs/data/equipment.db/shadow-greater.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
]
},
"usage": {
"value": "held-in-one-hand"
"value": "etched-onto-lm-nonmetal-armor"
},
"weight": {
"value": "-"
Expand Down
2 changes: 1 addition & 1 deletion packs/data/equipment.db/shadow-major.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
]
},
"usage": {
"value": "held-in-one-hand"
"value": "etched-onto-lm-nonmetal-armor"
},
"weight": {
"value": "-"
Expand Down
2 changes: 1 addition & 1 deletion packs/data/equipment.db/shadow.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
]
},
"usage": {
"value": "held-in-one-hand"
"value": "etched-onto-lm-nonmetal-armor"
},
"weight": {
"value": "-"
Expand Down
2 changes: 1 addition & 1 deletion packs/data/equipment.db/shifting.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
]
},
"usage": {
"value": "held-in-one-hand"
"value": "etched-onto-melee-weapon"
},
"weight": {
"value": "-"
Expand Down
2 changes: 1 addition & 1 deletion packs/data/equipment.db/spell-storing.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
]
},
"usage": {
"value": "held-in-one-hand"
"value": "etched-onto-melee-weapon"
},
"weight": {
"value": "-"
Expand Down
2 changes: 1 addition & 1 deletion packs/data/equipment.db/unholy.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
]
},
"usage": {
"value": "held-in-one-hand"
"value": "etched-onto-weapon-wo-holy-rune"
},
"weight": {
"value": "-"
Expand Down
2 changes: 1 addition & 1 deletion packs/data/equipment.db/vorpal.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
]
},
"usage": {
"value": "held-in-one-hand"
"value": "etched-onto-slashing-melee-weapon"
},
"weight": {
"value": "-"
Expand Down
2 changes: 1 addition & 1 deletion packs/data/equipment.db/wounding.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
]
},
"usage": {
"value": "held-in-one-hand"
"value": "etched-onto-piercing-or-slashing-melee-weapon"
},
"weight": {
"value": "-"
Expand Down
9 changes: 8 additions & 1 deletion src/module/item/physical/usage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,19 @@ export function getUsageDetails(usage: string): UsageDetails {
case "each-rune-applied-to-a-separate-item-that-has-pockets":
case "tattooed-on-the-body":
case "etched-onto-armor":
case "etched-onto-light-armor":
case "etched-onto-med-heavy-armor":
case "etched-onto-lm-nonmetal-armor":
case "etched-onto-a-weapon":
case "etched-onto-thrown-weapon":
case "etched-onto-melee-weapon":
case "etched-onto-slashing-melee-weapon":
case "etched-onto-piercing-or-slashing-melee-weapon":
case "etched-onto-clan-dagger":
case "etched-onto-lm-nonmetal-armor":
case "etched-onto-weapon-wo-anarchic-rune":
case "etched-onto-weapon-wo-axiomatic-rune":
case "etched-onto-weapon-wo-unholy-rune":
case "etched-onto-weapon-wo-holy-rune":
case "sewn-into-clothing":
case "":
return { value: usage, type: "worn" };
Expand Down
11 changes: 9 additions & 2 deletions src/scripts/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -994,10 +994,17 @@ export const PF2ECONFIG = {
"PF2E.TraitEachRuneAppliedToASeparateItemThatHasPockets",
"etched-onto-a-weapon": "PF2E.TraitEtchedOntoAWeapon",
"etched-onto-armor": "PF2E.TraitEtchedOntoArmor",
"etched-onto-clan-dagger": "PF2E.TraitEtchedOntoAClanDagger",
"etched-onto-lm-nonmetal-armor": "PF2E.TraitEtchedOntoLightMedNMArmor",
"etched-onto-light-armor": "PF2E.TraitEtchedOntoLightArmor",
"etched-onto-med-heavy-armor": "PF2E.TraitEtchedOntoMedHeavyArmor",
"etched-onto-lm-nonmetal-armor": "PF2E.TraitEtchedOntoLightMedNMArmor",
"etched-onto-clan-dagger": "PF2E.TraitEtchedOntoAClanDagger",
"etched-onto-melee-weapon": "PF2E.TraitEtchedOntoAMeleeWeapon",
"etched-onto-slashing-melee-weapon": "PF2E.TraitEtchedOntoASlashingMeleeWeapon",
"etched-onto-piercing-or-slashing-melee-weapon": "PF2E.TraitEtchedOntoAPiercingOrSlashingMeleeWeapon",
"etched-onto-weapon-wo-anarchic-rune": "PF2E.TraitEtchedOntoAWeaponWOAxiomaticRune",
"etched-onto-weapon-wo-axiomatic-rune": "PF2E.TraitEtchedOntoAWeaponWOAnarchicRune",
"etched-onto-weapon-wo-unholy-rune": "PF2E.TraitEtchedOntoAWeaponWOHolyRune",
"etched-onto-weapon-wo-holy-rune": "PF2E.TraitEtchedOntoAWeaponWOUnholyRune",
"etched-onto-thrown-weapon": "PF2E.TraitEtchedOntoAThrownWeapon",
"held-in-one-hand": "PF2E.TraitHeldOneHand",
"held-in-two-hands": "PF2E.TraitHeldTwoHands",
Expand Down
9 changes: 8 additions & 1 deletion static/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -4454,12 +4454,19 @@
"TraitWornSaddle": "Worn Saddle",
"TraitWornOrOneHand": "Worn or Held in One Hand",
"TraitEtchedOntoArmor": "Etched onto Armor",
"TraitEtchedOntoLightArmor": "Etched onto Light Armor",
"TraitEtchedOntoMedHeavyArmor": "Etched onto Medium or Heavy Armor",
"TraitEtchedOntoLightMedNMArmor": "Etched on L/M Nonmetal Armor",
"TraitEtchedOntoAWeapon": "Etched onto a Weapon",
"TraitEtchedOntoAThrownWeapon": "Etched on Thrown Weapon",
"TraitEtchedOntoAMeleeWeapon": "Etched on Melee Weapon",
"TraitEtchedOntoASlashingMeleeWeapon": "Etched on Slashing Melee Weapon",
"TraitEtchedOntoAPiercingOrSlashingMeleeWeapon": "Etched on Piercing/Slashing Melee Weapon",
"TraitEtchedOntoAWeaponWOAxiomaticRune": "Etched on Weapon w/o Axiomatic Rune",
"TraitEtchedOntoAWeaponWOAnarchicRune": "Etched on Weapon w/o Anarchic Rune",
"TraitEtchedOntoAWeaponWOHolyRune": "Etched on Weapon w/o Holy Rune",
"TraitEtchedOntoAWeaponWOUnholyRune": "Etched on Weapon w/o Unholy Rune",
"TraitEtchedOntoAClanDagger": "Etched on Clan Dagger",
"TraitEtchedOntoLightMedNMArmor": "Etched on L/M Nonmetal Armor",
"TraitBonded": "Bonded",
"TraitsLabel": "Traits",
"Trap": "Trap",
Expand Down

0 comments on commit fd5ba8c

Please sign in to comment.