| 659 | } |
| 660 | |
| 661 | void ItemDatabase::addObjectItems() { |
| 662 | auto objectDatabase = Root::singleton().objectDatabase(); |
| 663 | |
| 664 | for (auto const& objectName : objectDatabase->allObjects()) { |
| 665 | auto objectConfig = objectDatabase->getConfig(objectName); |
| 666 | |
| 667 | if (objectConfig->hasObjectItem) |
| 668 | addObjectDropItem(objectConfig->path, objectConfig->config); |
| 669 | } |
| 670 | } |
| 671 | |
| 672 | void ItemDatabase::scanRecipes() { |
| 673 | auto assets = Root::singleton().assets(); |
nothing calls this directly
no test coverage detected