Placing Explosion Traps down and blowing them up by Jaseowns
# Placing Explosion Traps down and blowing them up by Jaseowns
# UO Outlands - https://youtu.be/K3bVPhHcInE
# BOOM JUUICEEEE
@setvar! cdTrap 420000
if not timerexists myTrapTimer1
createtimer myTrapTimer1
settimer myTrapTimer1 cdTrap
endif
if not timerexists myTrapTimer2
createtimer myTrapTimer2
settimer myTrapTimer2 cdTrap
endif
if not timerexists myTrapTimer3
createtimer myTrapTimer3
settimer myTrapTimer3 cdTrap
endif
if not timerexists myTrapTimer4
createtimer myTrapTimer4
settimer myTrapTimer4 cdTrap
endif
if not timerexists myTrapTimer5
createtimer myTrapTimer5
settimer myTrapTimer5 cdTrap
endif
if not findtype "Purple Potion" backpack
overhead "Thou hast a distinct lack of boom juice" 34
stop
endif
clearsysmsg
if findtype "barrel lid" ground -1 -1 2
overhead "Already on a trap!"
stop
endif
if timer myTrapTimer1 >= cdTrap
if findtype 6263|6264 backpack as jire
while not gumpexists 3489968915
dclick jire
wft 500
target self
endwhile
if gumpexists 3489968915
overhead "Using trap 1 of 5" 88
gumpresponse 20 3489968915
wait 200
if insysmsg "You place a trap."
overhead "Sucess" 66
settimer myTrapTimer1 0
endif
endif
endif
elseif timer myTrapTimer2 >= cdTrap
if findtype 6263|6264 backpack as jire
while not gumpexists 3489968915
dclick jire
wft 500
target self
endwhile
if gumpexists 3489968915
overhead "Using trap 2 of 5" 88
gumpresponse 20 3489968915
wait 200
if insysmsg "You place a trap."
overhead "Sucess" 66
settimer myTrapTimer2 0
endif
endif
endif
elseif timer myTrapTimer3 >= cdTrap
if findtype 6263|6264 backpack as jire
while not gumpexists 3489968915
dclick jire
wft 500
target self
endwhile
if gumpexists 3489968915
overhead "Using trap 3 of 5" 88
gumpresponse 20 3489968915
wait 200
if insysmsg "You place a trap."
overhead "Sucess" 66
settimer myTrapTimer3 0
endif
endif
endif
elseif timer myTrapTimer4 >= cdTrap
if findtype 6263|6264 backpack as jire
while not gumpexists 3489968915
dclick jire
wft 500
target self
endwhile
if gumpexists 3489968915
overhead "Using trap 4 of 5" 88
gumpresponse 20 3489968915
wait 200
if insysmsg "You place a trap."
overhead "Sucess" 66
settimer myTrapTimer4 0
endif
endif
endif
elseif timer myTrapTimer5 >= cdTrap
if findtype 6263|6264 backpack as jire
while not gumpexists 3489968915
dclick jire
wft 500
target self
endwhile
if gumpexists 3489968915
overhead "Using trap 5 of 5" 88
gumpresponse 20 3489968915
wait 200
if insysmsg "You place a trap."
overhead "Sucess" 66
settimer myTrapTimer5 0
endif
endif
endif
elseif findtype 6263|6264 backpack as jire
while not gumpexists 3489968915
dclick jire
wft 500
target self
endwhile
if gumpexists 3489968915
if ingump "5/5" 3489968915
// do nothing
overhead "NO MORE BOOM!" 34
else
settimer myTrapTimer1 cdTrap
gumpresponse 8 3489968915
endif
endif
else
overhead "NO MORE BOOM WIRE!" 34
endif
// This code will blow shit up
if findtype "barrel lid" ground -1 -1 8 and findtype "music box" backpack as item
dclick item
wft 500
target self
endif