Skip to content

feat(statecontrol): add the State Control mod - #53

Open
marshmellion wants to merge 1 commit into
LocalExile:mainfrom
marshmellion:statecontrol
Open

marshmellion wants to merge 1 commit into
LocalExile:mainfrom
marshmellion:statecontrol

Conversation

@marshmellion

Copy link
Copy Markdown

State Control is a set of chat commands for testing and practice. It is a project mod that depends on Game.

Command Does
/save_character keeps the character being played as it is now: level, passives, items, quests, waypoints
/save_stash keeps every tab of this league's stash
/load_saves puts back the kept stash and every kept character of the account; the character being played comes back at its next login
/load_saves undo puts the stash back as it was before the last load, clear or removal
/clear_stash confirm empties every tab
/fill_stash [amount] fills every special tab with what it holds, including uniques at their worst and best rolls and gem tabs per colour (normal and 20/20)
/add_tab <type> [count] [name] adds tabs of any kind
/remove_tab <name> | all confirm removes tabs with what is in them
/make_characters [campaign] one level 100 character of every ascendancy, with the quests' passive points; with campaign, at the end of the story with every waypoint

It waits for two LocalExile pull requests:

  • the CharacterAtRest event (LocalExile #1172), for /load_saves of the character being played;
  • AccountStash.RemoveTab and IsShownTab (LocalExile #1170), for /add_tab, /remove_tab and /fill_stash.

A comment linking both will follow, as the repository's rules ask.

Added to the README table; mods.json rebuilt with tools/build-index.ps1. compatibleClientVersions lists the
latest release, 0.5.2-beta, for now; the reviewer sets the real one before merging.

Tested: in marshmellion's game, with both LocalExile branches merged, using save, load, fill, clear and make
characters. /add_tab and /remove_tab: tried in game, both work.

🤖 Generated with Claude Code

https://claude.ai/code/session_012uwMHxZJKwssyY1vT8CQ1F

Chat commands for testing and practice: save and load characters and the stash, empty, fill, add and remove stash
tabs, and make a level 100 character of every ascendancy. Needs LocalExile #1170 and #1172.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012uwMHxZJKwssyY1vT8CQ1F
@marshmellion

Copy link
Copy Markdown
Author

This mod needs two LocalExile pull requests merged first:

Could a maintainer add the Requires LocalExile Update label? This account can't set labels here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant