ON INIT {
 SHOP_MULTIPLY 0.2
 SHOP_CATEGORY JEWELRY
 SET §unlock 0
 SET §lockpickability 30
 SET §key "KEY_BASE_0066"
 INVENTORY ADDMULTI "Jewelry\\sapphire\\sapphire" 5
 INVENTORY ADDMULTI "Jewelry\\ruby\\ruby" 6
 INVENTORY ADDMULTI "Jewelry\\amethyst\\amethyst" 7
 INVENTORY ADDMULTI "Jewelry\\gem\\gem" 4
 OBJECT_HIDE SELF ON
 ACCEPT
}

ON CUSTOM {
 IF (^$PARAM1 == "SELLING") {
  OBJECT_HIDE SELF OFF
  SET §unlock 1
  SETSHOP YES
  ACCEPT
 }
 IF (^$PARAM1 == "DEAD") { 
  SET_SHOP NO
  SET §unlock 0
 ACCEPT
}
ON INVENTORY2_OPEN {
 IF (#SHOPPING == 1) ACCEPT
 SET #SHOPPING 1
 HEROSAY [tutorial_shop]
 ACCEPT
}