Loot containers

See pic for the Add to inventory function, and I’m creating the widget in the blueprints for the filing cabinet, should this be done in the first person character? Thanks