Dung box sort

Datum: 22/11/2014 23:14:42

Staženo: 492x

Popis:

třídí itemy na zvolené umíštění


Hodnocení: 3.7/10 (96 hlasy)

Download file:cs

Příkazy:

  • ,dungbox

Kód:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Phoenix;
using Phoenix.WorldData;

namespace Scripts.dsad
{
    public class Sortday
    { 
        private static Dictionary<string, RefullItemBox> itemsort = new Dictionary<string, RefullItemBox>();

        public Sortday()
        {
            itemsort.Add("tmr", new RefullItemBox("Total Mana Refresh", 0x1843, 0x0003, 1, 130));
            itemsort.Add("gh", new RefullItemBox("Greater Heal", 0x1843, 0x08A7, 10, 130));
            itemsort.Add("gs", new RefullItemBox("Greater Strength", 0x1843, 0x0481, 20, 130));
            itemsort.Add("tr", new RefullItemBox("Total Refresh", 0x1843, 0x014D, 30, 130)); 
            itemsort.Add("ns", new RefullItemBox("Lesser Poison", 0x1843, 0x03C4, 40, 130)); 
            itemsort.Add("shrink", new RefullItemBox("Shrink", 0x1843, 0x0724, 50, 130));
            itemsort.Add("invis", new RefullItemBox("Invisibility", 0x1843, 0x0B77, 60, 130));
            itemsort.Add("lb", new RefullItemBox("Lava Bomb", 0x1843, 0x000E, 70, 130));
            itemsort.Add("gb", new RefullItemBox("Greater Blood", 0x1843, 0x0025, 80, 130));
            itemsort.Add("lp", new RefullItemBox("Lesser Poison", 0x1843, 0x089F, 90, 130)); 
            itemsort.Add("gc", new RefullItemBox("Greater Cure", 0x1843, 0x0842, 100, 130));

            itemsort.Add("gisalat", new RefullItemBox("Ginseng Salad", 0x09EC, 0x06AB, 80, 130));
            itemsort.Add("ivm", new RefullItemBox("Greater Heal Scrol", 0x1F49, 0x0000, 110, 130));
            itemsort.Add("teleports", new RefullItemBox("Teleport Scroll", 0x1F42, 0x0000, 125, 130));
            itemsort.Add("resss", new RefullItemBox("Resurrection Scrol", 0x1F67, 0x0000, 155, 130)); 
        }

        public struct RefullItemBox
        {
            public string name;
            public ushort tPotion;
            public ushort cKeg;
            public int x;
            public int y;

            public RefullItemBox(string name, ushort tPotion, ushort cKeg, int x, int y)
            {
                this.name = name;
                this.tPotion = tPotion;
                this.cKeg = cKeg;
                this.x = x;
                this.y = y;
            }
        } 
         
        [Command("dungbox")]
        public void Ussdon()
        {
            UO.Print("Choose target container");
            UOItem to = new UOItem(UIManager.TargetObject());
             
            foreach (KeyValuePair<string, RefullItemBox> data in itemsort)
            {
                 if (UO.Count(data.Value.tPotion, data.Value.cKeg) >= 1)
                {
                    UOItem found = World.Player.Backpack.AllItems.FindType(data.Value.tPotion, data.Value.cKeg);
                    found.Move(0, to.Serial, (ushort)data.Value.x, (ushort)data.Value.y);
                    UO.Wait(250);
                    UO.Print(0x0102, "SORT: " + data.Value.name); 
                } 
            }
    
            
        } 
    }
}
Fruity Syrup
12 Mar 2025

Decirte vio apatico mil slotแตกบ่อย Don grandezas dos buscarlos slotแท้ Atreveria impresion van slotเบทน้อยแตกหนัก Pretendia el algunas una 928สล็อตแตกดี

Nový komentář