DG Scripts

Trigger System Documentation for LuminariMUD

What are DG Scripts?

Overview

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.

Staff Commands

Commands for staff members to view, modify, and debug DG scripts and variables.

Variable Management

Staff commands for viewing, setting, and deleting DG script variables on players, mobiles, objects, and rooms.

Reference Staff Only

Trigger Attachment

Commands for attaching and detaching triggers from game entities at runtime.

Coming Soon

Debugging Tools

Tools for debugging trigger execution, tracing script flow, and identifying issues.

Coming Soon

Scripting Reference

Documentation for writing DG Scripts triggers.

Trigger Types

Complete reference of all trigger types: greet, speech, command, random, time, and more.

Coming Soon

Script Commands

All script commands: if/else, while, switch, wait, and action commands.

Coming Soon

Variables & Fields

How to use variables, access object/mob/room fields, and work with data.

Coming Soon

Examples & Patterns

Common scripting patterns and example triggers for various use cases.

Coming Soon

Builder Guides

Tutorials and guides for builders working with DG Scripts.

Getting Started

Introduction to DG Scripts for new builders - creating your first trigger.

Coming Soon

Quest Scripting

How to build quests using triggers, variables, and quest completion tracking.

Coming Soon

TRIGEDIT Reference

Complete guide to the trigger editor OLC for creating and modifying triggers.

Coming Soon