[script][smith] Add private forge support with auto-renewal#7371
Merged
MahtraDR merged 1 commit intoelanthia-online:mainfrom Mar 30, 2026
Merged
[script][smith] Add private forge support with auto-renewal#7371MahtraDR merged 1 commit intoelanthia-online:mainfrom
MahtraDR merged 1 commit intoelanthia-online:mainfrom
Conversation
Add use_private_forge YAML setting for private forge rental workflows: - Walks to private forge room instead of public anvil - Reads rental notice and parses ET expiration timestamp - Auto-renews if less than 15 minutes remaining - Ensures 50k copper on hand for rental costs - Validates town has a private_forge entry in crafting data - Compatible with 'here' flag (skips walk and rental check) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
use_private_forgeYAML setting for private forge rental workflowsprivate_forgeroom instead of finding a public anvilprivate_forgeentry in crafting data; if not, lists towns that do and exits with a helpful messagehereflag (skips walk and rental check)Example YAML
Requirements
private_forgeroom ID inblacksmithingsectionTest plan
use_private_forge: false(default): script behaves identically to beforeuse_private_forge: truein a town with private forge: walks to forge, checks rental, auto-renews if neededuse_private_forge: truein a town without private forge: exits with helpful error listing valid townsuse_private_forge: truewithhereflag: skips walk and rental check🤖 Generated with Claude Code