Jump to content

Prime Mates don't accept hand slot items


Hornete
  • Pending

I do not know if this is intentional, being able to give prime mates hat items in the first place seems extremely weird design wise but I decided to report this anywho.

-- I use swords
    if item.components.equippable ~= nil and item.components.equippable.equipslot == EQUIPSLOTS.HANDS then
        local current = inst.components.inventory:GetEquippedItem(EQUIPSLOTS.HANDS)
        if current ~= nil then
            inst.components.inventory:DropItem(current)
        end
        inst.components.inventory:Equip(item)
    end  

Prime Mates have code to equip any hand held items they are given, however hand held items aren't actually accepted in the first place in the check for whether the item being traded is acceptable or not, only hat items.


Steps to Reproduce

1. Try to give a hand held item to a Prime Mate

2. Can't

  • Like 2



User Feedback


2 minutes ago, lakhnish said:

Time for prime mates with Dark Swords :wilson_cool:

This is exactly why this bug report even happened, my friend was dreaming about being able to give prime mates dark swords and when I pointed out the piece of unused code they nagged at me to report it, I do not expect this to be fixed if I'm being frank, lol, seems like super weird design for what Prime Mates currently are and is likely just something from a much earlier version of the new content.

Share this comment


Link to comment
Share on other sites



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...