Ladybug

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.
Ladybug
  • Ladybug item sprite
Auto-use
Stack digit 9.pngStack digit 9.pngStack digit 9.pngStack digit 9.png
Statistics
Type
Bait Power17%
Consumable✔️
Use time15 (Very fast)
RarityRarity level: 1
Sell10
Research5 required
For the enemy spawning in the Glowing Mushroom biome, see Mushi Ladybug.

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

ResultIngredientsCrafting station
Ladybug CageLadybug CageBy Hand
Greater Luck PotionGreater Luck PotionPlaced BottlePlaced Bottle
or
Alchemy TableAlchemy Table
Lesser Luck PotionLesser Luck Potion
Luck PotionLuck Potion

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: butterflyChance and stinkBugChance, the spawn rate of Butterflies/Ladybugs 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/Ladybugs or Stinkbugs, not both of them.
  • Then, if the world is a Celebrationmk10 world, butterflyChance is divided by 2. If the value is lower than 1 after dividing, then set it to 1.
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 1/(butterflyChance*2) chance for a Ladybug to spawn, then there are four individual chances for an extra Ladybug to spawn: 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.
  • 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 BestiaryBestiary entry for the Ladybug: "A brilliant red insect often associated with luck. Fishing with these as bait may result in unwanted karma."

History

References

  1. Information taken from the Desktop version Desktop 1.4.3.6 source code, method LadyBugKilled() in Terraria.NPC.cs. See below for details. 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, 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.
  3. 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.
  4. 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.
  5. Information taken from the Desktop version Desktop 1.4.3.6 source code, method UpdateTime() in Terraria.Main.cs. There may be inaccuracies, as the current Desktop version Desktop version is 1.4.4.9.