Paste #67169: Untitled Paste

Date: 2020/04/08 11:48:41 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


CaptainKuro:
    type: assignment
    actions:
        on assignment:
        - trigger name: click state:true
        on click:
        - if <player.item_in_hand.script.name||null> == "ShipTicket":
            - narrate "<&f>Seems like you have a <&e>Ship Ticket<&f>!"
            - wait 1s
            - if <player.item_in_hand.script.name||null> == "ShipTicket":
                - take item_in_hand
                - wait 2s
                - narrate "<&f>I will take you to a random location on a random island."
                - wait 4s
                - teleport <player> <player.location.add[0,20,0]>
            - else:
                - narrate "<&f>You thought you could scam me fool?"
                - stop
        - else:
            - narrate "<&f>You need a <&e>Ship Ticket <&f>to use my services. Hold it in your hand when speaking to me again."