Resource icon

Thief Guild Expansion 0.1

No permission to download
Requirements
Core Edits and Script Edits.
I know these might not be a huge system but I figured it adds spice to stealing items from players on t2a or newer shards.

What these does is mark the item Stolen you cannot sell stolen items to vendors. also I used Gametac Sercuity K9 in these thanks to his smart wisdom making a K9.

Only change I made to his K9 is name and it will look for the Stolen Item tag also will not delete the stolen item.

So these just Version 0.1 I will be expanding on these to make it better.

Item.cs will need edited.
first find these line
public virtual void AddLootTypeProperty(ObjectPropertyList list)
{

then add these code into the code

Code:
            else if (StolenBy == true)
            {
                list.Add("Stolen");
            }

then go down and find public bool Movable
add these code

Code:
        public bool m_StolenBy;
        [CommandProperty(AccessLevel.Decorator)]
        public bool StolenBy
        {
            get { return m_StolenBy; }
            set { m_StolenBy = value; InvalidateProperties(); }
        }

Now close and save your core and recompile.

Open Basevendor.cs

find these code
public virtual void VendorSell(Mobile from)
{

then in that code you will see these line of code

foreach (Item item in items)
{
if (item is Container && (item).Items.Count != 0)
{
continue;
}

under that add these

Code:
                        if (item.StolenBy == true)
                        {
                            continue;
                        }

thanks to ravenewolf for the help there.

now In the zip you will have stealing.cs and some custom scripts just drop them into your custom folder. and replace the stealing.cs with mine.
Author
Frosttiger
Downloads
40
Views
1,389
First release
Last update
Rating
0.00 star(s) 0 ratings
Back