Skip to content

Commit

Permalink
No window frames
Browse files Browse the repository at this point in the history
  • Loading branch information
Drulikar committed Jun 30, 2023
1 parent 1d618b8 commit 9fd4faa
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@
to_chat(xeno, SPAN_WARNING("These weeds are too strong to plant a node on!"))
return

var/obj/structure/window_frame/window = locate() in turf
if(window && window.density)
to_chat(xeno, SPAN_WARNING("You can't do that here."))
return

var/area/area = get_area(turf)
if(isnull(area) || !(area.is_resin_allowed))
if(area.flags_area & AREA_UNWEEDABLE)
Expand Down

0 comments on commit 9fd4faa

Please sign in to comment.