EscapeMan4

  • Content count

    6
  • Joined

  • Last visited

Community Reputation

1 Neutral

About EscapeMan4

  • Rank
    Junior Member
  1. Character Help

    Thank you, you both have solved my problem.
  2. Character Help

    No this is the code set for spawning ice local icee = SpawnPrefab("ice").Transform:SetPosition(inst.Transform:GetWorldPosition()) inst:WatchWorldState("isday", icee)
  3. Character Help

    Thank you, but now I'm encountering this problem
  4. So I've been trying to make a character that will spawn in a certain amount of ice everyday at the same time, and preserve perishable items while it's in their inventory. How would I go about doing this?
  5. Edit: I Figured out that it only crashes for certain items like Logs and Cut Grass
  6. 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