Paste #62186: Untitled Paste

Date: 2019/11/21 09:23:25 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12


prova_job:
    type: world
    debug: true
    events:
        on player breaks COAL_ORE:
        - if <player.flag[Job_miner]> >= 5:
            - if !<Item.enchantments.level[SILK_TOUCH]>:
                - narrate "You receive 5 money"
                - give money quantity:5
            - else:
            - narrate "no coal, no money!"
            - narrate "with silk touch you recive ore instead coal"