///////////////////////////////////////////////////////////////////////// // // 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 Scripts.DarkParadise { public class ultima_smoce_net_1779635032 { [Executable] public static void Cartography() { while (!World.Player.Dead) { UO.WaitTargetSelf(); UO.UseType(0x0FBE); do { UO.Wait(800); } while (UO.InJournal("Vyjmul jsi mapu z atlasu")); UO.Wait(1300); do { UO.DeleteJournal(); UO.WaitMenu("What sort of map","Detail Map"); UO.UseType(0x14EB); UO.Wait(800); do { UO.Wait(1000); } while (UO.InJournal("Thy trembling hand") || UO.InJournal("You put the map")); UO.Wait(1300); } while (UO.InJournal("You put the map")); UO.Wait(1000); MapToAtlas(); } } public static void MapToAtlas() { while (UO.Count(0x14EB) > 0) { UO.DeleteJournal(); UO.WaitTargetType(0x14EB) ; UO.UseType(0x0FBE) ; do { UO.Wait(800); } while (UO.InJournal("Zrecykloval jsi mapu.") || UO.InJournal("Uschoval jsi mapu do atlasu")); UO.Wait(800); } } } }