adamantRunPlanner-Plan_Executor icon

Plan Executor

Loads bounded resolved Run Planner execution plans from the module inbox.

Last updated 5 days ago
Total downloads 13
Total rating 0 
Categories Modpacks
Dependency string adamantRunPlanner-Plan_Executor-0.3.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

Hell2Modding-Hell2Modding-1.0.78 icon
Hell2Modding-Hell2Modding

Lua Mod Loader for Hades 2

Preferred version: 1.0.78
LuaENVY-ENVY-1.2.0 icon
LuaENVY-ENVY

A plugin to allow ReturnOfModding plugins greater control of their environment.

Preferred version: 1.2.0
SGG_Modding-ReLoad-1.0.2 icon
SGG_Modding-ReLoad

Provides helpers for managing hot reloading and waiting for the right time to load

Preferred version: 1.0.2
SGG_Modding-ModUtil-4.0.1 icon
SGG_Modding-ModUtil

Utility mod for mod interactions within lua for SGG's games

Preferred version: 4.0.1
adamant-ModpackLib-4.0.1 icon
adamant-ModpackLib

Shared utilities for adamant modpack standalone mods.

Preferred version: 4.0.1

README

Run Planner Plan Executor

Plan Executor is the Hades II mod that carries out plans created by Run Planner.

Run Planner owns authoring, simulation, and validation. Its desktop app publishes a game-ready execution plan; Plan Executor loads that plan when a new run begins and steers the corresponding rooms, rewards, offers, and other modeled outcomes in Hades II. If the game and plan diverge, the executor records the discrepancy and stops steering the remaining plan without blocking normal gameplay.

How it connects to Run Planner

  1. Create and validate a run in the Run Planner desktop app.
  2. Use Publish to Game to write the active execution plan to the ReturnOfModding configuration.
  3. Start a new Hades II run. Plan Executor loads the published plan at run startup.

The browser version of Run Planner cannot publish directly to the game. Plan Executor consumes the published execution plan only; it does not read or reinterpret an editable Run Planner project.

Repository layout

  • src/ — the active Hades II module.
  • fixtures/ — execution plans shared with Run Planner for compatibility testing.
  • tests/ — Lua unit and integration tests.

Within src/mods/, code is grouped by its runtime responsibility: host and protocol integration, route navigation, room behavior, timeline interactions, and modeled traits or keepsakes.

Development

Run the Lua test suite from the repository root:

lua tests/all.lua

Check the active module with Luacheck:

luacheck src/