- D1 Meta Docs - Denizen Script -
Home Page / Pi to one million places / Contact mcmonkey / Donate / Paste Scripts / Denizen Help /
You are browsing as a guest.
Login | Register


Click here to create your own public paste ~ ~ click to duplicate and edit this paste


TitleUntitled Paste
TypeDenizen Script
Date2014/04/10 16:00:29 UTC-07:00
ByGuest
Other
Paste
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
3200
bigC4:
  type: world
  events:
    on player right clicks with i@c4explosives:
    - flag player C4:->:<context.location>
    - narrate "C4 has been set at <context.location.simple>"

    on player right clicks entity with i@c4explosives:
    - flag player C4entity:->:<context.entity>
    - narrate "you have placed C4 on <context.entity.name>"
    - flag player C4entity:<-:<player>
    on player right clicks with i@c4dettrigger:
    - if !<player.flag[C4timer]> {
      - foreach <player.flag[C4].as_list> {
        - explode %value% power:10
        }
      - foreach <player.flag[C4entity].as_list> {
        - explode <value.location> power:10
        }
      }
    - flag player C4:!
    - flag player C4entity:!
"c4explosives":
 type: item
 material: 405
 display name: C4
 
"c4dettrigger":
  type: item
  material: 131
  display name'C4_det_trigger'



RawRaw



Pastes made: 62530