@ -1,4 +1,6 @@
[
{
"stock": "elf",
"resources": [
"name": "Bitter Poison",
"type": "gear",
@ -111,4 +113,5 @@
}
]
"stock": "dwarf",
"name": "Shoddy Arms",
"rp": 5,
@ -149,4 +151,5 @@
"rp": 15,
"type": "gear"
"name": "Run Of The Mill Bow",
@ -173,4 +175,5 @@
"stock": "man",
"name": "Arms",
@ -431,4 +433,5 @@
"stock": "orc",
"name": "Rags",
"rp": 1,
@ -208,4 +210,5 @@
"rp": 7,
"stock": "roden",
@ -136,4 +138,5 @@
"stock": "wolf",
"name": "Territory",
"type": "property",
@ -39,4 +41,5 @@
"stock": "troll",
@ -54,4 +56,5 @@
"rp": 5
@ -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']
@ -22,7 +22,8 @@ module Charred
lifepaths[stock] = contents["settings"]
file = File.read("data/gold/resources/#{stock}.json")
resources[stock] = JSON.parse(file)
resources[stock] = contents["resources"]
file = File.read("data/gold/stocks/#{stock}.json")
stocks[stock] = Stock.new(JSON.parse(file))
@ -18,7 +18,8 @@ module Charred
data[:lifepaths]['troll'] = lifepaths
file = File.read("data/troll/resources.json")
data[:resources]['troll'] = resources
file = File.read("data/troll/stock.json")