Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2014
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. trax.process_toxin("","")
  2.  
  3. local short = ""
  4. if matches[3] == "maidenhair leaf" then short = "maidenhair" end
  5. if matches[3] == "mandrake root" then short = "mandrake" end
  6. if matches[3] == "piece of kelp" then short = "kelp" end
  7. if matches[3] == "galingale flower" then short = "galingale" end
  8. if matches[3] == "nightshade root" then short = "nightshade" end
  9. if matches[3] == "wormwood root" then short = "wormwood" end
  10. if matches[3] == "orphine seed" then short = "orphine" end
  11. if matches[3] == "quince fruit" then short = "quince" end
  12. if matches[3] == "primrose stalk" then short = "primrose" end
  13. if matches[3] == "juniper berry" then short = "juniper" end
  14. if matches[3] == "hyssop stem" then short = "hyssop" end
  15. if matches[3] == "violet root" then short = "violet" end
  16. if matches[3] == "toadstool" then short = "toadstool" end
  17. if matches[4] == "linseed" then short = "linseed" end
  18.  
  19. set(matches[2],"herb",false)
  20. set(matches[2],"herb_time",os.time())
  21.  
  22. if trax.pending ~= "" then
  23. trax.cure(trax.pending_name,trax.pending)
  24. end
  25.  
  26. if has(matches[2],"shadowplant_state") == 2 and has(matches[2],"shadowplant") == short then
  27. mecho("Shadowplant <orange_red>"..short.."!")
  28. set( target, "shadowplant", "" )
  29. set( target, "shadowplant_state", 0 )
  30. if shadowplant_timer then killTimer(shadowplant_timer) end
  31. if shadowplant_timer2 then killTimer(shadowplant_timer2) end
  32. else
  33. trax.pending = short
  34. trax.pending_name = matches[2]
  35. end
  36.  
  37. if has(matches[2],"anorexia") then trax.take(matches[2],"anorexia") end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement