I have pushed the item insurance system to the Distro.
A very special thanks to ThisIsMe, The Gump Guru, for writing the insurance menu gump.
There are two ways of insuring items.
1. You can toggle insurance on items by single left-clicking on your in-game character to bring up the context menu and select Toggle Item Insurance. You will receive a persistent target. Target items to either insure an item, or if they are already insured, uninsure the item. A player must have enough gold in their bank to insure an item. As an item is insured, the cost for that item will be deducted from their bank. If they uninsure an item
2. You can open the insure item menu by entering the command .insurancemenu. This gump will list all insurable items equipped and in the top level of your backpack. Normally this would be done from the popup menu but there is an issue with the way the popup menu packet is implemented in the Core. ThisIsMe is working with Turley, and eventually, probably Kevin, to correct the issue.
Only equipped items and items in the main backpack can be insured. Containers, with the exception of quivers, cannot be insured. Stackable items cannot be insured. Cursed items cannot be insured.
The cost of insuring an item, according to uoguide.com and uo.com, "is a percentage" of the price for which a vendor sells the item. Currently, the cost is set to 75% of the vendor sell price. The percentage can be changed in /mobiles/insurance/config/settings.cfg.
Code: Select all
Elem Settings
{
# InsuranceRate is the percentage of the items VendorSellsFor price.
# A rate of 1.0 indicates the rate is equal to the VendorSellsFor price.
# A rate of 0.75 indicates the rate is equal to 75% of the VendorSellsFor price.
InsuranceRate 0.75
}