Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function webbermeat(inst)
- if GLOBAL.IsDLCEnabled(GLOBAL.REIGN_OF_GIANTS) then
- if GLOBAL.GetPlayer() and GLOBAL.GetPlayer().prefab == "webber" then
- inst.components.edible.healthvalue = -TUNING.HEALING_SMALL
- inst.components.edible.hungervalue =(GetModConfigData("edit"))
- inst.components.edible.sanityvalue = -TUNING.SANITY_SMALL
- else
- end
- end
- end
- AddPrefabPostInit("cookedmonstermeat", webbermeat)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement