Paste #9864: inventory keeper script

Date: 2014/09/20 10:55:48 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


inventory keeper:
    type: world
    events:
        on player dies:
        - flag player last_items:<player.inventory.list_contents.full>
        - determine no_drops
        on player spawns:
        - if <player.has_flag[last_items]> {
          - give <player.flag[last_items]>
          - flag player last_items:!
          }