I'm creating a weapon that applies a custom status effect when it's held in a player's inventory. I think I know how to check if a player is holding the item from an lua script, but I'm unsure how apply the status effect through lua.