Jump to content

Worldgen's "distributeprefabs"


Recommended Posts

I'm trying to get rabbits and monkeys into the overground forest, and I have something like this:

AddRoomPreInit("DeepForest", function(self)
    	local distribution = self and self.contents and self.contents.distributeprefabs
		distribution.monkeybarrel = 0.00000035, 
		distribution.cave_banana_tree = 0.0000035, 
		distribution.rabbithouse = 0.000000000015, 
end)

And what I've noticed is that even with this infinitesimal amount, I am still getting this bizarre worldgen where bunches of rabbits and monkeys are spawned alongside the roads

8490047_ScreenShot2022-04-12at2_32_17PM.thumb.png.003e41c0f0b2fd70ba0dc668107612de.png

Does anyone know what I'm doing wrong with this and what the correct way to go about this is?

Edited by Bad Willow
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...