ON INIT {
 SETNAME [description_lockpick]
 SET_MATERIAL CLOTH
 SET_GROUP PROVISIONS
 SET_PRICE 125
 SET_STEAL 50
 SET §objectlife 5
 SET_DURABILITY 5
 SET_WEIGHT 1
 ACCEPT
}

ON CUSTOM {
  IF (^$PARAM1 == "INTERNO") {
    SET_INTERACTIVITY NONE
    ACCEPT
  }
  IF (^$PARAM1 == "INTERYES") {
    SET_INTERACTIVITY YES
    ACCEPT
  }
  IF (^$PARAM1 == "DAMAGE" ) {
    DEC §objectlife 1
    IF (§objectlife < 1) {
      PLAY "Brokenweapon"
      DESTROY ME 
      ACCEPT
    }
    SET_DURABILITY -c §objectlife
   ACCEPT
  }
 ACCEPT
}