Jump to content

Normal Splumonkeys dropping 2 bananas and morsels


microlattice
  • Fixed
SetSharedLootTable('monkey',
{
    {'smallmeat',     1.0},
    {'cave_banana',   1.0},
    {'nightmarefuel', 0.5},
})

local function SetNormalMonkey(inst)
    inst:RemoveTag("nightmare")
    inst:SetBrain(brain)
    inst.AnimState:SetBuild("kiki_basic")
    inst.AnimState:SetMultColour(1, 1, 1, 1)
    inst.curious = true
    inst.soundtype = ""
    inst.components.lootdropper:SetLoot({ "smallmeat", "cave_banana" })
    inst.components.lootdropper.droppingchanceloot = false

    inst.components.combat:SetTarget(nil)

    inst:ListenForEvent("entity_death", inst.listenfn, TheWorld)
end

Monkeys already drop morsel and a banana, but they are added again when they turn into normal monkeys during calm phase. 


Steps to Reproduce
1. Watch a shadow splumonkey turn into a normal splumonkey. 2. Kill it. 3. 2 bananas and 2 morsels.



User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...