Stinkbug

From Terraria Wiki
Jump to navigation Jump to search
Desktop versionConsole versionMobile version
Desktop/Console/Mobile-Only Content: This information applies only to the Desktop, Console, and Mobile versions of Terraria.
Stinkbug
  • Stinkbug item sprite
Auto-use
Stack digit 9.pngStack digit 9.pngStack digit 9.pngStack digit 9.png
Statistics
Type
Bait Power10%
Consumable✔️
Use time15 (Very fast)
RarityRarity level: 0
Sell10
Research5 required

The Stinkbug is a critter which spawns on the surface. Stinkbug has only 5 health and no defense, and can be damaged by other enemies and players.

Stinkbug can be caught with any Bug Net to be carried around in the inventory and released later, or crafted into animated decorative furniture (Stinkbug Cage). Once crafted, the Stinkbug cannot be released again.

Stinkbug can be used as bait for fishing, with 10% bait power.

It can also be used to craft Flymeal and Stinkbug Blockers.

Crafting

Used in

ResultIngredientsCrafting station
Stinkbug CageStinkbug CageBy Hand
FlymealFlymealHoneyHoney
Stinkbug BlockerStinkbug BlockerWork BenchWork Bench
Ghostly Stinkbug BlockerGhostly Stinkbug BlockerWork BenchWork Bench and Ecto Mist

Notes

  • At every dusk (7:30 PM), or each time the world is loaded, the spawn rate of Butterflies and Stinkbugs are set to a random value. Below is the detailed info:[1]
    • For Butterflies and Stinkbugs, there are two parameters: butterflyChance and stinkBugChance, the spawn rate of Butterflies and Stinkbugs, respectively.
These parameters are set in the following way:
  • First, 33.33*1/3 (33.33%) chance: butterflyChance = 999999 (effectively preventing them to spawn), and stinkBugChance = 1–13, then there is a 20*1/5 (20%) chance for the stinkBugChance to be set to 999999.
  • If the 33.33*1/3 (33.33%) chance failed, then: stinkBugChance = 999999, and butterflyChance = 1–20, then there is a 20*1/5 (20%) chance for the butterflyChance to be set to 999999.
  • This effectively makes a day can only have Butterflies or Stinkbugs, not both of them. If the player sees Butterflies on surface, then no Stinkbug will spawn on that day.
After these parameters are set, they will be used in spawning. Note that the following chances are only related to the respective critter and for reference only, they do not account for other spawns:[2]
  • Stinkbugs will only spawn during daytime when not raining, the player is on surface, is not in a Graveyard, and the wind speed is lower than 20 mph.
  • There is a 1/stinkBugChance chance for a Stinkbug to spawn, then there are two individual 25*1/4 (25%) chances for an extra Stinkbug to spawn.
  • As a result, they can appear in groups of 1–3.

Trivia

  • The BestiaryBestiary entry for the Stinkbug: "These sneaky pests have a knack for invading even the most airtight of homes, projecting their cilantro-like stench everywhere if disturbed."

History

  • Desktop 1.4.4.6: Stinkbugs are now more common on days where Stinkbugs can spawn (stinkBugChance changed from 1–20 to 1–13).

References

  1. Information taken from the Desktop version Desktop 1.4.4.6 source code, methods setFireFlyChance() in Terraria.NPC.cs, UpdateTime_StartNight() in Terraria.Main.cs, and LoadWorld() in Terraria.IO.WorldFile.cs. There may be inaccuracies, as the current Desktop version Desktop version is 1.4.4.9.
  2. Information taken from the Desktop version Desktop 1.4.4.6 source code, method SpawnNPC() in Terraria.NPC.cs. There may be inaccuracies, as the current Desktop version Desktop version is 1.4.4.9.