dmhub-modding

Guide Lua-based DMHub mod development with API references and load order.

17|11|Updated Nov 17, 2025
One-click install
npx skills add https://github.com/VerisimLLC/draw-steel-codex --skill dmhub-modding
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dmhub-modding
Source: https://github.com/VerisimLLC/draw-steel-codex/tree/main/.claude/skills/codexmod
Command: npx skills add https://github.com/VerisimLLC/draw-steel-codex --skill dmhub-modding

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill guides mod authors through the full DMHub modding workflow, helping them set up mod folders, write Lua code, use GoblinScript formulas, build user interfaces with the GUI framework, and hook into the engine via extension points.

Core Features & Use Cases

  • Structured mod workflow: from project layout to loading order, with guidance on coding against the DMHub APIs.
  • Formula and UI tooling: using GoblinScript for game formulas and the GUI framework for panels, commands, and events.
  • References-driven learning: clear paths to getting-started, core API, GoblinScript, extension points, and common patterns, enabling rapid onboarding.

Quick Start

Create a new mod folder, add a Lua entry file that initializes with local mod = dmhub.GetModLoading(), and begin following the references to implement features.

Frequently Asked Questions about dmhub-modding

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a DMHub mod using Lua?

Building a DMHub mod requires creating a mod folder with a Lua entry file that initializes via local mod = dmhub.GetModLoading(), then following reference documents to implement features and ensure correct load order.

What is GoblinScript and how is it used in DMHub modding?

GoblinScript is a formula system used in DMHub modding to define game formulas. Mod authors integrate it within Lua code to handle gameplay calculations and logic via registered extension points.

How do I build a GUI panel for a DMHub extension?

Building a GUI panel for a DMHub extension involves using the DMHub GUI framework within your Lua code to create UI panels, handle commands, and manage user interaction events.

Do I need any special dependencies to start DMHub modding?

No external dependencies are required to start DMHub modding. You only need a standard DMHub mod folder containing a Lua entry file and the provided reference documents to guide API usage.

How do I register extension points in a DMHub mod?

Registering extension points in a DMHub mod involves hooking into the engine via Lua code, using the provided reference materials to correctly implement token interactions and ensure proper load order.

Why is my DMHub mod not loading correctly?

DMHub mods often fail to load due to incorrect load order or missing initialization. Ensure your Lua entry file properly calls dmhub.GetModLoading() and follows the structured mod workflow.