Ladybug

Type | |
---|---|
Environment | |
AI Type | Ladybug AI |
Damage | 0 |
Max Life | 5 |
Defense | 0 |
KB Resist | 0% |
Hurt | |
---|---|
Killed |
- Internal NPC ID: 604
The Ladybug is a small uncommon critter that can be found in Forests with a town during the Windy Day event at daytime. Ladybug has only 5 health and no defense, and can be damaged by other enemies and players.
Ladybug can be caught with any Bug Net to be carried around in the inventory and released later, or crafted into animated decorative furniture (Ladybug Cage). Once crafted, the Ladybug cannot be released again.
Ladybug can be used as bait for fishing, with 17% bait power.
There is a 0.25*1/400 (0.25%) chance for a Gold Ladybug to spawn in place of an ordinary one.
Touching naturally spawned Ladybugs will temporarily increase the player's luck, while killing natural or player-released Ladybugs or consuming them as bait will temporarily decrease the player's luck but boost the chance of raining[1]. However, using them for crafting does not affect luck, allowing the following recipes to be made consequence-free.
Crafting
Used in
Result | Ingredients | Crafting station |
---|---|---|
![]() | By Hand | |
![]() | ![]() or ![]() | |
![]() | ||
![]() |
Notes
- At every dusk (7:30 PM), or each time the world is loaded, the spawn rate of Butterflies/Ladybugs and Stinkbugs are set to a random value. Below is the detailed info:[2]
- For Butterflies/Ladybugs and Stinkbugs, there are two parameters:
andbutterflyChance
, the spawn rate of Butterflies/Ladybugs and Stinkbugs, respectively.stinkBugChance
- For Butterflies/Ladybugs 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/Ladybugs or Stinkbugs, not both of them.
- If the
- Then, if the world is a Celebrationmk10 world,
is divided by 2. If the value is lower than 1 after dividing, then set it to 1.butterflyChance
- 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:[3]
- Ladybugs can only spawn during daytime when not raining, the player is on surface, is not in a Graveyard, and the wind speed is more than 20 mph.
- There is a
chance for a Ladybug to spawn, then there are four individual chances for an extra Ladybug to spawn:1/(butterflyChance*2)
66.67*2/3 (66.67%),50*1/2 (50%),33.33*1/3 (33.33%),25*1/4 (25%).
- As a result, they can appear in groups of 1–5.
- There is a
- Killing a regular Ladybug or using it as bait will give a 30-second boost on the chance of raining. The boost is an added 1 in 86400 chance per tick[4], and the boost time can stack up to 300 seconds[5].
Trivia
- Ladybugs have a bait power of 17%. In Italian culture, the number 17 is considered unlucky. When viewed as the Roman numeral, XVII, it is then changed anagrammatically to VIXI, which in the Latin language translates to "I lived", the perfect implying "My life is over".
- The
Bestiary entry for the Ladybug: "A brilliant red insect often associated with luck. Fishing with these as bait may result in unwanted karma."
History
- Desktop 1.4.0.1: Introduced.
- Console 1.4.0.5.4.1: Introduced.
- Switch 1.4.0.5.5: Introduced.
- Mobile 1.4.0.5.0: Introduced.
References
- ↑ Information taken from the
Desktop 1.4.3.6 source code, method
LadyBugKilled()
inTerraria.NPC.cs
. See below for details. There may be inaccuracies, as the currentDesktop version is 1.4.4.9.
- ↑ 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.
- ↑ A tick is a time unit countable by the software. Most of Terraria's updating logic happens every tick. A tick has the length of 1/60th of a second, hence there are 60 ticks in a second and 3600 ticks in a minute.
- ↑ Information taken from the
Desktop 1.4.3.6 source code, method
UpdateTime()
inTerraria.Main.cs
. There may be inaccuracies, as the currentDesktop version is 1.4.4.9.