///////////////////////////////////////////////////////////////////////// // // www.ultima.smoce.net // Name: Kartografie // ///////////////////////////////////////////////////////////////////////// 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 Phoenix.Scripts { public class Cartography { public const ushort map = 0x14EB; public const ushort atl = 0x0FBE; [Executable] public void carto() { UO.DeleteJournal(); while (!World.Player.Dead) { UO.WaitTargetSelf(); UOItem atlas = World.Player.Backpack.AllItems.FindType(atl); UO.UseObject(atlas); Journal.WaitForText(true, 10000, "Vyjmul jsi"); UO.Wait(500); UO.DeleteJournal(); UO.WaitMenu("What sort", "Detail Map"); UOItem mapa = World.Player.Backpack.AllItems.FindType(map); UO.UseObject(mapa); Journal.WaitForText(true, 10000, "You put", "trembling"); UO.Wait(500); UO.DeleteJournal(); UO.WaitTargetType(map); UO.UseObject(atlas); Journal.WaitForText(true, 10000, "Zrecykloval", "Uschoval"); UO.Wait(500); } } } }