Allows most big object construction on lavaland again (#69781)

When I moved asterioid stuff off /floor, I neglected some logic that
blacklists building on non floors.
Given that this USED to work on you know, asteroid tiles, I think this
is build to catch space and such

So I replaced it with a closed check, and a turfs_without_ground
typecache use, which should serve the same intent

So you can like, you know, ash lizard again

I swear I was gonna do this earlier, just sorta forgot all about it
This commit is contained in:
LemonInTheDark
2022-09-11 20:26:57 -04:00
committed by GitHub
parent 70217b6b2c
commit 65aa4464a4
8 changed files with 161 additions and 157 deletions
+7 -3
View File
@@ -460,9 +460,13 @@
builder.balloon_alert(builder, "must be made on a tram!")
return FALSE
if(recipe.on_floor)
if(!isfloorturf(dest_turf))
builder.balloon_alert(builder, "must be made on a floor!")
if(recipe.on_solid_ground)
if(isclosedturf(dest_turf))
builder.balloon_alert(builder, "cannot be made on a wall!")
return FALSE
if(is_type_in_typecache(dest_turf, GLOB.turfs_without_ground))
builder.balloon_alert(builder, "must be made on solid ground!")
return FALSE
for(var/obj/object in dest_turf)