ON INIT {
 SET $type "chest"
 SET §unlock 0
  INVENTORY ADDMULTI "Jewelry\\diamond\\diamond" 4
  INVENTORY ADDMULTI "Jewelry\\emerald\\emerald" 5
  INVENTORY ADDMULTI "Jewelry\\gem\\gem" 8
 ACCEPT
}
ON INITEND {
 SET £key "KEY_BASE_0011"
 ACCEPT
}

ON CUSTOM {
 IF (^$PARAM1 == "SELL_END") {
  SET_SHOP NO
  SET §unlock 0
  ACCEPT
 }
 IF (^$PARAM1 == "DEAD") SET_SHOP NO
 IF (^$PARAM1 == "SHOP") {
  SET §unlock 1
  SET_SHOP YES
  SHOP_CATEGORY JEWELRY
  SHOP_MULTIPLY 1
  ACCEPT
 }
 ACCEPT
}
ON INVENTORY2_OPEN {
 IF (#SHOPPING == 1) ACCEPT
 SET #SHOPPING 1
 HEROSAY [tutorial_shop]
 ACCEPT
}