Paste #17308: Breeding

Date: 2015/07/02 22:38:57 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16


SillFARMING:
  type: world
  debug: false
  breed:
  - define qty <player.iteminhand.qty>
  - wait 1t
  - if <c.entity.can_breed> && <pl.iteminhand.qty.is[LESS].to[%qty%]> run skillxp def:<script.yaml_key[Xp.<c.entity.entity_type>]||1>|FARMING
  events:
    on player right clicks sheep with wheat:
    - inject locally breed
    on player right clicks chicken with seeds:
    - inject locally breed
    on player right clicks cow with wheat:
    - inject locally breed
    on player right clicks pig with carrot_item:
    - inject locally breed