///////////////////////////////////////////////////////////////////////// // // www.ultima.smoce.net // Name: Ground Lahve // ///////////////////////////////////////////////////////////////////////// using System; using System.Collections.Generic; using System.Text; using Phoenix; using Phoenix.WorldData; using System.Linq; using Phoenix.Communication; using Phoenix.Runtime; using Phoenix.Runtime.Reflection; namespace Scripts.DarkParadise { public class ultima_smoce_net_1779682751 { [Command] public static void LAHVE_ZEM() { UO.Print("Beru lahve ze zeme..."); foreach (UOItem ch in World.Ground) { if (ch.Graphic == 0x0F0E) { if (ch.Distance < 6) { UO.Print("Lahve nalezene: " + ch.Amount); UO.MoveItem(ch.Serial, 0, World.Player.Backpack.Serial); } } } } } }