mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user