ON INIT {
 SETNAME [description_food_fish]
 SET_MATERIAL FLESH
 SET_GROUP PROVISIONS
 SET_GROUP FOOD
 SET_PRICE 8
 PLAYERSTACKSIZE 10
 SET_STEAL 50
 SET §scale 80
 SET §rnd ~^RND_40~
 INC §scale §rnd
 SETSCALE §scale
 SET_WEIGHT 0
 ACCEPT
}

ON INVENTORYUSE {
 SPEAK -p [player_off_uncooked] NOP
 ACCEPT
}

ON COMBINE {
 IF (^$param1 ISCLASS "CRUSHER") {
 PLAY "CRUSHING"
 REPLACEME \\provisions\\shredded_meat\\shredded_meat
 ACCEPT
 }
 if (^$PARAM1 ISCLASS "CARROT" ) {
  DESTROY ^$PARAM1  
  REPLACEME "\\provisions\\food_prep\\food_prep"
  ACCEPT
 }
 if (^$PARAM1 ISCLASS "FOOD_APPLE" ) {
  DESTROY ^$PARAM1  
  REPLACEME "\\provisions\\food_prep\\food_prep"
  ACCEPT
 }
 if (^$PARAM1 ISCLASS "MUSHROOM" ) {
  DESTROY ^$PARAM1  
  REPLACEME "\\provisions\\food_prep\\food_prep"
  ACCEPT
 }
 if (^$PARAM1 ISCLASS "FOOD_LEEK" ) {
  DESTROY ^$PARAM1  
  REPLACEME "\\provisions\\food_prep\\food_prep"
  ACCEPT
 }
 ACCEPT
}

ON COOK {
 IF (^INPLAYERINVENTORY == 1) {
  HEROSAY -D "FISH_IN_PLAYER"
  ACCEPT
 }
 SET_INTERACTIVITY NONE
 PLAY "cooking"
 TIMERpoule 1 5 REPLACEME "\\provisions\\food_fish_cooked\\food_fish_cooked"
 ACCEPT
}
ON ACTIVATE_PHYSICS {
 ACTIVATE_PHYSICS
 ACCEPT
}