PigPen

Member
ServUO Version
Publish Unknown
Ultima Expansion
Mondain's Legacy
I host a RunUO 2.1 Server and so . . Okay I admit it . . I'm old.
For the life of me I cannot locate what scripts control how/why/when a Treasure Map is deleted from the world unless it is kept in a Mass Storage Key or in a player's Bank Box. What I am trying to do is adjust things so if a Player puts a T-Map up for sale on his Vendor, the T-Map does not get deleted like it otherwise would.

I would really appreciate being pointed to the script(s) that control this because I have worn out my searches.

Many Thanks
*bows*
 
Look in the Cleanup.cs script in this section...

public static bool IsBuggable( Item item )
 
Thank you Djeryv. That looks like a good tip and one I did not find. By the looks of it . . if I removed Treasuremaps from the Buggable list then they would broadly not be cleaned up. I did not want to eliminate them being removed completely, just if they are placed on a vendor for sale. (Some of the maps on my server are Special maps that are not commonly dropped and have more value than all the others.)
 

Migration

Total amount
$765.00
Goal
$618.00
Donation ends:

Donations

Total amount
$0.00
Goal
$500.00

Active Shards

Back