Skip to content

Conversation

@billabong93
Copy link
Contributor

@billabong93 billabong93 commented Jan 29, 2026

Added new configuration options for auto-repair, including NPC selection, distance, skill usage, and in-town-only restriction. Refactored and expanded the repair logic in CoreLogic.pm to support equipping after repair, skill-based repair, and improved NPC interaction and routing.

#Reworked:
repairAuto <boolean flag> - Now an NPC can handle the repair, it is no longer directly tied to the repair skill
repairAuto_list <short equipment name/id> - Now also supports ids

#These works the same as autoSell/autoStorage rules:
repairAuto_npc <map name> <x> <y>
repairAuto_standpoint <map name> <x> <y>
repairAuto_distance <number>
repairAuto_maxDistance <number>
repairAuto_npc_steps <NPC conversation codes>

#New:
repairAuto_useSkill <boolean flag> - Uses Weapon Repair (108) skill for repair, instead of NPC
repairAuto_equipAfter <boolean flag> - Automatically equips gear after repair
repairAuto_warp <boolean flag> - Allow use of warp items (eg. Butterlfy Wing) for faster repair
repairAuto_inTownOnly <boolean flag> - AI will only queue repairAuto when in town

Added new configuration options for auto-repair, including NPC selection, distance, skill usage, and in-town-only restriction. Refactored and expanded the repair logic in CoreLogic.pm to support equipping after repair, skill-based repair, and improved NPC interaction and routing.
@alisonrag alisonrag merged commit 0faa667 into OpenKore:master Jan 30, 2026
9 checks passed
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.

2 participants