Stinkbug
Jump to navigation
Jump to search
Stinkbug
Statistics
Type | |
---|---|
Environment | |
AI Type | Ladybug AI |
Damage | 0 |
Max Life | 5 |
Defense | 0 |
KB Resist | 0% |
Sounds
Hurt | |
---|---|
Killed |
- Internal NPC ID: 669
The Stinkbug is a critter which spawns on the surface. The Stinkbug has only 5 health and no defense, and can be damaged by other enemies and players.
The 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, unless the furniture item is de-crafted via Shimmer(Desktop, Console and Mobile versions).
The 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
Result | Ingredients | Crafting station |
---|---|---|
Stinkbug Cage(Desktop, Console and Mobile versions) | By Hand | |
Flymeal(Desktop, Console and Mobile versions) |
| Honey |
| ||
Stinkbug Blocker(Desktop, Console and Mobile versions) |
| Work Bench |
Ghostly Stinkbug Blocker(Desktop, Console and Mobile versions) |
| Work Bench and Ecto Mist(Desktop, Console and Mobile versions) |
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:
andbutterflyChance
, the spawn rate of Butterflies and Stinkbugs, respectively.stinkBugChance
- For Butterflies and Stinkbugs, there are two parameters:
- These parameters are set in the following way:
- First, 1/3 (33.33%) chance:
= 999999 (effectively preventing them to spawn), andbutterflyChance
= 1–13, then there is a 1/5 (20%) chance for thestinkBugChance
to be set to 999999.stinkBugChance
- If the 1/3 (33.33%) chance failed, then:
= 999999, andstinkBugChance
= 1–20, then there is a 1/5 (20%) chance for thebutterflyChance
to be set to 999999.butterflyChance
- This effectively means 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.
- If the 1/3 (33.33%) chance failed, then:
- First, 1/3 (33.33%) chance:
- 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
chance for a Stinkbug to spawn, then there are two individual 1/4 (25%) chances for an extra Stinkbug to spawn.1/stinkBugChance
- As a result, they can appear in groups of 1–3.
- There is a
Trivia
- The Bestiary 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 (
changed from 1–20 to 1–13).stinkBugChance
- Desktop 1.4.4: Introduced.
- Console 1.4.4: Introduced.
- Switch 1.4.4: Introduced.
- Console 1.4.4: Introduced.
References
- ↑ Information taken from the Desktop 1.4.4.6 source code, methods
setFireFlyChance()
inTerraria.NPC.cs
,UpdateTime_StartNight()
inTerraria.Main.cs
, andLoadWorld()
inTerraria.IO.WorldFile.cs
. There may be inaccuracies, as the current Desktop version is 1.4.4.9. - ↑ Information taken from the Desktop 1.4.4.6 source code, method
SpawnNPC()
inTerraria.NPC.cs
. There may be inaccuracies, as the current Desktop version is 1.4.4.9.