[UO Steam] Add Spring Quest

If you make a Client-side script you can publish it here for other players to use
Locked
sky
Apprentice Scribe
Posts: 11
Joined: Sat Mar 11, 2017 8:46 am

[UO Steam] Add Spring Quest

Post by sky »

Hello, this isnt a perfected Macro, but it was annoying to add the Springquest stuff myself.... so i just wrote a Macro for it. (thanks to Authors of the Keyadding Macros. Its based on them !) The last Book dont work too well probably would need to add colors... didnt. Sadly it dosent get automatically how many were added yet ( figured no intelligent way to do it yet ). So you gotta Check that yourself by looting not more than the appropriatte amount... Hope it helps.
Cheers

Code: Select all

@removelist 'Questit'
if not listexists 'QuestIt'
  createlist 'Questit'
endif
if @findtype '0xe3b' '2259' 'backpack'
  @setalias 'QBook' 'found'
  @pushlist 'Questit' '0xdce' // Superb Seed1
  @pushlist 'Questit' '0xdcd' // Superb Seed2
  @pushlist 'Questit' '0xdcc' // Superb Seed3
  @pushlist 'Questit' '0xffa' // Spring Water
  @pushlist 'Questit' '0x913' // Dirt...
endif
if @findtype '0xe3b' '2252' 'backpack'
  @setalias 'QBook' 'found'
  @pushlist 'Questit' '0x1b11' // Rabbit Bone
  @pushlist 'Questit' '0x1081' // Rabbit Hide
  @pushlist 'Questit' '0x1e93' // Rabbit Carcass
endif
if @findtype '0xe3b' '2256' 'backpack'
  @setalias 'QBook' 'found'
  @pushlist 'Questit' '0x1e8a' // Squirrel Hide
  @pushlist 'Questit' '0x9f1' // Squirrel meat
  @pushlist 'Questit' '0x1b14' // Squirrel Bone
endif
if @findtype '0xe3b' '2264' 'backpack'
  @setalias 'QBook' 'found'
  @pushlist 'Questit' '0x1078' // Deerhide
  @pushlist 'Questit' '0x1e89' // Deer meat
  @pushlist 'Questit' '0x1b12' // Deer Bone
endif
if @findtype '0xe3b' '2254' 'backpack'
  @setalias 'QBook' 'found'
  @pushlist 'Questit' '0x13c6' //gardening Gloves
  @pushlist 'Questit' '0xf8f' // Fine Bone Meal
  @pushlist 'Questit' '0xf3b' // Pig Manure
endif
for 0 to Questit
  while @findtype 'Questit[]'
    @setalias 'regs' 'found'
    useobject 'QBook'
    waitforgump 3311653225 2500
    replygump 0xc563d169 700
    waitforgump 3311653225 15000
    waitfortarget 15000
    @target 'regs'
    waitforgump 3311653225 15000
    pause 300
  endwhile
endfor
@replygump 0xc563d169 0
@canceltarget
@removelist 'Questit'
@unsetalias 'regs'
sysmsg 'Done with adding Springstuff.'

Locked