diff --git a/code/game/objects/structures/signs.dm b/code/game/objects/structures/signs.dm
index 1a4ce2130e3..505e94c0905 100644
--- a/code/game/objects/structures/signs.dm
+++ b/code/game/objects/structures/signs.dm
@@ -614,14 +614,13 @@
if (!adjacent)
return
- var/turf/W = A
- if (!iswall(W) || !isturf(user.loc))
- to_chat(user, "You can't place this here!")
+ if((!iswall(A) && !istype(A, /obj/structure/window)) || !isturf(user.loc))
+ to_chat(user, span("warning","You can't place this here!"))
return
- var/placement_dir = get_dir(user, W)
+ var/placement_dir = get_dir(user, A)
if (!(placement_dir in cardinal))
- to_chat(user, "You must stand directly in front of the wall you wish to place that on.")
+ to_chat(user, span("warning","You must stand directly in front of the location you wish to place that on."))
return
var/obj/structure/sign/flag/P = new(user.loc)
@@ -666,14 +665,12 @@
/obj/structure/sign/flag/attack_hand(mob/user as mob)
-
- if(alert("Do you want to rip \the [src] from the wall?","You think...","Yes","No") == "Yes")
+ if(alert("Do you want to rip \the [src] from its place?","You think...","Yes","No") == "Yes")
if(!do_after(user, 2 SECONDS, act_target = src))
return 0
-
- visible_message("\The [user] rips \the [src] in a single, decisive motion!" )
+ visible_message(span("warning","\The [user] rips \the [src] in a single, decisive motion!" ))
playsound(src.loc, 'sound/items/poster_ripped.ogg', 100, 1)
icon_state = "poster_ripped"
name = "ripped poster"
@@ -685,11 +682,11 @@
if(istype(W, /obj/item/flame/lighter))
- visible_message("\The [user] starts to burn \the [src] down!")
+ visible_message(span("warning","\The [user] starts to burn \the [src] down!"))
if(!do_after(user, 2 SECONDS, act_target = src))
return 0
- visible_message("\The [user] burns \the [src] down!")
+ visible_message(span("warning","\The [user] burns \the [src] down!"))
playsound(src.loc, 'sound/items/cigs_lighters/zippo_on.ogg', 100, 1)
new /obj/effect/decal/cleanable/ash(src.loc)
diff --git a/html/changelogs/Ferner-191210-coding_windowflags.yml b/html/changelogs/Ferner-191210-coding_windowflags.yml
new file mode 100644
index 00000000000..72ac57d7338
--- /dev/null
+++ b/html/changelogs/Ferner-191210-coding_windowflags.yml
@@ -0,0 +1,5 @@
+author: Ferner
+delete-after: True
+
+changes:
+ - tweak: "Flags can now be placed onto windows directly."