Jump to content

Farming Quest (in case somebody needs it) It isnt fully done but it will do


rdegyyreyert

Recommended Posts

So basically me and my friend made a skript for quest. It was made for farming servers but if you want to you can edit it however you want 😄

 

 

#made by Tarry And Noel

on break of ripe carrot plant:
  if {1done::%player's uuid%} is true:
    send "&8&lYou have already completed the quest &6&lCarrot Cropper"
    cancel event
  else:
    if {q1ready::%player's uuid%} is true:
      add 1 to {quest1::%player's uuid%}
      send "&8&lCarrots mined %{quest1::%player's uuid%}%/1000"
      set event-block to carrot plant
      remove 1 carrot from player's inventory
      set {_drops::*} to drops of block with player's tool
      clear the drops
      give player {_drops::*}
      if {quest1::%player's uuid%} >= 1000:
        send "&8&lYou have completed the quest &6&lCarrot Cropper" to player
        set {1done::%player's uuid%} to true
        
on right click on entity:
    if name of entity is "&eFarmer":
        if {1done::%player's uuid%} is false:
            send "&cOh hello, Im farmer just moved here heard crops grow faster here" to player
            wait 2 seconds
            send "&cCan you help me out with something? just some small help nothing too big" to player
            wait 3 seconds
            send "&cAlright thanks, i need 1000 carrots thats all come back to me after you done it and i will give you a lilte something" to player
            set {q1ready::%player's uuid%} to true
        else:
            if {1done::%player's uuid%} is true:
                send "&cHey your back, Thank you for helping me out here is your reward"
                set {1reward::%player's uuid%} to false
                if {1reward::%player's uuid%} is false:
                    add 150 to {tokens::%player's uuid%}
                    set {1reward::%player's uuid%} to true
                else:
                    if {1reward::%player's uuid%} is true:
                        send "&cOh hey do you like your reward? (if you want more do quests from other npcs)" to player

Link to comment
Share on other sites

Cool skript!

Joined on January 17th 2016

VIP since April 5 2017 - August 1st 2019

JrMod since August 1st

Mod since October 1st

SrMod since November 2nd - 2/7/21

Patron since February 8 - 3/7/21

Mod since March 8 2021

Retired since idk when

 

    [IMG]    button.png?t=Appeal&f=Calibri-Bold&ts=26&tc=fff&tshs=1&tshc=000&hp=20&vp=8&c=10&bgt=gradient&bgc=1d0dea&ebgc=1a0855&be=1 button.png?t=Rules&f=Calibri-Bold&ts=26&tc=fff&tshs=1&tshc=000&hp=20&vp=8&c=10&bgt=gradient&bgc=1d0dea&ebgc=1a0855&be=1  

If I helped or entertained you at all today, please react with a heart.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...