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. 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
Result | Ingredients | Crafting station |
---|---|---|
![]() | By Hand | |
![]() | ![]() | |
![]() | ![]() | |
![]() | ![]() |
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,
33.33*1/3 (33.33%) chance:
= 999999 (effectively preventing them to spawn), andbutterflyChance
= 1–13, then there is astinkBugChance
20*1/5 (20%) chance for the
to be set to 999999.stinkBugChance
- If the
33.33*1/3 (33.33%) chance failed, then:
= 999999, andstinkBugChance
= 1–20, then there is abutterflyChance
20*1/5 (20%) chance for the
to be set to 999999.butterflyChance
- 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.
- If the
- First,
- 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 individual1/stinkBugChance
25*1/4 (25%) chances for an extra Stinkbug to spawn.
- 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 currentDesktop 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 currentDesktop version is 1.4.4.9.