Date: 2023/03/16 03:39:47 UTC-07:00
Type: Denizen Script
dice_pot2:
type: item
material: flower_pot
display name: Pot with Dices2
lore:
- This is pot with some dices inside
- Simple Dice Game
allow in material recipes: false
dice_pot_games_list:
type: data
games:
- Simple Dice Game
- Pig Dice Game
- One more
- And one more
dice_pot_world2:
debug: true
type: world
events:
on player right clicks air with:dice_pot2:
- foreach <script[dice_pot_games_list].data_key[games]> as:game:
- narrate <[game]>
- inventory adjust slot:hand "lore:- <[game]>"
- narrate <player.item_in_hand.lore>
- if <player.item_in_hand.lore.contains_match[*Pig*]>:
- narrate test