|
|
@ -22,7 +22,8 @@ module Charred |
|
|
|
lifepaths[stock] = contents["settings"] |
|
|
|
lifepaths[stock] = contents["settings"] |
|
|
|
|
|
|
|
|
|
|
|
file = File.read("data/gold/resources/#{stock}.json") |
|
|
|
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") |
|
|
|
file = File.read("data/gold/stocks/#{stock}.json") |
|
|
|
stocks[stock] = Stock.new(JSON.parse(file)) |
|
|
|
stocks[stock] = Stock.new(JSON.parse(file)) |
|
|
|