
Natural selection
Rewamps the ecosystem an enemies to feel more alive and interactable. Enemies will fight each other and hunt to survive.
Date uploaded | 3 days ago |
Version | 0.4.6 |
Download link | Fandovec03-Natural_selection-0.4.6.zip |
Downloads | 1304 |
Dependency string | Fandovec03-Natural_selection-0.4.6 |
This mod requires the following mods to function

Fandovec03-SpiderPositionFix
Host fixes for bunker spider. Fixes desync/separation between agent and mesh container. Client-side fix for the offset idle animation
Preferred version: 1.5.2
Fandovec03-NaturalSelectionLib
Personal Library with functions for getting, sorting and filtering enemies
Preferred version: 0.7.0
xilophor-LethalNetworkAPI
A library/API to allow developers to easily add networking to their mods.
Preferred version: 3.3.2README
Natural selection - food chains and ecosystems
Aimed to make the game's ecosystem feel more alive, immersive and semi-realistic.
The mod adds plenty of interactions between entities by modifying their behaviors, adding some and rewamping entities to make them feel more like an actual living organisms rather than just another dangerous liveforms trying to have a piece of you. Or if you just want enemies to kill eachother you can!
Config options
Many mechanics, behaviors an settings can be toggled and tweaked with config with wide variety of options.
Options include:
- Toggles to enable/disable behaviors
- Applied on loading the mod. Requires restart.
- Blacklists
- Automatically generated on booting up the game. Requires restart.
- Debug toggles
- Can be changed at runtime with config mods (LethalConfig, LethalSettings).
- For better bug reports, turn the toggles on when you encounter bugs or unexpected behaviors.
- Compatibilities
- Enhanced Monsters and SellbodiesFixed
- Rexuvination
Branches
Stable branch: Natural selection - food chains and ecosystems
Pre-release branch: Experimental Enemy Interactions
Currently supported entities:
Red bees (Circuit bees)
- Bees become aggressive and attack any animal or entity that get too close to their hive.
- Enraged bees swarm any enemy in their LOS to death!
- Special interaction: Bees have a chance to set Forest Keepers on fire!
Hygrodere (Blob)
- Hygrodere seeks and move to nearest organic matter whenever be it be living being or a corpse.
- Rapidly dissolves and consume the matter that makes contact with it.
Earth Leviathan (Sandworm)
- Leviathans actively seek and hunt any organism nearby.
- Does not hunt prey that is too small in size (Below the size of an employee).
Bunker Spider
- Spider investigates and hunts down creatures caught by it's webs
- Likes to hunt smaller enemies like hoarding bugs and snare fleas
Spider web
- Spider webs stick to and slow down entities passing through it.
- Alerts the spider.
Modified enemies:
Forest keeper:
- Forest Keepers have a chance to extinguish and survive being set on fire although severely weakened.
- Forest Keeper's corpse last longer on fire.
Unfinished and WIP:
TODO:
- Nutcracker
- Spore Lizard
- Hoarder bug
Report bugs on either Github issues or the Lethal company modding discord.
Credits:
- Zesa, TKronix, Swaggies: helping me figure out collision detection
- Hamunii: Helped fixing the variables
- EnzoTheProtogen: Reporting a bug
- TheShyestGuy: Bug reports
- Robyn and Xilophor: Pointing out flawed networking
- DiFFoZ: Finding the problem causing bees to turn invisible
- Quain808: Bug reports
- Lunxara: Playtesting and bug reports
CHANGELOG
Natural selection
0.4.6
- Redone ReXuvination patch for enemy colliders
- Modified enemy collider optimization with transpiller. Enemies will always collide with eachother.
- Modified debug logs
0.4.5
- Optimized and Delobotomized Earth Leviathan
0.4.4
- Fixed ReXuvination patch not working sometimes. Now patch prevents ReXuvination from patching enemy colliders.
0.4.3
- Fixed some supported mods not registering when not specified with BepInDependency attribute
0.4.2
- Updated config. Spider toggle is on by default instead of off.
0.4.1
- Fixed compatibility patches not loading automatically with the toggle on
- Added compatibility for LobbyCompatibility
0.4.0
Bunker spider released
- Spider webs stick to enemies and alert spider
- Investigates webs and chases prey. Returns back when the prey gets too far from the nest.
Added compatibility for SellbodiesFixed, Enhanced Monsters and ReXuvination
- Beware of slimes consuming your profits away!
Major Changes
- Added checks for enemy data structures
- Added custom enemy sizes
- Customizable in config file
Circuit Bees
- Circuit bees properly prioritize enemies holding its nest
Sandworms
- Sandworms ignores enemies by custom enemy size
Optimizations, Fixes and QoL
- Optimized networking with generics
- Added setting update interval of global enemy lists
- Updated library to newest version
- More optimized LOS check
- Deprecated usage of types
- Fixed spider webs throwing NREs when enemy is missing animator
- Fixed spider webs playing audio when it shouldn't
- Fixed spider webs getting triggered by dead enemies
- Updated logs
IMPORTANT
- Regenerate and check your config logs
0.3.0
Major changes
Added support for spider webs
- Spider webs slow down and stick to enemies passing through them
Configuration file rewamped
- Updated Layout and descriptions
- Added more options and variables
- Added automatically generating entries for blacklists and similar lists
- Generates on booting up the game or 2nd time on loading into lobby if some entries fail to generate
- Debug toggles update automatically if they're changed on runtime with LethalConfig/LethalSettings
Misc
- Updated description, readme, changelog and links
- Updated logs
- More logs are toggled with trigger flags bool
Bug fixes
- Fixed sandworm's networking connections and variables not being disposed of
- Fixed ememies colliding with blacklisted enemies
0.2.6
- Fixed bees throwing error when every enemy in LOS is killed
- Upgraded collision system. Bees and hygrodere now hit multiplle enemies they collide with
- Added config to log the library
- updated README
0.2.5
- Reupload because I forgot to upload a file. Woops
- Updated README
0.2.4
- Updated README
- Updated mod for newest Library version
- Finally fixed invisible bees!
- Enemies can now target enemies outside of their usual domain! Inside enemies can target outside enemies when outsise and vise versa
- Fixed bees not returning to beehives after chasing/killing enemy
- Global enemy lists get cleared at the end of rounds or when client disconnects
0.2.3
- Fixed and simplified config enabling enemy changes
- Updated README
0.2.2
- Fixed shit Networking implementation causing massive lag (Credit to Robyn and Xilo on Discord for pointing it out!)
- Updated logs
- edited README
0.2.1
- Fixed giants always set on fire
- Fixed Error spam on clients
- Small changes to networking which fixes lag
0.2.0
- Added networking
- Fixes desync and network related issues, mainly enemy sounds not playing on non-host clients
- Fixed sandworm eating non-host players inside the ship with the toggle on
- Fixed giants not using the extinguish chance from config
- Added blacklists to config
- Optimization on clients/server
0.1.5
- Fixed collisions returning NullReferenceException errors
- Added config for sandworms to not eat players inside leaving ship
- Updated logs and configs
0.1.4
- Fixed logs spamming you're on experimental version
- Added option to override vanilla sandworm collisions to possibly fix the lag when colliding with multiple enemies at once
0.1.3
- Implemented global enemy list.
- Fixed bees becoming invisible due to black magic (still dont know how).
- The mod no longer sets all colliders on enemies to be triggers.
- Hydrogires now move and consume dead corpses
- Many more config options
0.1.2
- Fixed logs
- Updated for NaturalSelectionLib 0.4.0
0.1.1
- Fixed NullReferenceException some logs
0.1.0
- Updated manifest, README and library integration
0.0.2
- Made less spammy logs
0.0.1
- Inital Upload