Ok, why the heck would someone want to trap a porcupine?
What do they like to eat?
Most critters like corn and sweet things.
When I was trapping raccoons I would use marshmallows... Even though other meaty things would work...
The barn cats like fishy meaty things and cat food, of course. Skunks too.
Now about the corn... Lots of critters like corn, especially pigmy goats... Getting a full-grown pigmy goat out of a raccoon box trap is a chore. I could never tell, but it seemed like the goats weren't too bothered by being in a trap with corn lol.
Anyhow, marshmallows singled out raccoons and opossums