#include "QuestScripts.h" #include "GameObjectManager.h" #include "Inventory.h" #include #include #include namespace ZL { std::function createRoom1Logic() { return [elapsedTime = 0u](GameObjectManager& gom, size_t ms) mutable { if (gom.bearName.compare("TOM") == 0) { elapsedTime += ms; if (elapsedTime >= 2000) { gInventoryMap.clear(); gom.switch_room(1); } } }; } std::function createRoom2Logic() { return [](GameObjectManager& gom, size_t ms) // Simple test logic { }; } }