Date: 2020/04/08 11:48:41 UTC-07:00
Type: Denizen Script
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."