#include "QuestScripts.h" #include "GameObjectManager.h" #include "Inventory.h" #include namespace ZL { std::function createRoom1Logic() { return [](GameObjectManager& gom, size_t ms) // Simple test logic { if (GetItemByName("book")) { std::cout << "[Room 1] Игрок поднял книгу!\n"; gom.switch_room(1); } }; } }