1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XP for farming in survival

Discussion in 'Requests' started by Tylerr, Nov 16, 2019.

  1. Tylerr

    Tylerr Member

    Joined:
    Nov 16, 2019
    Messages:
    2
    Likes Received:
    0
    Mining drops XP, killing mobs drops XP, smelting ores drops XP, fishing drops XP, but farming doesn't.

    I think this is a bit outside my scope. Could somebody write a script that sometimes drops a few XP when a player mines ripe crops?
    --- Double Post Merged, Nov 22, 2019, Original Post Date: Nov 16, 2019 ---
    Well, this will be good enough I guess.

    Code (Text):
    1. on mine of ripe wheat plant:
    2.     chance of 50%
    3.     drop 4 xp
    4.  
    5. on mine of ripe carrot plant:
    6.     chance of 50%
    7.     drop 4 xp
    8.  
    9. on mine of ripe potato plant:
    10.     chance of 50%
    11.     drop 4 xp
    12.  
    13. on mine of ripe beetroot plant:
    14.     chance of 50%
    15.     drop 4 xp
     

Share This Page

Loading...