Ради вашего удобства наш сайт использует cookies! Узнать больше! Мы используем cookies

FirefliesTwo

[b]Discord: steveo.o[/b] [b]steam: Scurvyez[/b] EDIT: Reading is hard so here it is for everyone...... these fireflies are not pawns. They are just visual effects. EDIT: Fine to add to existing saves! :) A simple, yet... heart-warming revamp of my original mod which adds fireflies to the Rim (as pure visual effects using Unity's ParticleSystem). I would recommend running Realistic Darkness alongside this mod for the best experience. [url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Fko-fi.com%2Fstevez][img]https://imgur.com/2p03pkM.png[/img][/url][ko-fi.com] [url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Fgithub.com%2FScurvyez%2FFirefliesTwo][img]https://i.imgur.com/wsFzGcp.png[/img][/url][github.com] [hr] [img]https://i.imgur.com/arhnT3z.gif[/img] [b]Example of fireflies in the Idyllic Meadows biome w/o Realistic Darkness.[/b] Supported Biomes [list] [*] [b][Core][/b] BorealForest, Temperate Forest, Temperate Swamp, Tropical Rainforest, Tropical Swamp, Arid Shrubland, Desert, and Extreme Desert [*] [b][Odyssey][/b] Glowforest, Grasslands [*] [b][More Vanilla Biomes][/b] Alpine Meadow, Cloud Forest, Coastal Dunes, Desert Oasis, Grasslands, and Marsh [*] [b][Alien Biomes (WIP)][/b] Radiant Plains, Delirious Dunes, and Crystalline Flats [*] [b][Alpha Biomes][/b] Feralisk Infested Jungle, Idyllic Meadows [*] [b][Biomes! Oasis][/b] Chromatic Oasis [*] [b][Medieval Overhaul][/b] Ancient Forest (only for 1.5), Dark Forest [*] [b][Regrowth: Core][/b] Temperate Grassland (only for 1.5) [*] [b][Regrowth/Regrowth 2: Aspen][/b] Aspen Forest [*] [b][Regrowth/Regrowth 2: Boiling][/b] Boiling Forest [*] [b][Edo Themed Expansion][/b] Bamboo Forest [/list] Fireflies spawn if... [list] [*] the weather is clear [*] the outdoor temperature is within some range, -100/+100 Celsius by default [*] the current season is not winter or permanent winter, and winter spawning for a respective biome is false [*] ambient light from sun is less than 30% (so from around dusk til dawn) [*] additional log message pops if you chose a biome not supported [/list] [img]https://i.imgur.com/SqkU5Z1.gif[/img] [b]Example of fireflies in the Feralisk Infested Jungle biome w/o Realistic Darkness.[/b] Jobs [list] [*] pawns can periodically chase fireflies for fun, 75% base chance [list] [*] will count towards joy/recreation as meditation [*] if caught, a jar with a firefly is added to the pawns' inventory [*] this jar can be installed/uninstalled like any other piece of furniture [/list] [*] pawns can also view captured fireflies in glass jars [list] [*] will count towards joy/recreation as meditation [/list] [/list] Thoughts [list] [*] good (short-term) memory for being outside while fireflies are active [*] good (short-term) memory for catching a firefly while chasing them, 25% base chance [*] bad (short-term) memory for accidentally squishing a firefly, chance based on several factors [/list] Buildings [list] [*] glass jar w/ a single firefly inside [list] [*] cannot be built [*] found and automatically added to a pawns' inventory if a pawn successfully catches a firefly during joy recreation [/list] [/list] [img]https://i.imgur.com/I7RdVfy.gif[/img] [b]Example of the glass jars w/ a yellow firefly, and w/o Realistic Darkness.[/b] Mod Authors [list] [*] If you want to adjust the spawn rate, allowed temperature range, or chance to spawn in winter/permanent winter, just use a PatchOperation to target the biome of your choosing and ensure your patch loads after this mod [b]OR[/b] directly insert the NightlySpawningExtension and it's values into your custom BiomeDef if you are making a biome of your own and want to add functionality from this mod if this mod is enabled. [*] Examples below of how to do each. [/list] [b]1.[/b] Patching into another mods' biome or one from core. [list] [*] If the target biome already has the extension then use a PatchOperationReplace instead. Read the [url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Frimworldwiki.com%2Fwiki%2FModding_Tutorials%2FPatchOperations]wiki[/url][rimworldwiki.com] for more info on PatchOperations. [/list] [img]https://i.imgur.com/5XpEb2q.png[/img] [b]2.[/b] Directly adding conditional support for your own custom biome. [img]https://i.imgur.com/RhAbOoM.png[/img] TweakValues [list] [*] option to enable the mesh overlay drawer [*] MeshOverlayDrawer.DrawFireflySpawnMesh [*] shows the finalized Mesh where firefly particles are allowed to spawn from (used for debugging) [*] this will kill your FPS lol [/list] [img]https://i.imgur.com/uzoCFrc.gif[/img] [b]Example mesh generation using the added TweakValue to see where firefly particles will be allowed to spawn.[/b] [hr] FAQ... [b]Q1. [i]Are these pawns like in the original mod?[/i][/b] [b]A1.[/b] Nope. This mod uses Unity's particle system to generate and render the fireflies on the map. No more pesky lag because there are suddenly dozens or hundreds of actual pawns on the map. Just pleasant little particles being handled by the GPU for much better performance. [b]Q2. [i]Does this mod have impacts on performance?[/i][/b] [b]A2.[/b] Nope. Again, just happy little visual effects floating around. [b]Q3. [i]Can I remove this mod mid-save?[/i][/b] [b]A3.[/b] I mean... you could. Buuut, you [i]really[/i] shouldn't. [b]Q4. [i]Will I be adding more visual effects such as butterflies, embers, falling leaves in autumn, etc.?[/i][/b] [b]A4.[/b] No. This mod is about fireflies only. I might make a separate mod for more general ambient effects in the future though.