Haru

  • Content Count

    10
  • Joined

  • Last visited

 Content Type 

Profiles

Forums

Downloads

Klei Bug Tracker

Game Updates

Hot Lava Bug Reporter

Posts posted by Haru


  1. and not food.prefab == "petals"

    This should work.

     

     

    thank you , but is not all work.

    EX

    if food and food.components.edible and food.components.edible.foodtype=="VEGGIE" and not food.prefab == "petals" then

            --give an upgrade!

            inst.level = inst.level + 1

    eat petals is not level up.

    but i eat "carrot"  is not level up too.

    i need eat all veggie type level up except petals.

    help please.