Paste #43034: Untitled Paste

Date: 2017/07/13 23:57:14 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


spiderDungeon:
    type: world
    debug: true
    events:
        on player right clicks wall_sign: 
        - narrate "<&b>You found the hidden portal to the Arachni Dungeon..." 
        - wait 2s
        - ~run initiate_instance def:spiderDungeon save:instance 
        - teleport <player> <entry[instance].created_queue.determination.spawn_location> 
        on player enters spiderDungeon instance: 
        - narrate "<&b>You find yourself on the other side of the portal... in the Arachni Dungeon!" 
        - narrate "<&b>You must obtain the diamond block to exit the dungeon!" 
        on player breaks diamond_block: 
        - if <proc[get_instance_blueprint].context[<proc[get_instance]>]> == spiderDungeon { 
          - narrate "<&b>You did it!" 
          - teleport <player> <proc[get_instance_entry_location]> 
        }