Search the Community
Showing results for tags 'jelly beans'.
Found 1 result
I know that the variable that sets it to 3 is stored in preparedfoods.lua is "stacksize", which is set to 3, however the function that uses this to make it so that three jelly beans come out of crock pot when they finish cooking is something I can't find anywhere. To my knowledge, it wasn't in edible.lua or crockpot.lua. You do have a special function in preparedfoods.lua for the jellybeans stat table, which looks like this: if eater.components.debuffable ~= nil and not (eater.components.health ~= nil and eater.components.health:IsDead()) and not eater:HasTag("playerghost") then eater.components.debuffable:RemoveDebuff("healthregenbuff") eater.components.debuffable:AddDebuff("healthregenbuff", "healthregenbuff") end but it seems like it has more to do with the health healing of 2 per 2 seconds rather than providing 3 jelly beans in crock pot upon it finishing cooking.