RedMew
RedMew copied to clipboard
Increase Biter aggression in Diggy
Currently the only reliable way to have biters spawn and attack, is when digging. MewMew implemented a spawning mechanism for cave miner that spawns biter waves when it's dark. Perhaps we can do something similar to make defenses mandatory?
I just had a look at mewmews code. It seems he is checking for light around the player, and sets an "danger-level" on the player. After that he spawns biters near players if their danger level is above 4.
It's an okay clever solution, but I think the idea of scanning all loaded chunks for light, and spawning biters if it's dark/no or few lamps in chunk is a better idea that'll expose larger parts of the base.
I was thinking of doing just that but per chunk but scanning them would classify them. The problem is that I need to mark a chunk for re-scan if it's frequently changing so I have no idea how to do that just yet 😅