Skip to content
Outlands Hub

Razor script

Deathrolls Lorebook creator 2.3

by jesaug205 · 470 lines
Download

DEATHROLLS LOREBOOK MAKER v. 2.3

Deathrolls Lorebook creator 23.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/c10df746-8b73-48ab-8e00-10f6deba5cae for latest2# Automation by Jaseowns3## Script: Deathrolls Lorebook creator 2.34## Created by: jesaug205#05#############################################6 7//DEATHROLLS LOREBOOK MAKER v. 2.38 9//________________________10//Set there variables below11 12//The Lorebook containing all the pages13@setvar myrunetome 0x4076392514//The container where you have the empty lore books15@setvar container_emptybooks 0x5989547B16//The container where you want the completed lore books to end up17@setvar container_fullbooks 0x40BC0CB918//The container where you want the treasure maps to end up19@setvar container_maps backpack20//The container where you want the links to end up21@setvar container_links backpack22//________________________23 24 25 26 27 28 29 30while not varexist myrunetome31    overhead 'Set the runetome that has your pages'32wait 200033endwhile34while not varexist container_emptybooks35    overhead 'Set  the container that contain your unused (blank) lorebooks'36wait 200037endwhile38while not varexist container_fullbooks39    overhead 'Set the container where you want to stash the completed lorebooks' 40    wait 200041    endwhile42while not varexist container_maps43    overhead 'Set the container where you want the T8 maps do end up'44    wait 200045    endwhile46while not varexist container_links47    overhead 'Set the container where you want the links to end up'48    wait 200049    endwhile50 51    menu myrunetome 0    52dclick container_emptybooks53wait 100054dclick container_fullbooks55wait 100056dclick myrunetome57waitforgump 127483095558while findtype 29105 container_fullbooks as book59    @ignore book60endwhile61while findtype 5356 backpack as map62    @ignore map63endwhile64while findtype 43206 backpack as link65    @ignore link66endwhile67 68while not dead69 70if ingump 'Creatures of Aegis Keep' 127483095571        @setvar set1 172    elseif ingump 'Creatures of Cavernam' 127483095573        @setvar set1 274    elseif ingump 'Creatures of Darkmire Temple' 127483095575        @setvar set1 376    elseif ingump 'Creatures of Inferno' 127483095577        @setvar set1 478    elseif ingump 'Creatures of Mount Petram' 127483095579        @setvar set1 580    elseif ingump 'Creatures of Nusero' 127483095581        @setvar set1 682    elseif ingump 'Creatures of Ossuary' 127483095583        @setvar set1 784    elseif ingump 'Creatures of Pulma' 127483095585        @setvar set1 886    elseif ingump 'Creatures of The Mausoleum' 127483095587        @setvar set1 988    elseif ingump 'History of Andaria' 127483095589        @setvar set1 1090    elseif ingump 'History of Cambria' 127483095591        @setvar set1 1192    elseif ingump 'History of Corpse Creek' 127483095593        @setvar set1 1294    elseif ingump 'History of Horseshoe Bay' 127483095595        @setvar set1 1396    elseif ingump 'History of Outpost' 127483095597        @setvar set1 1498    elseif ingump 'History of Prevalia' 127483095599        @setvar set1 15100    elseif ingump 'History of Terran' 1274830955101        @setvar set1 16102    elseif ingump 'Outlands Mythology Vol 1' 1274830955103        @setvar set1 17104    elseif ingump 'Outlands Mythology Vol 2' 1274830955105        @setvar set1 18106    elseif ingump 'Outlands Mythology Vol 3' 1274830955107        @setvar set1 19108    elseif ingump 'Outlands Mythology Vol 4' 1274830955109        @setvar set1 20110    elseif ingump 'Outlands Mythology Vol 5' 1274830955111        @setvar set1 21112    elseif ingump 'Outlands Mythology Vol 6' 1274830955113        @setvar set1 22114    elseif ingump 'Outlands Mythology Vol 7' 1274830955115        @setvar set1 23116    elseif ingump 'Tales of Aegis Keep' 1274830955117        @setvar set1 24118    elseif ingump 'Tales of Cavernam' 1274830955119        @setvar set1 25120    elseif ingump 'Tales of Darkmire Temple' 1274830955121        @setvar set1 26122    elseif ingump 'Tales of Inferno' 1274830955123        @setvar set1 27124    elseif ingump 'Tales of Mount Petram' 1274830955125        @setvar set1 28126    elseif ingump 'Tales of Nusero' 1274830955127        @setvar set1 29128    elseif ingump 'Tales of Ossuary' 1274830955129        @setvar set1 30130    elseif ingump 'Tales of Pulma' 1274830955131        @setvar set1 31132    elseif ingump 'Tales of The Mausoleum' 1274830955133        @setvar set1 32134endif135 136    137 138   139 140 141    if ingump 'Page 15' 1274830955142        overhead '15 pages'143    clearsysmsg144    wait 250 145    gumpresponse 10 1274830955146    waitforgump 1274830955147    gumpresponse 11 1274830955148    waitforgump 1274830955149    gumpresponse 12 1274830955150    waitforgump 1274830955151    gumpresponse 13 1274830955152    waitforgump 1274830955153    gumpresponse 14 1274830955154    waitforgump 1274830955155    gumpresponse 15 1274830955156    waitforgump 1274830955157    gumpresponse 16 1274830955158    waitforgump 1274830955159    gumpresponse 17 1274830955160    waitforgump 1274830955161    gumpresponse 18 1274830955162    waitforgump 1274830955163    gumpresponse 19 1274830955164    waitforgump 1274830955165    gumpresponse 20 1274830955166    waitforgump 1274830955167    gumpresponse 21 1274830955168    waitforgump 1274830955169    gumpresponse 22 1274830955170    waitforgump 1274830955171    gumpresponse 23 1274830955172    waitforgump 1274830955173    gumpresponse 24 1274830955174    waitforgump 1274830955175    wait 250176    if insysmsg 'particular'177    overhead 'Missing pages'178    wait 250179    menu myrunetome 0180    wait 250181    clearsysmsg 182    wait 250183    else184    overhead 'I have all pages! Making a book'185    for 2186    gumpresponse 4 1274830955187    waitforgump 1274830955188    endfor189    if findtype 29105 'container_emptybooks' 2897 as thisbook190          lift thisbook 1191                                drop backpack192                                while queued193                                    wait 50194                                endwhile195                                while findtype 27612 backpack as nextpage196                    lift nextpage197                    drop thisbook198                        while queued199                        wait 50200                        endwhile201                    endwhile202                    lift thisbook203                    drop container_fullbooks204                    while queued205                        wait 50206                    endwhile207                                else208                                overhead 'Cant find an empty runebook!'209                                break210                                endif211                  if findtype 5356 backpack 2091 as map212                        lift map213                    drop container_maps214                    while queued215                        wait 50216                    endwhile217                    @ignore map218                    else219                    endif220                    if findtype 43206 backpack 2750 as link221                        overhead 'Got a bronze link'222                    lift link223                        drop container_links224                        while queued225                            wait 50226                        endwhile227                        @ignore link228                    elseif findtype 43206 backpack 2875 as link229                        overhead 'Got a SILVER link'230                    lift link231                        drop container_links232                        while queued233                            wait 50234                        endwhile235                        @ignore link236                    elseif findtype 43206 backpack 2091 as link237                        for 3238                        overhead 'GOT A GOLD LINK!!!!'239                        wait 250240                        endfor241                        wait 1000242                    guild 'Lore Book Maker: Creating T8 maps have yielded a GOLD LINK! Hurray!'243                    lift link244                        drop container_links245                        while queued246                            wait 50247                        endwhile248                        @ignore link249                    else250                        overhead 'Cant find the link, something has gone wrong!'251                        stop252                        endif253                        endif    254else 255    overhead '10 pages'256clearsysmsg257wait 250 258gumpresponse 10 1274830955259waitforgump 1274830955260gumpresponse 11 1274830955261waitforgump 1274830955262gumpresponse 12 1274830955263waitforgump 1274830955264gumpresponse 13 1274830955265waitforgump 1274830955266gumpresponse 14 1274830955267waitforgump 1274830955268gumpresponse 15 1274830955269waitforgump 1274830955270gumpresponse 16 1274830955271waitforgump 1274830955272gumpresponse 17 1274830955273waitforgump 1274830955274gumpresponse 18 1274830955275waitforgump 1274830955276gumpresponse 19 1274830955277waitforgump 1274830955278wait 250279    if insysmsg 'particular'280    overhead 'Missing pages'281    wait 250282    menu myrunetome 0283    wait 250284    clearsysmsg 285    wait 250286    else287    overhead 'I have all pages! Making a book'288    for 2289    gumpresponse 4 1274830955290    waitforgump 1274830955291    endfor292    if findtype 29105 'container_emptybooks' 2897 as thisbook293          lift thisbook 1294                                drop backpack295                                while queued296                                    wait 50297                                endwhile298                                while findtype 27612 backpack as nextpage299                    lift nextpage300                    drop thisbook301                        while queued302                        wait 50303                        endwhile304                    endwhile305                    lift thisbook306                    drop container_fullbooks307                    while queued308                        wait 50309                    endwhile310                                else311                                overhead 'Cant find an empty runebook!'312                                break313                                endif314                  if findtype 5356 backpack 2091 as map315                        lift map316                    drop container_maps317                    while queued318                        wait 50319                    endwhile320                    @ignore map321                    else322                    endif323                    if findtype 43206 backpack 2750 as link324                        overhead 'Got a bronze link'325                    lift link326                        drop container_links327                        while queued328                            wait 50329                        endwhile330                        @ignore link331                    elseif findtype 43206 backpack 2875 as link332                        overhead 'Got a SILVER link'333                    lift link334                        drop container_links335                        while queued336                            wait 50337                        endwhile338                        @ignore link339                    elseif findtype 43206 backpack 2091 as link340                        overhead 'GOT A GOLD LINK!!!!'341                    wait 500342                    guild 'Lore Book Maker: We have created a gold link from RMs! Hype!'343                    wait 500344                    lift link345                        drop container_links346                        while queued347                            wait 50348                        endwhile349                        @ignore link350                    else351                        overhead 'Cant find the link, something has gone wrong!'352                        stop353                        endif354                    endif    355endif    356        if ingump 'Tales of the Mausoleum' 1274830955357        break358    endif359endif360 361if ingump 'Creatures of Aegis Keep' 1274830955362    @setvar set2 1363    elseif ingump 'Creatures of Cavernam' 1274830955364        @setvar set2 2365    elseif ingump 'Creatures of Darkmire Temple' 1274830955366        @setvar set2 3367    elseif ingump 'Creatures of Inferno' 1274830955368        @setvar set2 4369    elseif ingump 'Creatures of Mount Petram' 1274830955370        @setvar set2 5371    elseif ingump 'Creatures of Nusero' 1274830955372        @setvar set2 6373    elseif ingump 'Creatures of Ossuary' 1274830955374        @setvar set2 7375    elseif ingump 'Creatures of Pulma' 1274830955376        @setvar set2 8377    elseif ingump 'Creatures of The Mausoleum' 1274830955378        @setvar set2 9379    elseif ingump 'History of Andaria' 1274830955380        @setvar set2 10381    elseif ingump 'History of Cambria' 1274830955382        @setvar set2 11383    elseif ingump 'History of Corpse Creek' 1274830955384        @setvar set2 12385    elseif ingump 'History of Horseshoe Bay' 1274830955386        @setvar set2 13387    elseif ingump 'History of Outpost' 1274830955388        @setvar set2 14389    elseif ingump 'History of Prevalia' 1274830955390        @setvar set2 15391    elseif ingump 'History of Terran' 1274830955392        @setvar set2 16393    elseif ingump 'Outlands Mythology Vol 1' 1274830955394        @setvar set2 17395    elseif ingump 'Outlands Mythology Vol 2' 1274830955396        @setvar set2 18397    elseif ingump 'Outlands Mythology Vol 3' 1274830955398        @setvar set2 19399    elseif ingump 'Outlands Mythology Vol 4' 1274830955400        @setvar set2 20401    elseif ingump 'Outlands Mythology Vol 5' 1274830955402        @setvar set2 21403    elseif ingump 'Outlands Mythology Vol 6' 1274830955404        @setvar set2 22405    elseif ingump 'Outlands Mythology Vol 7' 1274830955406        @setvar set2 23407    elseif ingump 'Tales of Aegis Keep' 1274830955408        @setvar set2 24409    elseif ingump 'Tales of Cavernam' 1274830955410        @setvar set2 25411    elseif ingump 'Tales of Darkmire Temple' 1274830955412        @setvar set2 26413    elseif ingump 'Tales of Inferno' 1274830955414        @setvar set2 27415    elseif ingump 'Tales of Mount Petram' 1274830955416        @setvar set2 28417    elseif ingump 'Tales of Nusero' 1274830955418        @setvar set2 29419    elseif ingump 'Tales of Ossuary' 1274830955420        @setvar set2 30421    elseif ingump 'Tales of Pulma' 1274830955422        @setvar set2 31423    elseif ingump 'Tales of The Mausoleum' 1274830955424        @setvar set2 32425endif426 427 428if set1 = set2429overhead 'Done!'430wait 500431gumpresponse 5 1274830955432waitforgump 1274830955433wait 250434else435    overhead 'Adjusting...' 2301436wait 500437gumpresponse 5 1274830955438waitforgump 1274830955439wait 1000440gumpresponse 5 1274830955441waitforgump 1274830955442wait 250443endif444endwhile445overhead 'SCRIPT COMPLETED'446 447@clearignore 448if counttype 5356 backpack 2091 as itemcount449    sysmsg 'Maps created: {{itemcount}}'450else451    sysmsg 'Maps created: 0'452endif453 454if counttype 43206 backpack 2750 as itemcount455    sysmsg 'Bronze links: {{itemcount}}'456else457    sysmsg 'Bronze links: 0'458endif459 460if counttype 43206 backpack 2875 as itemcount461    sysmsg 'Silver links: {{itemcount}}'462else463    sysmsg 'Silver links: 0'464endif465 466if counttype 43206 backpack 2091 as itemcount467    sysmsg 'Gold links: {{itemcount}}'468else469    sysmsg 'Gold links: 0'470endif