From 52ea5c5c63e330782e1c3c830e83c4c4e40a3be4 Mon Sep 17 00:00:00 2001 From: KorPhaeron Date: Mon, 18 Jan 2016 22:09:00 -0600 Subject: [PATCH] Ranged Guardian --- .../mob/living/simple_animal/guardian/guardian.dm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/code/modules/mob/living/simple_animal/guardian/guardian.dm b/code/modules/mob/living/simple_animal/guardian/guardian.dm index be62cfce185..e74ac815afa 100644 --- a/code/modules/mob/living/simple_animal/guardian/guardian.dm +++ b/code/modules/mob/living/simple_animal/guardian/guardian.dm @@ -436,6 +436,8 @@ playstyle_string = "As a ranged type, you have only light damage resistance, but are capable of spraying shards of crystal at incredibly high speed. You can also deploy surveillance snares to monitor enemy movement. Finally, you can switch to scout mode, in which you can't attack, but can move without limit." magic_fluff_string = "..And draw the Sentinel, an alien master of ranged combat." tech_fluff_string = "Boot sequence complete. Ranged combat modules active. Holoparasite swarm online." + see_invisible = SEE_INVISIBLE_MINIMUM + see_in_dark = 8 var/list/snares = list() var/toggle = FALSE @@ -462,6 +464,14 @@ else src << "You have to be recalled to toggle modes!" +/mob/living/simple_animal/hostile/guardian/ranged/ToggleLight() + if(see_in_dark) + src << "You deactivate your night vision." + see_in_dark = 0 + else + src << "You activate your night vision." + see_in_dark = 8 + /mob/living/simple_animal/hostile/guardian/ranged/verb/Snare() set name = "Set Surveillance Trap" set category = "Guardian"