Makes Runes actually invisible to AIs (#22947)

This commit is contained in:
GDN
2023-10-20 20:15:58 +01:00
committed by GitHub
parent f01a25ee5d
commit f70490d8d0
2 changed files with 2 additions and 6 deletions
+2 -1
View File
@@ -27,6 +27,7 @@ To draw a rune, use a ritual dagger.
mouse_opacity = MOUSE_OPACITY_OPAQUE // So that runes aren't so hard to click
var/visibility = 0
var/view_range = 7
invisibility = 25
layer = SIGIL_LAYER
color = COLOR_BLOOD_BASE
@@ -126,7 +127,7 @@ To draw a rune, use a ritual dagger.
alpha = 100 //To help ghosts distinguish hidden runes
/obj/effect/rune/cult_reveal() //for revealing spell
invisibility = 0
invisibility = initial(invisibility)
visible_message("<span class='danger'>[src] suddenly appears!</span>")
alpha = initial(alpha)
@@ -1,10 +1,5 @@
/mob/living/silicon/ai/Login() //ThisIsDumb(TM) TODO: tidy this up _ ~Carn
..()
for(var/obj/effect/rune/rune in world)
var/image/blood = image(loc = rune)
blood.override = 1
client.images += blood
regenerate_icons()
if(stat != DEAD)
for(var/obj/machinery/ai_status_display/O as anything in GLOB.ai_displays) //change status