Paste #126675: Cfour

Date: 2024/09/21 10:46:29 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
18
19
20
21


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