Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- trax.process_toxin("","")
- local short = ""
- if matches[3] == "maidenhair leaf" then short = "maidenhair" end
- if matches[3] == "mandrake root" then short = "mandrake" end
- if matches[3] == "piece of kelp" then short = "kelp" end
- if matches[3] == "galingale flower" then short = "galingale" end
- if matches[3] == "nightshade root" then short = "nightshade" end
- if matches[3] == "wormwood root" then short = "wormwood" end
- if matches[3] == "orphine seed" then short = "orphine" end
- if matches[3] == "quince fruit" then short = "quince" end
- if matches[3] == "primrose stalk" then short = "primrose" end
- if matches[3] == "juniper berry" then short = "juniper" end
- if matches[3] == "hyssop stem" then short = "hyssop" end
- if matches[3] == "violet root" then short = "violet" end
- if matches[3] == "toadstool" then short = "toadstool" end
- if matches[4] == "linseed" then short = "linseed" end
- set(matches[2],"herb",false)
- set(matches[2],"herb_time",os.time())
- if trax.pending ~= "" then
- trax.cure(trax.pending_name,trax.pending)
- end
- if has(matches[2],"shadowplant_state") == 2 and has(matches[2],"shadowplant") == short then
- mecho("Shadowplant <orange_red>"..short.."!")
- set( target, "shadowplant", "" )
- set( target, "shadowplant_state", 0 )
- if shadowplant_timer then killTimer(shadowplant_timer) end
- if shadowplant_timer2 then killTimer(shadowplant_timer2) end
- else
- trax.pending = short
- trax.pending_name = matches[2]
- end
- if has(matches[2],"anorexia") then trax.take(matches[2],"anorexia") end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement