Skip to content

πŸ–₯ Console Commands Reference

JiHyeon Lee edited this page Oct 1, 2025 · 1 revision

πŸ–₯ Overview

This page documents all console commands provided by Dialogue Expander.
These commands are intended for modders and testers to debug or preview dialogue behavior in-game.

⚠️ All results are logged to the SMAPI Console.
No in-game chat messages are shown.


πŸ”„ Reloading

de_reload

de_reload

Reloads all dialogue and event data from installed Dialogue Expander content packs.
Use this if you add or modify a content pack while the game is running.


πŸ›  State & Cycle Control

de_setcycle

de_setcycle <NPC> <Cycle>

Forces an NPC’s dialogue cycle.

Example:

de_setcycle Abigail 2

de_setstate

de_setstate <NPC> <State>

Forces an NPC’s relationship state.
Valid states: Default, Dating, Married, Divorced, Breakup, FinalBreakup

Example:

de_setstate Sam Married

de_set

de_set <NPC> <Cycle> <State>

Forces both cycle and state at once.
Equivalent to running de_setcycle and de_setstate together.

Example:

de_set Sebastian 1 Divorced

πŸ‘ Dialogue Preview

de_preview

de_preview <NPC>

Displays the NPC’s current dialogue candidate in the console,
based on their current state, cycle, hearts, and conditions.

Example:

de_preview Abigail

Console output:

[Abigail] (State: Dating, Cycle: 1, Hearts: 6) β†’ Conditions: date:spring_15 | Match=βœ…

πŸ“‹ NPC Summary

de_summary

de_summary

Shows a summary of all NPCs with Dialogue Expander data.
For each NPC, the console lists:

  • Which content pack they come from
  • Their current state and cycle
  • The available cycles in the content pack

Example output:

=== DialogueExpander NPC Summary ===
Abigail (from: MyCoolPack) β†’ State: Dating, Current Cycle: 1, Available Cycles: [0,1]
Sam (from: AnotherPack) β†’ State: Married, Current Cycle: 2, Available Cycles: [0,1,2]

πŸ” NPC Detail

de_detail

de_detail <PackId> <NPC> [all]

Displays a detailed condition check table for the given NPC.
Each row shows:

  • Heart level
  • Conditions
  • Whether the condition matches the current game environment (βœ… or ❌)

Options

  • If you add all, it will display all states & cycles.
  • Without all, only the current state & cycle is shown.

Example

de_detail MyCoolPack Abigail

Console output:

=== DialogueExpander Detail: Abigail (from MyCoolPack) ===
Environment β†’ Date: spring 15 (Mon), Weather: Sunny, Hearts: 6

State: Dating | Cycle: 1
-----------------------------------------------------------
Hearts | Conditions                          | Match?
-----------------------------------------------------------
0      | (default)                           | βœ…
0      | weather:Rainy                       | ❌
6      | date:spring_15                      | βœ…
10     | (default)                           | ❌

πŸ“– Summary

Command Description
de_reload Reload all dialogues & events
de_setcycle Force NPC cycle
de_setstate Force NPC relationship state
de_set Force NPC cycle and state together
de_preview Preview NPC dialogue (console only)
de_summary Show summary of all NPCs by content pack
de_detail Show detailed condition check table for NPC