Paste #126676: Edit of paste 126675: Cfour

Date: 2024/09/21 10:55:42 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste Edit Of Paste 126675 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 <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"