This commit is contained in:
Wowzewow (Wezzy)
2023-05-05 03:21:55 +00:00
committed by GitHub
parent 114bc9288d
commit 217c9a4b69
2 changed files with 51 additions and 4 deletions
+10 -4
View File
@@ -81,10 +81,16 @@
shading_icon = new('icons/obj/structure/flags.dmi', "flag")
flag_icon.Blend(shading_icon, ICON_MULTIPLY)
var/turf/T = get_step(loc, dir)
if(!iswall(T))
banner_icon = new('icons/obj/structure/flags.dmi', "banner_stand")
flag_icon.Blend(banner_icon, ICON_UNDERLAY)
verbs += /obj/structure/sign/flag/proc/toggle
if(iswall(T))
icon = flag_icon
return
for(var/obj/A in T)
if(istype(A, /obj/structure/window))
icon = flag_icon
return
banner_icon = new('icons/obj/structure/flags.dmi', "banner_stand")
flag_icon.Blend(banner_icon, ICON_UNDERLAY)
verbs += /obj/structure/sign/flag/proc/toggle
icon = flag_icon
/obj/item/flag/attack_self(mob/user)