Iceblock flora generation fixes (#83450)

Fixes #83438

🆑 ShizCalev
fix: Trees will no longer be growing through railings on forest planets
fix: Trees/plants will no longer grow through wood pathways on Icebox
fix: Railings will no longer appear ontop of rock walls on icebox
/🆑

Old:

![image](https://github.com/tgstation/tgstation/assets/6209658/094c1708-ac4a-4e1a-acff-9d308a376476)

Fixed:

![image](https://github.com/tgstation/tgstation/assets/6209658/16c0af8b-4293-4b53-98b7-14093244447a)
This commit is contained in:
Afevis
2024-05-29 16:05:49 -04:00
committed by GitHub
parent a35d13fca1
commit 54f9ea034c
9 changed files with 98 additions and 43 deletions

View File

@@ -108,7 +108,7 @@
//Checks and Rejects dense turfs
/datum/map_generator_module/proc/checkPlaceAtom(turf/T)
if(!T)
if(!T || (T.turf_flags & TURF_BLOCKS_POPULATE_TERRAIN_FLORAFEATURES))
return FALSE
if(T.density)
return FALSE