Paste #9861: Edit of P#9860 - inventory keeper script

Date: 2014/09/20 10:54:11 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 respawns:
        - if <player.flag[last_items]||null> != null {
          - give <player.flag[last_items]>
          - flag player last_items:!
          }