Jump to content

Auto-Repair at Workbench


DracoDruid

Recommended Posts

Ok here's another one.

 

I want to extend the SchematicsWorkbenchScript so it automatically repairs all of the player's equipment up to the player's Repair Skill.

 

BUT: Without costing anything.

I already checked out the "JHB Workbench Repair Plugin", but I just don't get smart out of it (is this correct english?),

so I am not able to modify it to my needs.

 

Hope someone has an idea.

Link to comment
Share on other sites

You could add another option to the messagebox that would then activate player.srm (ShowRepairMenu) this would then not use any caps! As the player is paying the player!

 

I did this a while ago and it works fine as long as you have enough caps in your inventory to "pay" for the repair.

 

But I would advice against changing standard items, like the workbench, because it prevents players form using other mods that change or enhance them. Better create a new item and put it on or near the ones you want to change.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...