Does the issue occur in the editor or during gameplay?
Gameplay
If it's a gameplay issue, please specify which movement system and camera type you're using (free movement vs. grid movement, third-person vs. first-person) or N/A if not applicable:
Grid, Standard
Briefly describe the issue you're experiencing:
A NPC that has a item equipped gives an error when trying to use unequip_item.
Are there any errors in the in-game debug console or external console window?


Provide the steps necessary to reproduce the issue:
- Place an NPC with either default equipment, or a startup script that equips them.
- aim mouse at them and use in game console:
unequip_item(self, "right_hand");