Firefly
Statistics
Type | |
---|
Bait Power | 20% |
---|
Consumable | ✔️ |
---|
Use time | 15 (Very fast) |
---|
Rarity | 01* (Desktop, Console and Mobile versions) 00* (Old-gen console and 3DS versions) |
---|
Sell | 3 SC (Desktop, Console and Mobile versions) No value (Old-gen console and 3DS versions) |
---|
Research | 5 required |
---|
The Firefly is a harmless critter that gives off a tiny amount of light. Fireflies will spawn near grass on the surface at night, except inside houses. Their spawn rate will be randomly set everyday, making their spawn amount varying greatly each night.
The Firefly has only 5 health and no defense, and can be damaged by other enemies and players.
The Firefly can be caught with any Bug Net to be carried around in the inventory and released later, or crafted into animated decorative furniture (Firefly in a Bottle). Once crafted, the Firefly cannot be released again, unless the furniture item is de-crafted via Shimmer(Desktop, Console and Mobile versions).
The Firefly can be used as bait for fishing, with 20% bait power.
The Firefly can be spawned by the Firefly Statue, however statue-spawned critters cannot be caught with any Bug Net, and will disappear in a puff of smoke when the player attempts to do so.
Its Hallow counterpart is the Lightning Bug.
Crafting
Used in
Notes
- The spawn rate of Fireflies/Lightning Bugs are set to a random value at every dusk (7:30 PM), or each time the world is loaded, making them spawn at different amounts every night. They will be more common in Celebrationmk10(Desktop, Console and Mobile versions) worlds. See below for the detailed spawn condition.
- At every dusk (7:30 PM), or each time the world is loaded, the spawn rate of Fireflies/Lightning Bugs are set to a random value. Below is the detailed info:[1]
- For Fireflies/Lightning Bugs, there are three related parameters:
fireFlyChance , the spawn rate of these when no town NPCs are around; fireFlyFriendly , the spawn rate of these when town NPCs are around; and fireFlyMultiple , the chance for multiple of these spawning at the same time.
- These parameters are set in the following way:
- First, 1/9 (11.11%) chance:
fireFlyChance = 5–9, fireFlyFriendly = 1–3, fireFlyMultiple = 3–7.
- If this failed, then 1/3 (33.33%) chance:
fireFlyChance , fireFlyFriendly , fireFlyMultiple all set to 999999 (effectively preventing them to spawn).
- If both failed, then:
fireFlyChance = 10–59, fireFlyFriendly = 2–14, fireFlyMultiple = 6–29.
- Then, if the world is a Celebrationmk10 world,
fireFlyChance 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:[2]
- Fireflies/Lightning Bugs can only spawn at night, when the player is on surface, is not in a Graveyard(Desktop, Console and Mobile versions), and the wind speed is lower than 20 mph.
- Fireflies spawn on regular grass and both kinds of mowed grasses, while Lightning Bugs spawn on Hallowed grass.
- There is a
1/fireFlyChance or 1/fireFlyFriendly chance for these to spawn, depending on whether the player is in a town. Then, there are four individual 1/fireFlyMultiple chances for an extra Firefly/Lightning Bug to spawn. As a result, they can appear in groups of 1–5.
- Lavaflies(Desktop, Console and Mobile versions), which may seem similar to Fireflies, uses a slightly different spawning mechanic:[3]
- They only spawn at night in Underworld. One Lavafly will always be spawned, and there are four individual
1/fireFlyMultiple chances for an extra Lavafly to spawn. As a result, they can appear in groups of 1–5.
|
Trivia
- Like Lavaflies, Fireflies are difficult to see at night at high resolutions, appearing as a blinking speck on the screen.
- The Bestiary entry for the Firefly: "Appears at night in calm locations, illuminating the sky with strobing green light. Fish are fairly attracted to these."
History
- 3DS-Release: Introduced with the ability to use it as bait.
References
- ↑ Information taken from the 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 is 1.4.4.9.
- ↑ Information taken from the Desktop 1.4.4.6 source code, method
SpawnNPC()
in Terraria.NPC.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_SpawnLavaBaitCritters
. There may be inaccuracies, as the current Desktop version is 1.4.4.9.
- Basilisk(Desktop, Console and Mobile versions)
- Desert Spirit(Desktop, Console and Mobile versions)
- Dune Splicer(Desktop, Console and Mobile versions)
- Ghoul(Desktop, Console and Mobile versions)
(
- Dreamer(Desktop, Console and Mobile versions)
- Vile(Desktop, Console and Mobile versions)
- Tainted(Desktop, Console and Mobile versions)
)
- Lamia(Desktop, Console and Mobile versions)
- Mummy
- Sand Poacher(Desktop, Console and Mobile versions)
Windy Day(Desktop, Console and Mobile versions) - Clown
- Corrupt Bunny
(
- Vicious(Desktop, Console and Mobile versions)
)
- Corrupt Goldfish
(
- Vicious(Desktop, Console and Mobile versions)
)
- Corrupt Penguin
(
- Vicious(Desktop, Console and Mobile versions)
)
- Blood Zombie(Desktop, Console and Mobile versions)
- Drippler(Desktop, Console and Mobile versions)
- The Bride(Desktop, Console and Mobile versions)
- The Groom
- Wandering Eye Fish(Desktop, Console and Mobile versions)
- Zombie Merman(Desktop, Console and Mobile versions)
- Blood Eel(Desktop, Console and Mobile versions)
- Hemogoblin Shark(Desktop, Console and Mobile versions)
- Dreadnautilus(Desktop, Console and Mobile versions)
Sandstorm(Desktop, Console and Mobile versions) - Butcher(Desktop, Console and Mobile versions)
- Creature from the Deep(Desktop, Console and Mobile versions)
- Deadly Sphere(Desktop, Console and Mobile versions)
- Dr. Man Fly(Desktop, Console and Mobile versions)
- Fritz(Desktop, Console and Mobile versions)
- Eyezor
- Frankenstein
- Nailhead(Desktop, Console and Mobile versions)
- Psycho(Desktop, Console and Mobile versions)
- Reaper
- Swamp Thing
- The Possessed(Desktop, Console and Mobile versions)
- Vampire
- Mothron(Desktop, Console and Mobile versions)
(
- Baby(Desktop, Console and Mobile versions)
- Egg(Desktop, Console and Mobile versions)
)
Terrestrial
- Buggy(Desktop, Console and Mobile versions)
- Bunny
(
- Gem(Desktop, Console and Mobile versions)
- Gold(Desktop, Console and Mobile versions)
)
- Frog
(
- Gold(Desktop, Console and Mobile versions)
- Mystic(Desktop, Console and Mobile versions)
)
- Grasshopper
(
- Gold(Desktop, Console and Mobile versions)
)
- Grubby(Desktop, Console and Mobile versions)
- Maggot(Desktop, Console and Mobile versions)
- Mouse
(
- Gold(Desktop, Console and Mobile versions)
)
- Penguin
- Rat(Desktop, Console and Mobile versions)
- Scorpion
- Sea Turtle(Desktop, Console and Mobile versions)
- Sluggy(Desktop, Console and Mobile versions)
- Snail
- Squirrel
(
- Red(Desktop, Console and Mobile versions)
- Gem(Desktop, Console and Mobile versions)
- Gold(Desktop, Console and Mobile versions)
)
- Stinkbug(Desktop, Console and Mobile versions)
- Turtle(Desktop, Console and Mobile versions)
(
- Jungle(Desktop, Console and Mobile versions)
)
- Water Strider(Desktop, Console and Mobile versions)
(
- Gold(Desktop, Console and Mobile versions)
)
- Worm
Aquatic
- Dolphin(Desktop, Console and Mobile versions)
- Goldfish
(
- Gold(Desktop, Console and Mobile versions)
)
- Pupfish(Desktop, Console and Mobile versions)
- Seahorse(Desktop, Console and Mobile versions)
(
- Gold(Desktop, Console and Mobile versions)
)
- Sea Turtle(Desktop, Console and Mobile versions)
Aerial
- Bird
- Cockatiels(Desktop, Console and Mobile versions)
- Duck
- Dragonflies(Desktop, Console and Mobile versions)
(
- Gold(Desktop, Console and Mobile versions)
)
- Faeling(Desktop, Console and Mobile versions)
- Fairies(Desktop, Console and Mobile versions)
- Firefly
- Grebe(Desktop, Console and Mobile versions)
- Ladybug(Desktop, Console and Mobile versions)
(
- Gold(Desktop, Console and Mobile versions)
)
- Macaws(Desktop, Console and Mobile versions)
- Owl(Desktop, Console and Mobile versions)
- Seagull(Desktop, Console and Mobile versions)
- Toucan(Desktop, Console and Mobile versions)
Town pets(Desktop, Console and Mobile versions)