|
|
|
@ -15,10 +15,10 @@ module Charred |
|
|
|
|
data[:stocks].deep_merge!({ stock.key => stock }) |
|
|
|
|
when ".lifepaths" |
|
|
|
|
contents = json_get(file) |
|
|
|
|
data[:lifepaths].deep_merge!({ contents["stock"] => contents["settings"]}) |
|
|
|
|
data[:lifepaths].ko_deep_merge!({ contents["stock"] => contents["settings"]}) |
|
|
|
|
when ".resources" |
|
|
|
|
contents = json_get(file) |
|
|
|
|
data[:resources].deep_merge!({ contents["stock"] => contents["resources"]}) |
|
|
|
|
data[:resources].ko_deep_merge!({ contents["stock"] => contents["resources"]}) |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
} |
|
|
|
|