mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 08:03:43 +01:00
[GBP no update] Excludes maint drones from solar flare damage (#17882)
* adds exceptions to maint drones to solar flare
* applies to all sillycones
* Revert "applies to all sillycones"
This reverts commit f92c703bd4.
This commit is contained in:
@@ -42,6 +42,8 @@
|
||||
return TRUE
|
||||
if(istype(L, /mob/living/simple_animal)) //while this might break immersion, I don't want to spam the server with calling this on simplemobs
|
||||
return FALSE
|
||||
if(istype(L, /mob/living/silicon/robot/drone)) //same with poor maint drones who just wanna have fun
|
||||
return FALSE
|
||||
for(var/turf/T in oview(get_turf(L)))
|
||||
if(isspaceturf(T) || istransparentturf(T))
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user