RedMew icon indicating copy to clipboard operation
RedMew copied to clipboard

Increase Biter aggression in Diggy

Open linaori opened this issue 6 years ago • 2 comments

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?

linaori avatar Nov 10 '18 11:11 linaori

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.

SimonFlapse avatar Nov 17 '18 23:11 SimonFlapse

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 😅

linaori avatar Nov 18 '18 10:11 linaori