ON INIT {
 SETNAME [description_gem_dealer_badge]
 SET_MATERIAL CLOTH
 SET_STEAL 50
 SET_WEIGHT 0
 ACCEPT
}

ON INITEND {
  IF (£type != "badge_256B") {
  SET £type "badge_227B"
  ACCEPT
  }
 ACCEPT
}

ON INVENTORYUSE {
  IF (£type == "badge_256B") {
  NOTE NOTE [note_gem_dealer_licence2]
  ACCEPT
  }
  IF (£type == "badge_227B") {
  NOTE NOTE [note_gem_dealer_licence]
  ACCEPT
  }
 ACCEPT
}

ON CUSTOM {
  IF (^$PARAM1 == "DESTROY") {
    DESTROY ME
    ACCEPT
  }
 ACCEPT
}