Repository navigation
π₯ Console Commands Reference
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.
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.
de_setcycle <NPC> <Cycle>
Forces an NPCβs dialogue cycle.
Example:
de_setcycle Abigail 2
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 <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
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=β
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]
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β)
- If you add
all, it will display all states & cycles. - Without
all, only the current state & cycle is shown.
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) | β
| 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 |