Fork of https://github.com/modality/charred-black. Short term, has some fixes. Long term, may include a tool to create and edit stock/lifepath/skill/trait data. http://charred.obscuritus.ca:8080/#/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
charred-gold/src/lib/data/dark_elf.rb

15 lines
330 B

require 'json'
module Charred
module DarkElf
def load_dark_elf(data)
file = File.read('data/dark_elf/skills.json')
skills = JSON.parse(file)
data[:skills].merge! skills
file = File.read('data/dark_elf/traits.json')
traits = JSON.parse(file)
data[:traits].merge! traits
end
end
end