move invisibility to defines (#17612)

* move Invisibility to defines

* .

* .
This commit is contained in:
Kashargul
2025-04-27 16:47:53 +02:00
committed by GitHub
parent 58b214f1b3
commit f6a99359a9
92 changed files with 150 additions and 143 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
var/frequency = 1
hitscan = 1
embed_chance = 0
invisibility = 99 //beam projectiles are invisible as they are rendered by the effect engine
invisibility = INVISIBILITY_BADMIN //beam projectiles are invisible as they are rendered by the effect engine
light_range = 2
light_power = 0.5
light_color = "#FF0D00"
@@ -48,7 +48,7 @@
if("robot")
new_mob = new /mob/living/silicon/robot(M.loc)
new_mob.gender = M.gender
new_mob.invisibility = 0
new_mob.invisibility = INVISIBILITY_NONE
new_mob.job = JOB_CYBORG
var/mob/living/silicon/robot/Robot = new_mob
Robot.mmi = new /obj/item/mmi(new_mob)
+1 -1
View File
@@ -20,7 +20,7 @@
//"Tracing" projectile
/obj/item/projectile/test //Used to see if you can hit them.
invisibility = 101 //Nope! Can't see me!
invisibility = INVISIBILITY_ABSTRACT //Nope! Can't see me!
hitscan = TRUE
nodamage = TRUE
damage = 0