Paste #126694: Edit of paste 126687: Edit of paste 126685: Edit of paste 126679: Edit of paste 126676: Edit of paste 126675: Cfour

Date: 2024/09/21 14:41:33 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste Edit Of Paste 126687 View Edit Report
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21


CFour:
    type: item
    material: stone_button
    display name: C4 Brick
Detonator:
    type: item
    material: wooden_shovel
    display name: Detinator
Detonate:
    type: world
    events:
        after player right clicks block with:Detonator:
            - foreach <player.flag[Bombloc]>:
                - explode power:8 <player.flag[Bombloc]>
                - narrate "detinating at <player.flag[Bombloc]>"
PlaceCfour:
    type: world
    events:
        after player places CFour:
            - flag <player> Bombloc:->:<player.cursor_on>
            - narrate "C4 placed"