Paste #126696: Edit of 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 15:47:38 UTC-07:00
Type: Denizen Script

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


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