Paste #16788: Edit of P#16787 - Untitled Paste

Date: 2015/06/23 07:43:09 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


Satyr:
    type: world
    events:
        on player interacts with chest:
          - if <context.location.world> = w@Naragbar {
            - if !<player.has_flag[Tchest<context.location>]> {
              - flag player Tchest<context.location>:<context.location.inventory>
            }
            - inventory open d:<player.flag[Tchest<context.location>].as_inventory>
            - determine cancelled
          }