Added % chance to spawn and reference. Edited the infobox and some links. Added gif. Moved behavior to a separate "Behavior" section to match other rock crab variant pages.
'''Truffle Crabs''' are an [[Monsters|enemy]] found on [[the Farm]] which can sometimes replace [[Truffle|Truffles]] on the ground. They look and behave similarly to [[Rock Crab|Rock Crabs]], but hide under a [[Truffle]] instead. They can appear regardless of whether monster spawns on the Farm are enabled or not.
+
'''Truffle Crabs''' are an [[Monsters|enemy]] found on [[the Farm]]. They have a 0.2% chance to be dug up by a [[Pig]] instead of a [[Truffle]].<ref name="spawnchance" /> They can appear regardless of whether monster spawns on the Farm are enabled or not.
+
+
==Behavior==
+
They disguise themselves as [[Truffle]]s, sometimes surprising the player. When immobile, they are invulnerable to attack. If a player gets within 1 tile of them, they will get up and run away.
+
+
==References==
+
<references>
+
<ref name="spawnchance">See <samp>FarmAnimal::DigUpProduce</samp> in the game code.</ref>
+
</references>
==History==
==History==
{{History|1.6|Introduced.}}
{{History|1.6|Introduced.}}
−
Too many truffles will turn one of you barn pigs into a docile crab-like monster. This is a rare event that occurs when you leave too many truffles lying around your barnyard. You can move the truffle crab to another barn, not to a coop. It's name is the name of the pig it used to be, but you can change this. It can be killed with your axe, pick axe, or weapon.