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