EscapeMan4

  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

1 Neutral

About EscapeMan4

  • Rank
    Junior Member
...

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Enable
  1. Edit: I Figured out that it only crashes for certain items like Logs and Cut Grass
  2. I did the custom Food Type thing and i tried adding multiple food items, and this is the code GetPlayer = GLOBAL.GetPlayer -- Food Pref AddPrefabPostInit("log", function(inst) if GetPlayer().prefab == "fbot" then inst:AddComponent("edible") inst.components.edible.foodtype = "FLAMABLE" inst.components.edible.healthvalue = -55 inst.components.edible.hungervalue = -55 inst.components.edible.sanityvalue = -30 end end) AddPrefabPostInit("petals", function(inst) if GetPlayer().prefab == "fbot" then inst:AddComponent("edible") inst.components.edible.foodtype = "FLAMABLE" inst.components.edible.healthvalue = -55 inst.components.edible.hungervalue = -55 inst.components.edible.sanityvalue = -30 end end) (the negative stats are just for testing) When I add two or more Items this happens Can someone help me with this please