Paste #16783: Tchest clone

Date: 2015/06/23 07:30:21 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8


on player right clicks 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
          }