diff --git a/src/data/dark_elf/resources.json b/src/data/dark_elf/resources.json index 07d2125..288104c 100644 --- a/src/data/dark_elf/resources.json +++ b/src/data/dark_elf/resources.json @@ -1,114 +1,117 @@ -[ - { - "name": "Bitter Poison", - "type": "gear", - "rp": 10 - }, - { - "name": "Spiteful Poison", - "type": "gear", - "rp": 20 - }, - { - "name": "Lock Picks", - "type": "gear", - "rp": 10 - }, - { - "name": "Long Knife", - "type": "gear", - "rp": 5 - }, - { - "name": "Barbed Javelins", - "type": "gear", - "rp": 3 - }, - { - "name": "Garrote", - "type": "gear", - "rp": 3 - }, - { - "name": "Caltrops", - "type": "gear", - "rp": 3 - }, - { - "name": "Tools Of The Trade", - "type": "gear", - "rp": 9 - }, - { - "name": "Cloak Of Darkness", - "type": "gear", - "rp": 30 - }, - { - "name": "Climbing Claws", - "type": "gear", - "rp": 5 - }, - { - "name": "Remote Refuge", - "type": "property", - "resources": [ - { - "name": "Wasteland", - "rp": 20 - }, - { - "name": "Isolated Manor And Moorland", - "rp": 50 - }, - { - "name": "Hidden Fortress", - "rp": 100 - }, - { - "name": "Dark Forest, Cove Or Lonely Mountain", - "rp": 150 - }, - { - "name": "Safe House", - "rp": 25 - } - ] - }, - { - "name": "Morlin Armor", - "type": "gear", - "resources": [ - { - "name": "Light Mail", - "rp": 30 - }, - { - "name": "Heavy Mail", - "rp": 40 - }, - { - "name": "Plated Mail", - "rp": 100 - } - ] - }, - { - "name": "Morlin Weapons", - "type": "gear", - "resources": [ - { - "name": "+1 speed", - "rp": 15 - }, - { - "name": "+1 VA", - "rp": 15 - }, - { - "name": "+1 Power", - "rp": 30 - } - ] - } -] \ No newline at end of file +{ + "stock": "elf", + "resources": [ + { + "name": "Bitter Poison", + "type": "gear", + "rp": 10 + }, + { + "name": "Spiteful Poison", + "type": "gear", + "rp": 20 + }, + { + "name": "Lock Picks", + "type": "gear", + "rp": 10 + }, + { + "name": "Long Knife", + "type": "gear", + "rp": 5 + }, + { + "name": "Barbed Javelins", + "type": "gear", + "rp": 3 + }, + { + "name": "Garrote", + "type": "gear", + "rp": 3 + }, + { + "name": "Caltrops", + "type": "gear", + "rp": 3 + }, + { + "name": "Tools Of The Trade", + "type": "gear", + "rp": 9 + }, + { + "name": "Cloak Of Darkness", + "type": "gear", + "rp": 30 + }, + { + "name": "Climbing Claws", + "type": "gear", + "rp": 5 + }, + { + "name": "Remote Refuge", + "type": "property", + "resources": [ + { + "name": "Wasteland", + "rp": 20 + }, + { + "name": "Isolated Manor And Moorland", + "rp": 50 + }, + { + "name": "Hidden Fortress", + "rp": 100 + }, + { + "name": "Dark Forest, Cove Or Lonely Mountain", + "rp": 150 + }, + { + "name": "Safe House", + "rp": 25 + } + ] + }, + { + "name": "Morlin Armor", + "type": "gear", + "resources": [ + { + "name": "Light Mail", + "rp": 30 + }, + { + "name": "Heavy Mail", + "rp": 40 + }, + { + "name": "Plated Mail", + "rp": 100 + } + ] + }, + { + "name": "Morlin Weapons", + "type": "gear", + "resources": [ + { + "name": "+1 speed", + "rp": 15 + }, + { + "name": "+1 VA", + "rp": 15 + }, + { + "name": "+1 Power", + "rp": 30 + } + ] + } + ] +} diff --git a/src/data/gold/resources/dwarf.json b/src/data/gold/resources/dwarf.json index 83aba51..2dedb85 100644 --- a/src/data/gold/resources/dwarf.json +++ b/src/data/gold/resources/dwarf.json @@ -1,152 +1,155 @@ -[ - { - "name": "Shoddy Arms", - "rp": 5, - "type": "gear" - }, - { - "name": "Dwarven Arms", - "rp": 20, - "type": "gear" - }, - { - "name": "Shoddy Crossbow", - "rp": 6, - "type": "gear" - }, - { - "name": "Dwarven Arbalest", - "rp": 20, - "type": "gear" - }, - { - "name": "Dwarven-made Light Mail", - "rp": 9, - "type": "gear" - }, - { - "name": "Dwarven-made Heavy Mail", - "rp": 10, - "type": "gear" - }, - { - "name": "Dwarven-made Plated Mail", - "rp": 20, - "type": "gear" - }, - { - "name": "Dwarven Mail", - "rp": 100, - "type": "gear" - }, - { - "name": "Forge Mask", - "rp": 40, - "type": "gear" - }, - { - "name": "Dwarven Shield", - "rp": 20, - "type": "gear" - }, - { - "name": "Riding Mount Or Pack Animal", - "rp": 8, - "type": "gear" - }, - { - "name": "Clothes", - "rp": 1, - "type": "gear" - }, - { - "name": "Traveling Gear", - "rp": 1, - "type": "gear" - }, - { - "name": "Sturdy Shoes", - "rp": 1, - "type": "gear" - }, - { - "name": "Finery", - "rp": 5, - "type": "gear" - }, - { - "name": "Chronicles", - "rp": 15, - "type": "gear" - }, - { - "name": "Keg O' Nog", - "rp": 20, - "type": "gear" - }, - { - "name": "Small Dwarven House", - "rp": 10, - "type": "property" - }, - { - "name": "Large Dwarven House", - "rp": 15, - "type": "property" - }, - { - "name": "A Dwarven Hall", - "rp": 30, - "type": "property" - }, - { - "name": "A Graybeard's Hold", - "rp": 40, - "type": "property" - }, - { - "name": "An Engineer's Hold", - "rp": 45, - "type": "property" - }, - { - "name": "A Master Artificer's Hold", - "rp": 60, - "type": "property" - }, - { - "name": "A Warden's Hold", - "rp": 75, - "type": "property" - }, - { - "name": "A High Captain's Hold", - "rp": 90, - "type": "property" - }, - { - "name": "A Prince's Hold", - "rp": 105, - "type": "property" - }, - { - "name": "A Workshop", - "rp": 60, - "type": "property" - }, - { - "name": "Dwarven Tools", - "rp": 10, - "type": "gear" - }, - { - "name": "Shoddy Tools", - "rp": 5, - "type": "gear" - }, - { - "name": "Carts And Baggage", - "rp": 15, - "type": "gear" - } -] \ No newline at end of file +{ + "stock": "dwarf", + "resources": [ + { + "name": "Shoddy Arms", + "rp": 5, + "type": "gear" + }, + { + "name": "Dwarven Arms", + "rp": 20, + "type": "gear" + }, + { + "name": "Shoddy Crossbow", + "rp": 6, + "type": "gear" + }, + { + "name": "Dwarven Arbalest", + "rp": 20, + "type": "gear" + }, + { + "name": "Dwarven-made Light Mail", + "rp": 9, + "type": "gear" + }, + { + "name": "Dwarven-made Heavy Mail", + "rp": 10, + "type": "gear" + }, + { + "name": "Dwarven-made Plated Mail", + "rp": 20, + "type": "gear" + }, + { + "name": "Dwarven Mail", + "rp": 100, + "type": "gear" + }, + { + "name": "Forge Mask", + "rp": 40, + "type": "gear" + }, + { + "name": "Dwarven Shield", + "rp": 20, + "type": "gear" + }, + { + "name": "Riding Mount Or Pack Animal", + "rp": 8, + "type": "gear" + }, + { + "name": "Clothes", + "rp": 1, + "type": "gear" + }, + { + "name": "Traveling Gear", + "rp": 1, + "type": "gear" + }, + { + "name": "Sturdy Shoes", + "rp": 1, + "type": "gear" + }, + { + "name": "Finery", + "rp": 5, + "type": "gear" + }, + { + "name": "Chronicles", + "rp": 15, + "type": "gear" + }, + { + "name": "Keg O' Nog", + "rp": 20, + "type": "gear" + }, + { + "name": "Small Dwarven House", + "rp": 10, + "type": "property" + }, + { + "name": "Large Dwarven House", + "rp": 15, + "type": "property" + }, + { + "name": "A Dwarven Hall", + "rp": 30, + "type": "property" + }, + { + "name": "A Graybeard's Hold", + "rp": 40, + "type": "property" + }, + { + "name": "An Engineer's Hold", + "rp": 45, + "type": "property" + }, + { + "name": "A Master Artificer's Hold", + "rp": 60, + "type": "property" + }, + { + "name": "A Warden's Hold", + "rp": 75, + "type": "property" + }, + { + "name": "A High Captain's Hold", + "rp": 90, + "type": "property" + }, + { + "name": "A Prince's Hold", + "rp": 105, + "type": "property" + }, + { + "name": "A Workshop", + "rp": 60, + "type": "property" + }, + { + "name": "Dwarven Tools", + "rp": 10, + "type": "gear" + }, + { + "name": "Shoddy Tools", + "rp": 5, + "type": "gear" + }, + { + "name": "Carts And Baggage", + "rp": 15, + "type": "gear" + } + ] +} diff --git a/src/data/gold/resources/elf.json b/src/data/gold/resources/elf.json index 47761f1..5287899 100644 --- a/src/data/gold/resources/elf.json +++ b/src/data/gold/resources/elf.json @@ -1,176 +1,179 @@ -[ - { - "name": "Run Of The Mill Bow", - "type": "gear", - "rp": 5 - }, - { - "name": "Run Of The Mill Arms", - "type": "gear", - "rp": 5 - }, - { - "name": "Reinforced Leather", - "type": "gear", - "rp": 3 - }, - { - "name": "Light Mail", - "type": "gear", - "rp": 6 - }, - { - "name": "Heavy Mail", - "type": "gear", - "rp": 10 - }, - { - "name": "Plated Mail", - "type": "gear", - "rp": 20 - }, - { - "name": "Elven Armor", - "type": "gear", - "resources": [ - { - "name": "Gambeson", - "rp": 9 - }, - { - "name": "Reinforced Leather", - "resources": null, - "rp": 20 - }, - { - "name": "Light Mail", - "resources": null, - "rp": 30 - }, - { - "name": "Heavy Mail", - "rp": 40 - }, - { - "name": "Plated Mail", - "rp": 75 - } - ] - }, - { - "name": "Elven Arms", - "type": "gear", - "rp": 15 - }, - { - "name": "Elven Bow", - "type": "gear", - "rp": 25 - }, - { - "name": "Elven Cloak", - "type": "gear", - "rp": 30 - }, - { - "name": "Elven Steed", - "type": "gear", - "rp": 8 - }, - { - "name": "Elven Clothes", - "type": "gear", - "rp": 2 - }, - { - "name": "Elven Shoes", - "type": "gear", - "rp": 1 - }, - { - "name": "Elven Finery", - "type": "gear", - "rp": 5 - }, - { - "name": "Elven Rope", - "type": "gear", - "rp": 12 - }, - { - "name": "Elven Bread", - "type": "gear", - "rp": 10 - }, - { - "name": "Elven Mirrorwine", - "type": "gear", - "rp": 8 - }, - { - "name": "Starlight", - "type": "gear", - "rp": 50 - }, - { - "name": "Tome Of Lore", - "type": "gear", - "rp": 20 - }, - { - "name": "Elven Instrument", - "type": "gear", - "rp": 6 - }, - { - "name": "Personal Effects", - "type": "gear", - "rp": 1 - }, - { - "name": "Elven Smithy", - "type": "property", - "rp": 50 - }, - { - "name": "Artisan's Shop", - "type": "property", - "rp": 60 - }, - { - "name": "Skill Tools", - "type": "gear", - "rp": 9 - }, - { - "name": "Elven Ship", - "type": "gear", - "rp": 80 - }, - { - "name": "Elven Land", - "type": "property", - "resources": [ - { - "name": "Pastoral", - "rp": 20 - }, - { - "name": "Large Country Manor And Land", - "rp": 50 - }, - { - "name": "Palace", - "rp": 100 - }, - { - "name": "A Forest, Bay Or Mountain", - "rp": 150 - }, - { - "name": "Apartment In The Citadel", - "rp": 25 - } - ] - } -] \ No newline at end of file +{ + "stock": "elf", + "resources": [ + { + "name": "Run Of The Mill Bow", + "type": "gear", + "rp": 5 + }, + { + "name": "Run Of The Mill Arms", + "type": "gear", + "rp": 5 + }, + { + "name": "Reinforced Leather", + "type": "gear", + "rp": 3 + }, + { + "name": "Light Mail", + "type": "gear", + "rp": 6 + }, + { + "name": "Heavy Mail", + "type": "gear", + "rp": 10 + }, + { + "name": "Plated Mail", + "type": "gear", + "rp": 20 + }, + { + "name": "Elven Armor", + "type": "gear", + "resources": [ + { + "name": "Gambeson", + "rp": 9 + }, + { + "name": "Reinforced Leather", + "resources": null, + "rp": 20 + }, + { + "name": "Light Mail", + "resources": null, + "rp": 30 + }, + { + "name": "Heavy Mail", + "rp": 40 + }, + { + "name": "Plated Mail", + "rp": 75 + } + ] + }, + { + "name": "Elven Arms", + "type": "gear", + "rp": 15 + }, + { + "name": "Elven Bow", + "type": "gear", + "rp": 25 + }, + { + "name": "Elven Cloak", + "type": "gear", + "rp": 30 + }, + { + "name": "Elven Steed", + "type": "gear", + "rp": 8 + }, + { + "name": "Elven Clothes", + "type": "gear", + "rp": 2 + }, + { + "name": "Elven Shoes", + "type": "gear", + "rp": 1 + }, + { + "name": "Elven Finery", + "type": "gear", + "rp": 5 + }, + { + "name": "Elven Rope", + "type": "gear", + "rp": 12 + }, + { + "name": "Elven Bread", + "type": "gear", + "rp": 10 + }, + { + "name": "Elven Mirrorwine", + "type": "gear", + "rp": 8 + }, + { + "name": "Starlight", + "type": "gear", + "rp": 50 + }, + { + "name": "Tome Of Lore", + "type": "gear", + "rp": 20 + }, + { + "name": "Elven Instrument", + "type": "gear", + "rp": 6 + }, + { + "name": "Personal Effects", + "type": "gear", + "rp": 1 + }, + { + "name": "Elven Smithy", + "type": "property", + "rp": 50 + }, + { + "name": "Artisan's Shop", + "type": "property", + "rp": 60 + }, + { + "name": "Skill Tools", + "type": "gear", + "rp": 9 + }, + { + "name": "Elven Ship", + "type": "gear", + "rp": 80 + }, + { + "name": "Elven Land", + "type": "property", + "resources": [ + { + "name": "Pastoral", + "rp": 20 + }, + { + "name": "Large Country Manor And Land", + "rp": 50 + }, + { + "name": "Palace", + "rp": 100 + }, + { + "name": "A Forest, Bay Or Mountain", + "rp": 150 + }, + { + "name": "Apartment In The Citadel", + "rp": 25 + } + ] + } + ] +} diff --git a/src/data/gold/resources/man.json b/src/data/gold/resources/man.json index 3636eba..abc7adc 100644 --- a/src/data/gold/resources/man.json +++ b/src/data/gold/resources/man.json @@ -1,434 +1,437 @@ -[ - { - "name": "Arms", - "type": "gear", - "resources": [ - { - "name": "Poor Quality", - "rp": 3 - }, - { - "name": "Run Of The Mill Quality", - "rp": 5 - }, - { - "name": "Superior Quality", - "rp": 20 - } - ] - }, - { - "name": "Missile Weapons", - "type": "gear", - "resources": [ - { - "name": "Throwing Weapons", - "resources": [ - { - "name": "Poor Quality", - "rp": 2 - }, - { - "name": "Run Of The Mill Quality", - "rp": 3 - }, - { - "name": "Superior Quality", - "rp": 9 - } - ] - }, - { - "name": "Hunting Bow", - "resources": [ - { - "name": "Poor Quality", - "rp": 3 - }, - { - "name": "Run Of The Mill Quality", - "rp": 5 - }, - { - "name": "Superior Quality", - "rp": 15 - } - ] - }, - { - "name": "Great Bow", - "resources": [ - { - "name": "Poor Quality", - "rp": 5 - }, - { - "name": "Run Of The Mill Quality", - "rp": 10 - }, - { - "name": "Superior Quality", - "rp": 30 - } - ] - }, - { - "name": "Crossbow", - "resources": [ - { - "name": "Poor Quality", - "rp": 4 - }, - { - "name": "Run Of The Mill Quality", - "rp": 7 - }, - { - "name": "Superior Quality", - "rp": 21 - } - ] - }, - { - "name": "Heavy Crossbow", - "resources": [ - { - "name": "Poor Quality", - "rp": 6 - }, - { - "name": "Run Of The Mill Quality", - "rp": 12 - }, - { - "name": "Superior Quality", - "rp": 36 - } - ] - }, - { - "name": "Pistol", - "resources": [ - { - "name": "Poor Quality", - "rp": 8 - }, - { - "name": "Run Of The Mill Quality", - "rp": 15 - }, - { - "name": "Superior Quality", - "rp": 45 - } - ] - }, - { - "name": "Arquebus", - "resources": [ - { - "name": "Poor Quality", - "rp": 10 - }, - { - "name": "Run Of The Mill Quality", - "rp": 20 - }, - { - "name": "Superior Quality", - "rp": 60 - } - ] - } - ] - }, - { - "name": "Armor", - "type": "gear", - "resources": [ - { - "name": "Gambeson", - "resources": [ - { - "name": "Poor Quality", - "rp": 2 - }, - { - "name": "Run Of The Mill Quality", - "rp": 3 - }, - { - "name": "Superior Quality", - "rp": 12 - } - ] - }, - { - "name": "Reinforced Leather", - "resources": [ - { - "name": "Poor Quality", - "rp": 3 - }, - { - "name": "Run Of The Mill Quality", - "rp": 6 - }, - { - "name": "Superior Quality", - "rp": 24 - } - ] - }, - { - "name": "Light Mail", - "resources": [ - { - "name": "Poor Quality", - "rp": 5 - }, - { - "name": "Run Of The Mill Quality", - "rp": 10 - }, - { - "name": "Superior Quality", - "rp": 40 - } - ] - }, - { - "name": "Heavy Mail", - "resources": [ - { - "name": "Poor Quality", - "rp": 8 - }, - { - "name": "Run Of The Mill Quality", - "rp": 15 - }, - { - "name": "Superior Quality", - "rp": 60 - } - ] - }, - { - "name": "Plated Mail", - "resources": [ - { - "name": "Poor Quality", - "rp": 10 - }, - { - "name": "Run Of The Mill Quality", - "rp": 20 - }, - { - "name": "Superior Quality", - "rp": 80 - } - ] - }, - { - "name": "Full Plated Mail", - "resources": [ - { - "name": "Poor Quality", - "rp": 25 - }, - { - "name": "Run Of The Mill Quality", - "rp": 50 - }, - { - "name": "Superior Quality", - "rp": 200 - } - ] - } - ] - }, - { - "name": "Riding Mount Or Pack Animal", - "rp": 5, - "type": "gear" - }, - { - "name": "Warhorse", - "rp": 12, - "type": "gear" - }, - { - "name": "Clothes", - "rp": 1, - "type": "gear" - }, - { - "name": "Traveling Gear", - "rp": 1, - "type": "gear" - }, - { - "name": "Shoes", - "rp": 1, - "type": "gear" - }, - { - "name": "Personal Effects", - "rp": 1, - "type": "gear" - }, - { - "name": "Finery", - "rp": 5, - "type": "gear" - }, - { - "name": "Cash", - "rp": 6, - "type": "gear" - }, - { - "name": "Skill Toolkit", - "rp": 8, - "type": "gear" - }, - { - "name": "Workshop", - "rp": 20, - "type": "property" - }, - { - "name": "Companion Animal", - "rp": 3, - "type": "gear" - }, - { - "name": "Herd Of Animals", - "rp": 20, - "type": "property" - }, - { - "name": "Rent", - "rp": 5, - "type": "property" - }, - { - "name": "Property", - "type": "property", - "resources": [ - { - "name": "A Leaky Shack", - "rp": 1 - }, - { - "name": "A Small Cottage", - "rp": 3 - }, - { - "name": "A House", - "rp": 10 - }, - { - "name": "A \"Cottage Industry\" Like A Weaver", - "rp": 10 - }, - { - "name": "A Villa Or Farm", - "rp": 15 - }, - { - "name": "A Small Business", - "rp": 20 - }, - { - "name": "Moderate-sized Business", - "rp": 30 - }, - { - "name": "A Manor Or Small Estate", - "rp": 40 - }, - { - "name": "An Urban Hotel", - "rp": 40 - }, - { - "name": "A Well-paid Position (Like Mayor)", - "rp": 45 - }, - { - "name": "A Successful Small Business", - "rp": 60 - }, - { - "name": "A Large Business", - "rp": 60 - }, - { - "name": "A Keep", - "rp": 60 - }, - { - "name": "A Fortress", - "rp": 75 - }, - { - "name": "A Moderate-sized Estate", - "rp": 75 - }, - { - "name": "A Castle With Attendant Town", - "rp": 90 - }, - { - "name": "A Large Estate", - "rp": 90 - }, - { - "name": "A Palace", - "rp": 105 - }, - { - "name": "A Government Position In A Prosperous Town", - "rp": 105 - } - ] - }, - { - "name": "Boat", - "type": "property", - "resources": [ - { - "name": "A Rowboat Or Skiff", - "rp": 5 - }, - { - "name": "A Longboat", - "rp": 10 - }, - { - "name": "A Junk", - "rp": 15 - }, - { - "name": "A Felucca", - "rp": 30 - }, - { - "name": "A Carrack", - "rp": 60 - }, - { - "name": "A Caravel", - "rp": 75 - }, - { - "name": "Treasure Ship", - "rp": 105 - } - ] - } -] \ No newline at end of file +{ + "stock": "man", + "resources": [ + { + "name": "Arms", + "type": "gear", + "resources": [ + { + "name": "Poor Quality", + "rp": 3 + }, + { + "name": "Run Of The Mill Quality", + "rp": 5 + }, + { + "name": "Superior Quality", + "rp": 20 + } + ] + }, + { + "name": "Missile Weapons", + "type": "gear", + "resources": [ + { + "name": "Throwing Weapons", + "resources": [ + { + "name": "Poor Quality", + "rp": 2 + }, + { + "name": "Run Of The Mill Quality", + "rp": 3 + }, + { + "name": "Superior Quality", + "rp": 9 + } + ] + }, + { + "name": "Hunting Bow", + "resources": [ + { + "name": "Poor Quality", + "rp": 3 + }, + { + "name": "Run Of The Mill Quality", + "rp": 5 + }, + { + "name": "Superior Quality", + "rp": 15 + } + ] + }, + { + "name": "Great Bow", + "resources": [ + { + "name": "Poor Quality", + "rp": 5 + }, + { + "name": "Run Of The Mill Quality", + "rp": 10 + }, + { + "name": "Superior Quality", + "rp": 30 + } + ] + }, + { + "name": "Crossbow", + "resources": [ + { + "name": "Poor Quality", + "rp": 4 + }, + { + "name": "Run Of The Mill Quality", + "rp": 7 + }, + { + "name": "Superior Quality", + "rp": 21 + } + ] + }, + { + "name": "Heavy Crossbow", + "resources": [ + { + "name": "Poor Quality", + "rp": 6 + }, + { + "name": "Run Of The Mill Quality", + "rp": 12 + }, + { + "name": "Superior Quality", + "rp": 36 + } + ] + }, + { + "name": "Pistol", + "resources": [ + { + "name": "Poor Quality", + "rp": 8 + }, + { + "name": "Run Of The Mill Quality", + "rp": 15 + }, + { + "name": "Superior Quality", + "rp": 45 + } + ] + }, + { + "name": "Arquebus", + "resources": [ + { + "name": "Poor Quality", + "rp": 10 + }, + { + "name": "Run Of The Mill Quality", + "rp": 20 + }, + { + "name": "Superior Quality", + "rp": 60 + } + ] + } + ] + }, + { + "name": "Armor", + "type": "gear", + "resources": [ + { + "name": "Gambeson", + "resources": [ + { + "name": "Poor Quality", + "rp": 2 + }, + { + "name": "Run Of The Mill Quality", + "rp": 3 + }, + { + "name": "Superior Quality", + "rp": 12 + } + ] + }, + { + "name": "Reinforced Leather", + "resources": [ + { + "name": "Poor Quality", + "rp": 3 + }, + { + "name": "Run Of The Mill Quality", + "rp": 6 + }, + { + "name": "Superior Quality", + "rp": 24 + } + ] + }, + { + "name": "Light Mail", + "resources": [ + { + "name": "Poor Quality", + "rp": 5 + }, + { + "name": "Run Of The Mill Quality", + "rp": 10 + }, + { + "name": "Superior Quality", + "rp": 40 + } + ] + }, + { + "name": "Heavy Mail", + "resources": [ + { + "name": "Poor Quality", + "rp": 8 + }, + { + "name": "Run Of The Mill Quality", + "rp": 15 + }, + { + "name": "Superior Quality", + "rp": 60 + } + ] + }, + { + "name": "Plated Mail", + "resources": [ + { + "name": "Poor Quality", + "rp": 10 + }, + { + "name": "Run Of The Mill Quality", + "rp": 20 + }, + { + "name": "Superior Quality", + "rp": 80 + } + ] + }, + { + "name": "Full Plated Mail", + "resources": [ + { + "name": "Poor Quality", + "rp": 25 + }, + { + "name": "Run Of The Mill Quality", + "rp": 50 + }, + { + "name": "Superior Quality", + "rp": 200 + } + ] + } + ] + }, + { + "name": "Riding Mount Or Pack Animal", + "rp": 5, + "type": "gear" + }, + { + "name": "Warhorse", + "rp": 12, + "type": "gear" + }, + { + "name": "Clothes", + "rp": 1, + "type": "gear" + }, + { + "name": "Traveling Gear", + "rp": 1, + "type": "gear" + }, + { + "name": "Shoes", + "rp": 1, + "type": "gear" + }, + { + "name": "Personal Effects", + "rp": 1, + "type": "gear" + }, + { + "name": "Finery", + "rp": 5, + "type": "gear" + }, + { + "name": "Cash", + "rp": 6, + "type": "gear" + }, + { + "name": "Skill Toolkit", + "rp": 8, + "type": "gear" + }, + { + "name": "Workshop", + "rp": 20, + "type": "property" + }, + { + "name": "Companion Animal", + "rp": 3, + "type": "gear" + }, + { + "name": "Herd Of Animals", + "rp": 20, + "type": "property" + }, + { + "name": "Rent", + "rp": 5, + "type": "property" + }, + { + "name": "Property", + "type": "property", + "resources": [ + { + "name": "A Leaky Shack", + "rp": 1 + }, + { + "name": "A Small Cottage", + "rp": 3 + }, + { + "name": "A House", + "rp": 10 + }, + { + "name": "A \"Cottage Industry\" Like A Weaver", + "rp": 10 + }, + { + "name": "A Villa Or Farm", + "rp": 15 + }, + { + "name": "A Small Business", + "rp": 20 + }, + { + "name": "Moderate-sized Business", + "rp": 30 + }, + { + "name": "A Manor Or Small Estate", + "rp": 40 + }, + { + "name": "An Urban Hotel", + "rp": 40 + }, + { + "name": "A Well-paid Position (Like Mayor)", + "rp": 45 + }, + { + "name": "A Successful Small Business", + "rp": 60 + }, + { + "name": "A Large Business", + "rp": 60 + }, + { + "name": "A Keep", + "rp": 60 + }, + { + "name": "A Fortress", + "rp": 75 + }, + { + "name": "A Moderate-sized Estate", + "rp": 75 + }, + { + "name": "A Castle With Attendant Town", + "rp": 90 + }, + { + "name": "A Large Estate", + "rp": 90 + }, + { + "name": "A Palace", + "rp": 105 + }, + { + "name": "A Government Position In A Prosperous Town", + "rp": 105 + } + ] + }, + { + "name": "Boat", + "type": "property", + "resources": [ + { + "name": "A Rowboat Or Skiff", + "rp": 5 + }, + { + "name": "A Longboat", + "rp": 10 + }, + { + "name": "A Junk", + "rp": 15 + }, + { + "name": "A Felucca", + "rp": 30 + }, + { + "name": "A Carrack", + "rp": 60 + }, + { + "name": "A Caravel", + "rp": 75 + }, + { + "name": "Treasure Ship", + "rp": 105 + } + ] + } + ] +} diff --git a/src/data/gold/resources/orc.json b/src/data/gold/resources/orc.json index 4885ff2..6ce6cfb 100644 --- a/src/data/gold/resources/orc.json +++ b/src/data/gold/resources/orc.json @@ -1,211 +1,214 @@ -[ - { - "name": "Rags", - "rp": 1, - "type": "gear" - }, - { - "name": "Traveling Gear", - "rp": 3, - "type": "gear" - }, - { - "name": "Hobnailed Boots", - "rp": 1, - "type": "gear" - }, - { - "name": "Orc Arms", - "type": "gear", - "resources": [ - { - "name": "Poor Quality", - "rp": 3 - }, - { - "name": "Run Of The Mill Quality", - "rp": 5 - } - ] - }, - { - "name": "Armor", - "type": "gear", - "resources": [ - { - "name": "Hides", - "resources": [ - { - "name": "Poor Quality", - "rp": 1 - } - ] - }, - { - "name": "Reinforced Hides", - "resources": [ - { - "name": "Poor Quality", - "rp": 3 - } - ] - }, - { - "name": "Reinforced Leather", - "resources": [ - { - "name": "Run Of The Mill Quality", - "rp": 8 - }, - { - "name": "Superior Quality", - "rp": 25 - } - ] - }, - { - "name": "Light Mail", - "resources": [ - { - "name": "Poor Quality", - "rp": 5 - }, - { - "name": "Run Of The Mill Quality", - "rp": 12 - } - ] - }, - { - "name": "Heavy Mail", - "resources": [ - { - "name": "Poor Quality", - "rp": 8 - }, - { - "name": "Run Of The Mill Quality", - "rp": 20 - } - ] - } - ] - }, - { - "name": "Missile Weapons", - "type": "gear", - "resources": [ - { - "name": "Bow", - "resources": [ - { - "name": "Poor Quality", - "rp": 3 - }, - { - "name": "Run Of The Mill Quality", - "rp": 5 - } - ] - }, - { - "name": "Crossbow", - "resources": [ - { - "name": "Poor Quality", - "rp": 4 - }, - { - "name": "Run Of The Mill Quality", - "rp": 6 - } - ] - }, - { - "name": "Iron-cased Bombs", - "resources": null, - "rp": 10 - } - ] - }, - { - "name": "Black Iron Helmet", - "rp": 5, - "type": "gear" - }, - { - "name": "Black Iron Shield", - "rp": 4, - "type": "gear" - }, - { - "name": "Riding Mount Or Pack Animal", - "rp": 5, - "type": "gear" - }, - { - "name": "Great Wolf Mount", - "rp": 15, - "type": "gear" - }, - { - "name": "Whip", - "rp": 2, - "type": "gear" - }, - { - "name": "Poison", - "rp": 5, - "type": "gear" - }, - { - "name": "Brazen Horn", - "rp": 9, - "type": "gear" - }, - { - "name": "Clan Banner", - "rp": 9, - "type": "gear" - }, - { - "name": "Skill Tools", - "rp": 9, - "type": "gear" - }, - { - "name": "Riding Harness For Wolf", - "rp": 5, - "type": "gear" - }, - { - "name": "Servant's Black Robes", - "rp": 1, - "type": "gear" - }, - { - "name": "Servant's Leather Apron", - "rp": 1, - "type": "gear" - }, - { - "name": "Ceremonial Knives", - "rp": 3, - "type": "gear" - }, - { - "name": "Ceremonial Axe Or Sword", - "rp": 7, - "type": "gear" - }, - { - "name": "Servant's Tools Of The Trade", - "rp": 7, - "type": "gear" - }, - { - "name": "Poisoner's Toolkit", - "rp": 7, - "type": "gear" - } -] \ No newline at end of file +{ + "stock": "orc", + "resources": [ + { + "name": "Rags", + "rp": 1, + "type": "gear" + }, + { + "name": "Traveling Gear", + "rp": 3, + "type": "gear" + }, + { + "name": "Hobnailed Boots", + "rp": 1, + "type": "gear" + }, + { + "name": "Orc Arms", + "type": "gear", + "resources": [ + { + "name": "Poor Quality", + "rp": 3 + }, + { + "name": "Run Of The Mill Quality", + "rp": 5 + } + ] + }, + { + "name": "Armor", + "type": "gear", + "resources": [ + { + "name": "Hides", + "resources": [ + { + "name": "Poor Quality", + "rp": 1 + } + ] + }, + { + "name": "Reinforced Hides", + "resources": [ + { + "name": "Poor Quality", + "rp": 3 + } + ] + }, + { + "name": "Reinforced Leather", + "resources": [ + { + "name": "Run Of The Mill Quality", + "rp": 8 + }, + { + "name": "Superior Quality", + "rp": 25 + } + ] + }, + { + "name": "Light Mail", + "resources": [ + { + "name": "Poor Quality", + "rp": 5 + }, + { + "name": "Run Of The Mill Quality", + "rp": 12 + } + ] + }, + { + "name": "Heavy Mail", + "resources": [ + { + "name": "Poor Quality", + "rp": 8 + }, + { + "name": "Run Of The Mill Quality", + "rp": 20 + } + ] + } + ] + }, + { + "name": "Missile Weapons", + "type": "gear", + "resources": [ + { + "name": "Bow", + "resources": [ + { + "name": "Poor Quality", + "rp": 3 + }, + { + "name": "Run Of The Mill Quality", + "rp": 5 + } + ] + }, + { + "name": "Crossbow", + "resources": [ + { + "name": "Poor Quality", + "rp": 4 + }, + { + "name": "Run Of The Mill Quality", + "rp": 6 + } + ] + }, + { + "name": "Iron-cased Bombs", + "resources": null, + "rp": 10 + } + ] + }, + { + "name": "Black Iron Helmet", + "rp": 5, + "type": "gear" + }, + { + "name": "Black Iron Shield", + "rp": 4, + "type": "gear" + }, + { + "name": "Riding Mount Or Pack Animal", + "rp": 5, + "type": "gear" + }, + { + "name": "Great Wolf Mount", + "rp": 15, + "type": "gear" + }, + { + "name": "Whip", + "rp": 2, + "type": "gear" + }, + { + "name": "Poison", + "rp": 5, + "type": "gear" + }, + { + "name": "Brazen Horn", + "rp": 9, + "type": "gear" + }, + { + "name": "Clan Banner", + "rp": 9, + "type": "gear" + }, + { + "name": "Skill Tools", + "rp": 9, + "type": "gear" + }, + { + "name": "Riding Harness For Wolf", + "rp": 5, + "type": "gear" + }, + { + "name": "Servant's Black Robes", + "rp": 1, + "type": "gear" + }, + { + "name": "Servant's Leather Apron", + "rp": 1, + "type": "gear" + }, + { + "name": "Ceremonial Knives", + "rp": 3, + "type": "gear" + }, + { + "name": "Ceremonial Axe Or Sword", + "rp": 7, + "type": "gear" + }, + { + "name": "Servant's Tools Of The Trade", + "rp": 7, + "type": "gear" + }, + { + "name": "Poisoner's Toolkit", + "rp": 7, + "type": "gear" + } + ] +} diff --git a/src/data/gold/resources/roden.json b/src/data/gold/resources/roden.json index a5344c2..a9266cc 100644 --- a/src/data/gold/resources/roden.json +++ b/src/data/gold/resources/roden.json @@ -1,139 +1,142 @@ -[ - { - "name": "Arms", - "rp": 5, - "type": "gear" - }, - { - "name": "Roden Throwing Blades", - "rp": 15, - "type": "gear" - }, - { - "name": "Wooden Shield", - "rp": 2, - "type": "gear" - }, - { - "name": "Armor", - "type": "gear", - "resources": [ - { - "name": "Gambeson", - "rp": 5 - }, - { - "name": "Reinforced Leather", - "rp": 10 - }, - { - "name": "Light Mail", - "rp": 15 - }, - { - "name": "Heavy Mail", - "rp": 20 - } - ] - }, - { - "name": "Property", - "type": "property", - "resources": [ - { - "name": "Rat's Nest Property", - "resources": [ - { - "name": "Den", - "rp": 7 - }, - { - "name": "Nest", - "rp": 10 - }, - { - "name": "Apiary", - "rp": 10 - }, - { - "name": "Fields", - "rp": 15 - } - ] - } - ] - }, - { - "name": "Workshop", - "type": "property", - "rp": 20 - }, - { - "name": "Animal Herd", - "type": "property", - "rp": 10 - }, - { - "name": "Clothes", - "type": "gear", - "rp": 1 - }, - { - "name": "Traveling Gear", - "type": "gear", - "rp": 1 - }, - { - "name": "Shoes", - "type": "gear", - "rp": 3 - }, - { - "name": "Tool Kit", - "type": "gear", - "rp": 9 - }, - { - "name": "Firebombs", - "type": "gear", - "rp": 20 - }, - { - "name": "Robes Of The Ordained", - "type": "gear", - "rp": 1 - }, - { - "name": "Honeyed Oatcakes", - "type": "gear", - "rp": 5 - }, - { - "name": "Dandewine", - "type": "gear", - "rp": 5 - }, - { - "name": "Blood Blossom", - "type": "gear", - "rp": 5 - }, - { - "name": "Visionary Cult", - "type": "affiliation", - "resources": [ - { - "name": "1d Cult", - "rp": 10 - }, - { - "name": "2d Cult", - "rp": 25 - }, - { - "name": "3d Cult", - "rp": 50 - } - ] - } -] \ No newline at end of file +{ + "stock": "roden", + "resources": [ + { + "name": "Arms", + "rp": 5, + "type": "gear" + }, + { + "name": "Roden Throwing Blades", + "rp": 15, + "type": "gear" + }, + { + "name": "Wooden Shield", + "rp": 2, + "type": "gear" + }, + { + "name": "Armor", + "type": "gear", + "resources": [ + { + "name": "Gambeson", + "rp": 5 + }, + { + "name": "Reinforced Leather", + "rp": 10 + }, + { + "name": "Light Mail", + "rp": 15 + }, + { + "name": "Heavy Mail", + "rp": 20 + } + ] + }, + { + "name": "Property", + "type": "property", + "resources": [ + { + "name": "Rat's Nest Property", + "resources": [ + { + "name": "Den", + "rp": 7 + }, + { + "name": "Nest", + "rp": 10 + }, + { + "name": "Apiary", + "rp": 10 + }, + { + "name": "Fields", + "rp": 15 + } + ] + } + ] + }, + { + "name": "Workshop", + "type": "property", + "rp": 20 + }, + { + "name": "Animal Herd", + "type": "property", + "rp": 10 + }, + { + "name": "Clothes", + "type": "gear", + "rp": 1 + }, + { + "name": "Traveling Gear", + "type": "gear", + "rp": 1 + }, + { + "name": "Shoes", + "type": "gear", + "rp": 3 + }, + { + "name": "Tool Kit", + "type": "gear", + "rp": 9 + }, + { + "name": "Firebombs", + "type": "gear", + "rp": 20 + }, + { + "name": "Robes Of The Ordained", + "type": "gear", + "rp": 1 + }, + { + "name": "Honeyed Oatcakes", + "type": "gear", + "rp": 5 + }, + { + "name": "Dandewine", + "type": "gear", + "rp": 5 + }, + { + "name": "Blood Blossom", + "type": "gear", + "rp": 5 + }, + { + "name": "Visionary Cult", + "type": "affiliation", + "resources": [ + { + "name": "1d Cult", + "rp": 10 + }, + { + "name": "2d Cult", + "rp": 25 + }, + { + "name": "3d Cult", + "rp": 50 + } + ] + } + ] +} diff --git a/src/data/gold/resources/wolf.json b/src/data/gold/resources/wolf.json index e51c10a..5c5863e 100644 --- a/src/data/gold/resources/wolf.json +++ b/src/data/gold/resources/wolf.json @@ -1,42 +1,45 @@ -[ - { - "name": "Territory", - "type": "property", - "resources": [ - { - "name": "Barren", - "rp": 5 - }, - { - "name": "Wild Grounds", - "rp": 10 - }, - { - "name": "Plentiful Range", - "rp": 15 - } - ] - }, - { - "name": "Armor", - "type": "gear", - "resources": [ - { - "name": "Plated Leather Chanfron", - "rp": 3 - }, - { - "name": "Leather Collar", - "rp": 2 - }, - { - "name": "Plated Body Armor", - "rp": 6 - }, - { - "name": "Leather Greaves And Cuissarts", - "rp": 2 - } - ] - } -] \ No newline at end of file +{ + "stock": "wolf", + "resources": [ + { + "name": "Territory", + "type": "property", + "resources": [ + { + "name": "Barren", + "rp": 5 + }, + { + "name": "Wild Grounds", + "rp": 10 + }, + { + "name": "Plentiful Range", + "rp": 15 + } + ] + }, + { + "name": "Armor", + "type": "gear", + "resources": [ + { + "name": "Plated Leather Chanfron", + "rp": 3 + }, + { + "name": "Leather Collar", + "rp": 2 + }, + { + "name": "Plated Body Armor", + "rp": 6 + }, + { + "name": "Leather Greaves And Cuissarts", + "rp": 2 + } + ] + } + ] +} diff --git a/src/data/troll/resources.json b/src/data/troll/resources.json index 8a83186..6c39cb8 100644 --- a/src/data/troll/resources.json +++ b/src/data/troll/resources.json @@ -1,57 +1,60 @@ -[ - { - "name": "Rags", - "type": "gear", - "rp": 1 - }, - { - "name": "Troll Shoes", - "type": "gear", - "rp": 1 - }, - { - "name": "Sack", - "type": "gear", - "rp": 1 - }, - { - "name": "Chest or Footlocker", - "type": "gear", - "rp": 3 - }, - { - "name": "Trophies", - "type": "gear", - "rp": 3 - }, - { - "name": "Shiny Trophies", - "type": "gear", - "rp": 7 - }, - { - "name": "Pile of Rocks", - "type": "gear", - "rp": 2 - }, - { - "name": "Troll Lash", - "type": "gear", - "rp": 5 - }, - { - "name": "Mattock", - "type": "gear", - "rp": 10 - }, - { - "name": "Black Iron Shield", - "type": "gear", - "rp": 5 - }, - { - "name": "Cave Hole", - "type": "property", - "rp": 5 - } -] \ No newline at end of file +{ + "stock": "troll", + "resources": [ + { + "name": "Rags", + "type": "gear", + "rp": 1 + }, + { + "name": "Troll Shoes", + "type": "gear", + "rp": 1 + }, + { + "name": "Sack", + "type": "gear", + "rp": 1 + }, + { + "name": "Chest or Footlocker", + "type": "gear", + "rp": 3 + }, + { + "name": "Trophies", + "type": "gear", + "rp": 3 + }, + { + "name": "Shiny Trophies", + "type": "gear", + "rp": 7 + }, + { + "name": "Pile of Rocks", + "type": "gear", + "rp": 2 + }, + { + "name": "Troll Lash", + "type": "gear", + "rp": 5 + }, + { + "name": "Mattock", + "type": "gear", + "rp": 10 + }, + { + "name": "Black Iron Shield", + "type": "gear", + "rp": 5 + }, + { + "name": "Cave Hole", + "type": "property", + "rp": 5 + } + ] +} diff --git a/src/lib/data/dark_elf.rb b/src/lib/data/dark_elf.rb index 75f87c4..e8d288e 100644 --- a/src/lib/data/dark_elf.rb +++ b/src/lib/data/dark_elf.rb @@ -16,7 +16,8 @@ module Charred lifepaths = contents["settings"] file = File.read("data/dark_elf/resources.json") - resources = JSON.parse(file) + contents = JSON.parse(file) + resources = contents["resources"] data[:resources]['elf'] += resources elf = data[:lifepaths]['elf'] diff --git a/src/lib/data/gold.rb b/src/lib/data/gold.rb index aaca09b..8d715ab 100644 --- a/src/lib/data/gold.rb +++ b/src/lib/data/gold.rb @@ -22,7 +22,8 @@ module Charred lifepaths[stock] = contents["settings"] file = File.read("data/gold/resources/#{stock}.json") - resources[stock] = JSON.parse(file) + contents = JSON.parse(file) + resources[stock] = contents["resources"] file = File.read("data/gold/stocks/#{stock}.json") stocks[stock] = Stock.new(JSON.parse(file)) diff --git a/src/lib/data/troll.rb b/src/lib/data/troll.rb index 8f95701..68ec966 100644 --- a/src/lib/data/troll.rb +++ b/src/lib/data/troll.rb @@ -18,7 +18,8 @@ module Charred data[:lifepaths]['troll'] = lifepaths file = File.read("data/troll/resources.json") - resources = JSON.parse(file) + contents = JSON.parse(file) + resources = contents["resources"] data[:resources]['troll'] = resources file = File.read("data/troll/stock.json")