Resource icon

Treasure Map Decoder 1

Author
zerodowned
Downloads
108
Views
2,888
First release
Last update
Rating
0.00 star(s) 0 ratings
No permission to download Join the discussion
Requirements
Small edit to TreasureMap.cs
After discovering that XmlAttachments had a AddProperties method, I thought of this script as a way to use it.

This is a deed or tool to decode treasure maps without requiring skill or chance.

It checks if the TMap has already been opened by yourself or someone else, as well as if it's completed and of course the usual backpack check.

What it does
-Double click the item and target a treasure map
-If the decode is successful, it will tell you that map and coordinates of the treasure chest.

Pretty awesome for players that don't like to figure out where that darn pin is pointing.

tmap.jpg


Installation
The script is drag and drop, except for one minor addition to TreasureMap.cs

in the GetProperties method add this line at the end of the method

Code:
public override void GetProperties(ObjectPropertyList list)
        {
            base.GetProperties(list);

            list.Add(m_Map == Map.Felucca ? 1041502 : 1041503); // for somewhere in Felucca : for somewhere in Trammel

            if (m_Completed)
            {
                list.Add(1041507, m_CompletedBy == null ? "someone" : m_CompletedBy.Name); // completed by ~1_val~
            }
            //Added
            Server.Engines.XmlSpawner2.XmlAttach.AddAttachmentProperties(this, list);
            //Added
        }

Active Shards

  • Unchained
    Custom (Classic)
    • Players
    • 108 Online
    • 273 Peak
  • Insane UO
    Endless Journey
    • Players
    • 107 Online
    • 128 Peak
  • UO Eventine
    Custom (Classic)
    • Players
    • 54 Online
    • 137 Peak
  • The Crossroads
    Mondain's Legacy
    • Players
    • 48 Online
    • 190 Peak
  • UO: New Renaissance
    Custom (Classic)
    • Players
    • 44 Online
    • 85 Peak
  • Arth
    Custom (Modern)
    • Players
    • 42 Online
    • 48 Peak
  • UO Enigma
    Custom (Modern)
    • Players
    • 33 Online
    • 172 Peak
  • UO Phoenix
    Custom (Classic)
    • Players
    • 21 Online
    • 48 Peak
  • CALYPSO
    Custom (Modern)
    • Players
    • 20 Online
    • 30 Peak
  • Heritage
    New Legacy
    • Players
    • 15 Online
    • 41 Peak

Donations

Total amount
$0.00
Goal
$500.00
Back