Jump to content

Recommended Posts

In case anyone else wants to do this for some reason, I figured it out and ended up adding these lines in the character's prefab somewhere above onload

local function oncatchfish(inst)
	-- add sanity when catching a fish
	inst.components.sanity:DoDelta(15)
end

and this line inside of onload

inst:ListenForEvent("fishingcatch", oncatchfish)

hope this can help someone else!

Edited by TruPotatoes

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...