It should be possible to get WorldTree data, including Region data needed to know the type of region the player is in.
I think it would be useful to have a function like region_at_pos(x,y) that returns the Region where the player is by traversing the BSP tree.
It should be possible to get WorldTree data, including Region data needed to know the type of region the player is in.
I think it would be useful to have a function like
region_at_pos(x,y)that returns the Region where the player is by traversing the BSP tree.