Jump to content

Recommended Posts

Hey there friends, so I'm trying to do an underground waterlogged biome with a giant tree in the middle growing out from the abyss. I currently have the code of the setpiece like this and the room like this. I used a noise tile function is to fool the worldgen into not removing the prefab despite it being on an impassable tile.

 

layout = {
	watertree_pillar = {{x = 0, y = 0}}, 
}, 
ground_types = {
	MakeNoise("mm_green_fakeground", function()
		return WORLD_TILES.IMPASSABLE
	end)
}, 
ground = {
	{1, 1, 1}, 
	{1, 1, 1}, 
	{1, 1, 1}, 
},

Screenshot2025-01-17at2_54_28PM.png.77a7144ee6710bad1549d131274b1ee4.png

 

However, when I walk towards the giant tree, I am able to walk onto the impassable tiles. I think this is because the world still remembering the tile as a walkable tile? Would anyone have ideas on how to execute this idea more correctly? Many thanks in advance!

Edited by skittles sour

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
×
  • Create New...