Trigger System Documentation for LuminariMUD
DG Scripts (Death's Gate Scripts) is a powerful scripting system used in LuminariMUD to create dynamic, interactive content. Triggers can be attached to mobiles (NPCs), objects, and rooms to respond to player actions, time-based events, and game conditions.
This scripting system enables builders to create quests, special NPC behaviors, puzzle mechanics, environmental effects, and much more without modifying the game's C source code.
DG Scripts consist of triggers that fire based on specific events, and can manipulate variables to track state, perform calculations, and coordinate complex behaviors across multiple game entities.
Commands for staff members to view, modify, and debug DG scripts and variables.
Staff commands for viewing, setting, and deleting DG script variables on players, mobiles, objects, and rooms.
Reference Staff OnlyCommands for attaching and detaching triggers from game entities at runtime.
Coming SoonTools for debugging trigger execution, tracing script flow, and identifying issues.
Coming SoonDocumentation for writing DG Scripts triggers.
Complete reference of all trigger types: greet, speech, command, random, time, and more.
Coming SoonAll script commands: if/else, while, switch, wait, and action commands.
Coming SoonHow to use variables, access object/mob/room fields, and work with data.
Coming SoonCommon scripting patterns and example triggers for various use cases.
Coming SoonTutorials and guides for builders working with DG Scripts.
Introduction to DG Scripts for new builders - creating your first trigger.
Coming SoonHow to build quests using triggers, variables, and quest completion tracking.
Coming SoonComplete guide to the trigger editor OLC for creating and modifying triggers.
Coming Soon