Date: 2019/11/21 09:23:25 UTC-08:00
Type: Denizen Script
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"