Skip to main content

Hard Hat ID and Spawn Cheat

Spawn the Hard Hat item in Stardew Valley using the in-game naming cheat.
Hard Hat

Keep your dome in one piece.

Category
Hats

The item ID for Hard Hat in Stardew Valley is: (H)27

Hard Hat
[(H)27]

Hard Hat — Slayer Goal Reward

Gil at the Adventurer's Guild awards Hard Hat for slaying 30 Duggy, Magma Duggy. Progress counts across the whole save — check the plaque next to Gil to see your kill totals.

Hard Hat Villager Gift Reactions

Give Hard Hat as a gift to build friendship. Each villager reacts differently — pick someone who loves it for the biggest friendship boost. Gifts given on a villager's birthday count 8× — a loved gift jumps from +80 to +640 friendship.

  • NeutralAbigail🎂 Fall 13Alex🎂 Summer 13Caroline🎂 Winter 7Clint🎂 Winter 26Demetrius🎂 Summer 19Dwarf🎂 Summer 22Elliott🎂 Fall 5Emily🎂 Spring 27Evelyn🎂 Winter 20George🎂 Fall 24Gus🎂 Summer 8Haley🎂 Spring 14Harvey🎂 Winter 14Jas🎂 Summer 4Jodi🎂 Fall 11Kent🎂 Spring 4Krobus🎂 Winter 1Leah🎂 Winter 23Leo🎂 Summer 26Lewis🎂 Spring 7Linus🎂 Winter 3Marnie🎂 Fall 18Maru🎂 Summer 10Pam🎂 Spring 18Penny🎂 Fall 2Pierre🎂 Spring 26Robin🎂 Fall 21Sam🎂 Summer 17Sandy🎂 Fall 15Sebastian🎂 Winter 10Shane🎂 Spring 20Vincent🎂 Spring 10Willy🎂 Summer 24Wizard🎂 Winter 17
See the full Hard Hat gift guide →

Hard Hat Cheat Help

Item spawning in Stardew Valley isn't accomplished through typical commands. Instead, it involves a cheat method where you name your character, or an animal, with the item code of the desired item, enclosed in square brackets [ and ]. Include the brackets when naming.

Spawn Using Animal Name

To spawn this item, buy an animal (we recommend a chicken because it is the cheapest) from Marnie's Ranch, name it [(H)27]. You will then receive the Hard Hat item.

Spawn Using Character Name

Since you can only set your character's name once at the game's inception, we advise using the animal naming method.

However, if you opt for this method, name your character [(H)27] while creating your save file. When you converse with any villager who mentions your name in their dialogue, like Gus at the Stardrop Saloon, you'll receive the Hard Hat item.