Now standardized on GameConfig everywhere I can. Closes #28.
This commit is contained in:
parent
b0204772c7
commit
769530b45c
3 changed files with 3 additions and 4 deletions
|
@ -36,8 +36,7 @@ namespace ritual {
|
|||
}
|
||||
|
||||
void Engine::load_junk(CraftingState& ritual, const JunkItem& item) {
|
||||
Config config("assets/rituals.json");
|
||||
auto& junk = config["junk"];
|
||||
auto& junk = $config["junk"];
|
||||
auto& item_desc = junk[item];
|
||||
|
||||
fmt::print("Item {} provides: ", item);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue