Paste #41364: spawnegg

Date: 2017/04/15 05:54:06 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


spawnegg:
    type: world
    debug: false
    events:
        on player right clicks with monster_egg:
        - if "<context.item.lore.get[1].is[==].to[A cool item]>" {
            - narrate "hi"
            }
egg:
    type: item
    debug: false
    material: i@monster_egg
    display name: <&a>an egg
    lore:
    - A cool item