@ -1,4 +1,6 @@
[
{
"stock": "elf",
"resources": [
"name": "Bitter Poison",
"type": "gear",
@ -112,3 +114,4 @@
]
}
"stock": "dwarf",
"name": "Shoddy Arms",
"rp": 5,
@ -150,3 +152,4 @@
"type": "gear"
"name": "Run Of The Mill Bow",
@ -174,3 +176,4 @@
"stock": "man",
"name": "Arms",
@ -432,3 +434,4 @@
"stock": "orc",
"name": "Rags",
"rp": 1,
@ -209,3 +211,4 @@
"stock": "roden",
@ -137,3 +139,4 @@
"stock": "wolf",
"name": "Territory",
"type": "property",
@ -40,3 +42,4 @@
"stock": "troll",
@ -55,3 +57,4 @@
"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")