Discussion in   Coding Corner   started     11 years ago   September 07, 2013, 10:21:14 PM   by   Keldon

Paragon Artifact gump

Keldon
Offline
223 Posts
Topic :   Paragon Artifact gump
11 years ago  September 07, 2013, 10:21:14 PM

Since there seems to be an on going confusion over what can be turned into the Paragon artifact recycling barrel I created a simple gump that lists what all can be turned in.  This gump is basically programmed to be sent when a player double clicks the barrel.  I was going to make this more complex but then it defeats the simplistic nature of adding new items like I intended.


The following code needs to be added to the ArtifactTrashBarrel script


first calling the usings for gumps:

Code: [Select]
using Server.Gumps;


Then the on double click portion:
Code: [Select]

        public override void OnDoubleClick(Mobile from)
        {
            base.OnDoubleClick(from);
            from.SendGump(new ArtifactCreditGump(from));
        }


I think adding this will save some confusion and help reduce the questions in public chat.