ON INIT {
 SETNAME [description_flute]
 SET_MATERIAL WOOD
 SET_GROUP PROVISIONS
 SET_PRICE 25
 SET_STEAL 50
 ACCEPT
}

ON INVENTORYUSE {
  IF (^PLAYER_SKILL_OBJECT_KNOWLEDGE < 50) {
 SPEAK -p [flute2]
 }
  IF (^PLAYER_SKILL_OBJECT_KNOWLEDGE > 49) {
 SPEAK -p [flute1]
 }
 SENDEVENT CUSTOM HUMAN_BASE_0012 "FLEE"
 ACCEPT
} 