So basically I have edited my repair.cs so that when repairing a weapon if the weapon is in need of repair it gets repaired but if it is at full repair instead of sending message "this item is in full repair" it will add +1 to self repair. The problem is that at line 520 of unedited repair.cs it says if (!usingDeed) and if i leave what is there it causes an error but if I leave it blank everything works great, including if a blacksmith repairs the item from repair menu, but it will not delete the deed after use. So I have added what I thought should be there in lines 527-545 of the attached copy and it is working but now if a blacksmith repairs the item directly it causes a crash.
Any Help or ideas would be greatly appreciated.
 

Attachments

  • Repair.cs
    31 KB · Views: 11
Back