full_necromancy_spellbook_crafter
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | full_necromancy_spellbook_crafter [2022/09/03 23:25] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | < | ||
+ | #Necromancy Spellbook Crafter by Frank Castle | ||
+ | # | ||
+ | # Instructions: | ||
+ | # | ||
+ | # Have plenty of Exceptional Scribes Pens with makers mark on them | ||
+ | # Have GM Inscription. | ||
+ | # Have a resource container with plenty of scrolls and regs | ||
+ | # Have at least 100 mana | ||
+ | # Have a trash can within reach | ||
+ | # Have your Necromancy spellbook in your hand. Do not have any other Necromancy spellbooks in your backpack. | ||
+ | # Having Meditation and a Mana Regen suit is recommended, | ||
+ | # This will use premade scrolls if they are in the Storage Container. Otherwise it will make them. | ||
+ | from System.Collections.Generic import List | ||
+ | |||
+ | stoCont = Target.PromptTarget(' | ||
+ | Items.UseItem(stoCont) | ||
+ | Misc.Pause(2000) | ||
+ | |||
+ | bookBag = Target.PromptTarget(' | ||
+ | Items.UseItem(stoCont) | ||
+ | Misc.Pause(2000) | ||
+ | |||
+ | regsList = [0x0F78, | ||
+ | necScrollList = [0x2260, | ||
+ | 0x2266, | ||
+ | 0x226F, | ||
+ | global pen | ||
+ | pen = Items.FindByID(0x0FBF, | ||
+ | global GumpButton | ||
+ | GumpButton = 100 | ||
+ | |||
+ | GFilter = Items.Filter() | ||
+ | GFilter.RangeMax = 5 | ||
+ | GFilter.OnGround = True | ||
+ | GFilter.Enabled = True | ||
+ | GFilter.Movable = True | ||
+ | garbagecan = List[int]((0x0E77, | ||
+ | GFilter.Graphics = garbagecan | ||
+ | |||
+ | def getSupplies(): | ||
+ | for i in regsList: | ||
+ | if Items.BackpackCount(i, | ||
+ | reg = Items.FindByID(i, | ||
+ | Misc.Pause(500) | ||
+ | Items.Move(reg, | ||
+ | Misc.Pause(1100) | ||
+ | |||
+ | def makeScrolls(): | ||
+ | | ||
+ | for S in necScrollList: | ||
+ | getSupplies() | ||
+ | checkPen() | ||
+ | checkMana(41) | ||
+ | global GumpButton | ||
+ | GumpButton = GumpButton + 1 | ||
+ | def necScroll(): | ||
+ | Items.UseItem(pen) | ||
+ | Gumps.WaitForGump(460, | ||
+ | Gumps.SendAction(460, | ||
+ | Misc.Pause(3000) | ||
+ | storedScroll = Items.FindByID(S, | ||
+ | spellbook = Items.FindByID(0x2253, | ||
+ | if storedScroll: | ||
+ | Items.Move(storedScroll, | ||
+ | Misc.Pause(1100) | ||
+ | else: | ||
+ | while Items.ContainerCount(Player.Backpack.Serial, | ||
+ | necScroll() | ||
+ | Misc.Pause(200) | ||
+ | packScroll = Items.FindByID(S, | ||
+ | Misc.Pause(200) | ||
+ | Items.Move(packScroll, | ||
+ | Misc.Pause(1100) | ||
+ | GumpButton = 100 | ||
+ | | ||
+ | def makeSpellbook(): | ||
+ | getSupplies() | ||
+ | Items.UseItem(pen) | ||
+ | Gumps.WaitForGump(460, | ||
+ | Gumps.SendAction(460, | ||
+ | Misc.Pause(3000) | ||
+ | spellbook = Items.FindByID(0x2253, | ||
+ | if not spellbook: | ||
+ | makeSpellbook() | ||
+ | | ||
+ | def checkPen(): | ||
+ | curCharges = Items.FindByID(0x0FBF, | ||
+ | Items.WaitForProps(curCharges, | ||
+ | props = Items.GetPropStringList(curCharges.Serial) | ||
+ | Misc.Pause(500) | ||
+ | prop = props[3].split(' | ||
+ | Misc.SendMessage(prop) | ||
+ | Misc.Pause(500) | ||
+ | if int(prop) < 20: | ||
+ | global pen | ||
+ | garbagecans = Items.ApplyFilter(GFilter) | ||
+ | Misc.Pause(500) | ||
+ | garbagecan = Items.Select(garbagecans, | ||
+ | Misc.Pause(500) | ||
+ | Items.Move(pen, | ||
+ | Misc.Pause(1100) | ||
+ | checkPen() | ||
+ | pen = Items.FindByID(0x0FBF, | ||
+ | | ||
+ | def checkMana(mana): | ||
+ | while Player.Mana < mana: | ||
+ | Player.UseSkill(' | ||
+ | Misc.Pause(11500) | ||
+ | | ||
+ | def makeBook(): | ||
+ | while Player.Mana < Player.ManaMax : | ||
+ | Player.UseSkill(' | ||
+ | Misc.Pause(10000) | ||
+ | makeSpellbook() | ||
+ | makeScrolls() | ||
+ | | ||
+ | spellbook = Items.FindByID(0x2253, | ||
+ | Misc.Pause(200) | ||
+ | Items.Move(spellbook, | ||
+ | |||
+ | while True: | ||
+ | makeBook() | ||
+ | </ |
full_necromancy_spellbook_crafter.txt · Last modified: 2022/09/03 23:25 by 127.0.0.1