9
3

BowlOfTerratrodderChuck.lua 633 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : ItemScripts/BowlOfTerratrodderChuck.lua
  3. Script Purpose : Handles the item "Bowl of Terratrodder Chuck"
  4. Script Author : jakejp
  5. Script Date : 6/10/2018
  6. Script Notes :
  7. --]]
  8. local TerratrodderChuck = 45400
  9. local AMindOfMyOwn = 294
  10. function used(Item, Player)
  11. if HasQuest(Player, AMindOfMyOwn) then
  12. if GetZoneID(GetZone(Player)) == 108 then
  13. RemoveItem(Player, TerratrodderChuck)
  14. local bucket = SpawnMob(GetZone(Player), 1081002, 1, GetX(Player), GetY(Player), GetZ(Player), GetHeading(Player))
  15. AddSpawnAccess(bucket, Player)
  16. SetTempVariable(bucket, "PlayerPointer", Player)
  17. end
  18. end
  19. end