|desc = Gives and automatically equips the specified [[hat]] to your farmer; any currently equipped hat will be destroyed. See [[Modding:Items|hat data]] for a list of base game IDs.
+
|desc = Gives and automatically equips the specified [[Hats|hat]] to your farmer; any currently equipped hat will be destroyed. See [[Modding:Items|hat data]] for a list of base game IDs.
|example = <code>debug hat 3</code> would give you a [[Sombrero]] and automatically equip it.
|example = <code>debug hat 3</code> would give you a [[Sombrero]] and automatically equip it.