Advertisement
Guest User

prospecting

a guest
Oct 13th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. prospecting
  2.  
  3. gmcp.Room.Info
  4.  
  5. function prospecting()
  6. if prospectingMode == true then
  7.  
  8. if table.contains(prospectingAreas, gmcp.Room.Info.environment) then
  9.  
  10. send("prospect")
  11.  
  12. end -- if prospecting environment
  13.  
  14. end -- if prospectingMode true
  15.  
  16. end -- function
  17.  
  18. -----------------------------------------
  19.  
  20. prospectingAreas
  21.  
  22. prospectingAreas = {
  23. "Desert",
  24. "Hills",
  25. "Mountains",
  26. "Polar",
  27. "Tundra",
  28. "Valley"
  29. }
  30.  
  31. -----------------------------------------
  32.  
  33. ^pros$
  34.  
  35. if prospectingMode == true then
  36. cecho("\n<red>Disabled <yellow>prospecting.")
  37. prospectingMode = false
  38. else
  39. prospectingMode = true
  40. cecho("\n<yellow>Enabled prospecting.")
  41. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement