Renarii

  • Content Count

    42
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Renarii

  • Rank
    Junior Member
...

Recent Profile Visitors

398 profile views
  1. @Dryicefox, you would use AddPrefabPostInit as shown earlier in this thread and then add the edible component. AddPrefabPostInit("rocks1", function(inst) inst:AddComponent("edible") inst.components.edible.foodtype = FOODTYPE.UNIQUEend)This may be slightly different for DS just check butterflywings.lua or any other thing that is already edible to see how the edible component is used. Also it seems that rocks have quite a few different prefabs, you'll have to do this for each one that you want edible.If you are trying to make your character eat rocks I would recommend calling the food type rocks instead of unique however since it makes more sense.