Advertisement
kakel_anders

UOS - Lockpickfactory

Jan 21st, 2022
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. ////-Lockpickmaker-////
  2. //-By kakel_anders (Player - UOG:Demise)-//
  3. //Have a resourcecontainer with ingots, and a toolcontainer for putting lockpicks//
  4. If not findalias 'lockpickingots'
  5. headmsg 'Container with ingots?' 34 'self'
  6. promptalias 'lockpickingots'
  7. endif
  8. if not findalias 'lockpickbag'
  9. headmsg 'Where should i put lockpicks?' 34 'self'
  10. promptalias 'lockpickbag'
  11. endif
  12. if @counttype 0x1bf2 '0' 'backpack' < 50
  13. movetype 0x1bf2 'lockpickingots' 'backpack' (0 0 0) 0 200
  14. pause 500
  15. endif
  16. if @counttype 0x1bf2 '0' 'backpack' < 200
  17. headmsg 'Out of ingots in restock!' 34 'self'
  18. pause 1000
  19. headmsg 'Halting script!' 34 'self'
  20. stop
  21. endif
  22. //// Keep tinkerkits comming!
  23. if counttype 0x1eb8 'any' 'backpack' < 3
  24. for 10
  25. usetype '0x1eb8'
  26. pause 1000
  27. replygump 0x38920abd 8
  28. pause 500
  29. replygump 0x38920abd 23
  30. endfor
  31. endif
  32. usetype 0x1eb8
  33. pause 1000
  34. replygump 0x38920abd 8
  35. pause 500
  36. replygump 0x38920abd 121
  37. pause 1000
  38. movetype 0x14fc 'backpack' 'lockpickbag'
  39. pause 500
  40.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement