Commit Graph

6 Commits

Author SHA1 Message Date
savis
8123fc602c Add EventFlag-based quest enable/disable system
Implemented EventFlag system to control quest availability:
  - Added IsEventFlagSet() to check if EventFlag exists in questmanager
  - Added EventFlag checks in ExecuteQuestScript() for per-quest control
  - Added EventFlag checks in HandleEvent() for NPC-based quest control
  - Added EventFlag checks in OnChat() for chat-based quest control

  Usage:
  - /event quest_<questname>_enabled 0/1 - Enable/disable specific quest
  - /event quest_npc_<vnum>_enabled 0/1 - Enable/disable all NPC quests
  - /event quests_global_enabled 0/1 - Enable/disable all quests globally
2025-12-27 02:50:46 +01:00
d1str4ught
526cc3ba56 loading quests fixed & qc added to build 2025-08-29 00:15:54 +02:00
d1str4ught
920a3fc861 std::strncpy back to strlcpy 2025-08-22 17:45:31 +02:00
d1str4ught
d87277458c game and db is building on windows 2025-08-18 03:33:51 +02:00
d1str4ught
34000c3306 text encoding fixed 2025-08-18 02:12:07 +02:00
d1str4ught
4e679320a3 base init 2025-08-18 00:36:52 +02:00