Paste #66936: Untitled Paste

Date: 2020/04/04 18:17:13 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


NewRopeBow:
    type: item
    material: bow
    display name: New Rope Bow

NewRopeBowController:
    type: world
    events:
        on player shoots bow:
            - if <context.bow.script.name||null> == NewRopeBow:
                - determine cancelled passively
                - shoot arrow origin:<player.location.above> speed:<context.force> no_rotate script:NewRopeBowTaskScript def:<player> save:theArrow
NewRopeBowTaskScript:
    type: task
    definitions: shooter
    script:
        - shoot <[shooter]> origin:<[shooter].location> destination:<[location]> speed:3