Paste #75532: VM 2020 09 12 1

Date: 2020/09/12 02:19:15 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
17


Restrictions:
    type: world
    events:
       on player breaks block in world:
       - if <player.in_group[Default]>:
         - if <context.material.name> == wheat || <context.material.name> == carrots || <context.material.name> == potatoes || <context.material.name> == beetroots || <context.material.name> == pumpkin || <context.material.name> == melon:
           - stop
         - else:
           - narrate "<red>Vous ne pouvez pas casser ce cube."
           - determine cancelled
       on player places block in world:
       - if <player.in_group[Default]>:
         - if <context.material.name> == wheat || <context.material.name> == carrots || <context.material.name> == potatoes || <context.material.name> == beetroots || <context.material.name> == pumpkin_stem || <context.material.name> == melon_stem:
           - stop
         - else:
           - narrate "<red>Vous ne pouvez pas poser de cubes ici."
           - determine cancelled