Date: 2017/07/13 23:57:14 UTC-07:00
Type: Denizen Script
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]>
}