From 2829189261c075c725940601bf0c7658d3a3608f Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 1 Apr 2025 16:25:37 +0100 Subject: [PATCH] Fix properties --- steampunk_compendium.json | 112 ++++++++++++++++++++++++++------------ 1 file changed, 78 insertions(+), 34 deletions(-) diff --git a/steampunk_compendium.json b/steampunk_compendium.json index e846c4b..bcd9423 100644 --- a/steampunk_compendium.json +++ b/steampunk_compendium.json @@ -95,7 +95,7 @@ ] } ], - "template": "misfire {{item.misfire}}" + "template": "misfire {{item.customProperties.misfire}}" }, { "abbreviation": "Pr", @@ -128,7 +128,7 @@ ] } ], - "template": "{{prop_name}} {{item.reload}}" + "template": "{{prop_name}} {{item.customProperties.reload}}" }, { "abbreviation": "LL", @@ -144,7 +144,7 @@ ] } ], - "template": "{{prop_name}} {{item.longload}}" + "template": "{{prop_name}} {{item.customProperties.longload}}" }, { "abbreviation": "Shell", @@ -159,7 +159,7 @@ ] } ], - "template": "{{prop_name}} {{item.shellload}}" + "template": "{{prop_name}} {{item.customProperties.shellload}}" }, { "abbreviation": "Auto", @@ -278,7 +278,7 @@ ] } ], - "template": "{{prop_name}} ({{item.scatter}})" + "template": "{{prop_name}} ({{item.customProperties.scatter}})" }, { "abbreviation": "Hid", @@ -455,7 +455,9 @@ "value": 25000, "rarity": "none", "reload": 2, - "misfire": 3, + "customProperties": { + "misfire": 3 + }, "firearm": true }, { @@ -478,7 +480,9 @@ "value": 25000, "rarity": "none", "reload": 2, - "misfire": 3, + "customProperties": { + "misfire": 3 + }, "firearm": true, "entries": [ "A small, easily concealed firearm ideal for close-range defense." @@ -502,7 +506,9 @@ "value": 30000, "rarity": "none", "reload": 6, - "misfire": 4, + "customProperties": { + "misfire": 4 + }, "firearm": true, "entries": [ "A heavier pistol with a larger caliber, designed for mounted troops." @@ -528,7 +534,9 @@ "value": 20000, "rarity": "none", "reload": 1, - "misfire": 4, + "customProperties": { + "misfire": 4 + }, "firearm": true, "entries": [ "A standard-issue pistol using flintlock mechanism, common among soldiers." @@ -552,8 +560,10 @@ "range": "30/60", "value": 45000, "rarity": "none", - "longload": 8, - "misfire": 6, + "customProperties": { + "misfire": 6, + "longload": 8 + }, "firearm": true, "entries": [ "A revolver with multiple barrels, allowing for several shots before reloading." @@ -580,8 +590,10 @@ "range": "50/150", "value": 20000, "rarity": "none", - "longload": 1, - "misfire": 4, + "customProperties": { + "longload": 1, + "misfire": 4 + }, "firearm": true, "entries": [ "A redimentary form of long gun, requiring setup and support to fire accurately." @@ -606,9 +618,11 @@ "range": "20/50", "value": 90000, "rarity": "none", - "longload": 1, - "misfire": 3, - "scatter": "1d8", + "customProperties": { + "longload": 1, + "misfire": 3, + "scatter": "1d8" + }, "firearm": true, "entries": [ "A firearm with a wide muzzle, notorious for its ability to scatter shot over a wide area." @@ -633,8 +647,10 @@ "range": "70/200", "value": 50000, "rarity": "none", - "longload": 1, - "misfire": 5, + "customProperties": { + "longload": 1, + "misfire": 5 + }, "firearm": true, "entries": [ "A long-range firearm favored for its accuracy and power at a distance." @@ -659,8 +675,10 @@ "range": "40/160", "value": 40000, "rarity": "none", - "longload": 1, - "misfire": 2, + "customProperties": { + "longload": 1, + "misfire": 2 + }, "firearm": true, "entries": [ "An advanced firearm, using a wheellock mechanism for more reliable ignition." @@ -730,7 +748,9 @@ "rarity": "none", "reload": 4, "firearm": true, - "scatter": "1d6", + "customProperties": { + "scatter": "1d6" + }, "entries": [ "A modified shotgun with a shortened barrel, spreading its shot over a wider area." ] @@ -751,7 +771,9 @@ "range": "100/200", "value": 150000, "rarity": "none", - "longload": 6, + "customProperties": { + "longload": 6 + }, "firearm": true, "entries": [ "A rifle featuring a lever-action mechanism, allowing for quick shooting and reloading." @@ -798,8 +820,10 @@ "range": "30/60", "value": 200000, "rarity": "none", - "shellload": 6, - "scatter": "1d8", + "customProperties": { + "shellload": 6, + "scatter": "1d8" + }, "firearm": true, "entries": [ "A standard shotgun capable of firing shells loaded with multiple pellets, effective at close range." @@ -871,7 +895,9 @@ "range": "50/180", "value": 220000, "rarity": "none", - "longload": 6, + "customProperties": { + "longload": 6 + }, "firearm": true, "entries": [ "A revolver known for its reliability and ease of use, ideal for quick drawing." @@ -894,7 +920,9 @@ "range": "60/200", "value": 270000, "rarity": "none", - "longload": 6, + "customProperties": { + "longload": 6 + }, "firearm": true, "entries": [ "A large, heavy pistol that delivers powerful shots, known for its significant stopping power." @@ -967,7 +995,9 @@ "range": "50/180", "value": 220000, "rarity": "none", - "shellload": 6, + "customProperties": { + "shellload": 6 + }, "firearm": true, "entries": [ "A revolver known for its reliability and ease of use, ideal for quick drawing." @@ -990,7 +1020,9 @@ "range": "60/200", "value": 270000, "rarity": "none", - "shellload": 6, + "customProperties": { + "shellload": 6 + }, "firearm": true, "entries": [ "A large, heavy pistol that delivers powerful shots, known for its significant stopping power." @@ -1065,7 +1097,9 @@ "range": "90/300", "value": 240000, "rarity": "none", - "shellload": 2, + "customProperties": { + "shellload": 2 + }, "firearm": true, "entries": [ "A shotgun with two barrels for rapid firing without the need to reload immediately.", @@ -1097,7 +1131,9 @@ "range": "60/200", "value": 650000, "rarity": "none", - "longload": 1, + "customProperties": { + "longload": 1 + }, "firearm": true, "entries": [ "An exceptionally powerful and heavy firearm, resembling a small cannon that can be carried and fired by a single person.", @@ -1129,7 +1165,9 @@ "range": "40/120", "value": 350000, "rarity": "none", - "longload": 10, + "customProperties": { + "longload": 10 + }, "firearm": true, "entries": [ "A futuristic rifle that fires bolts of concentrated electrical energy, effective against conductive targets." @@ -1155,7 +1193,9 @@ "range": "300/1800", "value": 550000, "rarity": "none", - "longload": 4, + "customProperties": { + "longload": 4 + }, "firearm": true, "entries": [ "An advanced, high-powered long-range weapon, capable of delivering devastating energy blasts over great distances." @@ -1210,7 +1250,9 @@ "range": "70/230", "value": 600000, "rarity": "none", - "longload": 3, + "customProperties": { + "longload": 3 + }, "firearm": true, "entries": [ "An advanced weapon that combines the functions of a firearm and a lance, allowing for both ranged and melee combat.", @@ -1243,7 +1285,9 @@ "range": "70/210", "value": 550000, "rarity": "none", - "shellload": 7, + "customProperties": { + "shellload": 7 + }, "firearm": true, "entries": [ "A heavy firearm with multiple barrels, capable of unleashing a devastating barrage in a single shot.",