Paste #18903: Untitled Paste

Date: 2015/08/01 10:10:33 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9


experience_gains_husbandry_duplicate_events:
  type: world
  debug: false
  events:
    on player right clicks entity:
    - if li@i@cooked_beef|i@bone|i@raw_beef|i@raw_chicken|i@cooked_chicken|i@rotten_flesh|i@rabbit|i@cooked_rabbit|i@mutton|i@cooked_mutton !contains <context.item.simple> queue clear
    - define wheat <player.item_in_hand.qty>
    - wait 1t
    - if <player.item_in_hand.qty||0> < <def[wheat]> run give_exp def:husbandry|50|none instantly