Sometimes the banana bush grows but visually it has not.
I believe this comes from the weirdness of using both the 'pickable' and 'growable' component at the same time for Banana Bushes, which gives the banana bush two timers to grow twice(?)
inst:AddComponent("pickable") inst.components.pickable.picksound = "dontstarve/wilson/harvest_berries" inst.components.pickable.onpickedfn = OnPicked inst.components.pickable:SetUp("cave_banana", TUNING.BERRY_REGROW_TIME) inst.components.pickable.ontransplantfn = OnTransplant inst.components.pickable:SetMakeEmptyFn(MakeEmpty) inst.components.pickable:SetOnRegenFn(OnRegen) inst.components.pickable:MakeEmpty() -------------------------------------------------------------------------- inst:AddComponent("growable") inst.components.growable.stages = BANANABUSH_GROWTH_STAGES inst.components.growable:SetStage(1) inst.components.growable.loopstages = false inst.components.growable.springgrowth = true inst.components.growable:StartGrowing()
The pickable:SetUp call is most likely what's causing the issue, giving it another growth timer seperate to the ones from the growable component and causing it to 'grow' twice.
Steps to Reproduce
1. Pick some banana bushes
2. Wait
3. Notice you can pick them sometimes even though they havent fully grown.
There are no comments to display.
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 accountSign in
Already have an account? Sign in here.
Sign In Now