From d30b6cc5165a4c8821796a6d76b2740e860a5ec6 Mon Sep 17 00:00:00 2001 From: forest2001 Date: Sat, 2 Mar 2024 19:49:03 +0000 Subject: [PATCH] Lighting and admin infect --- code/modules/borer/borer.dm | 3 ++- code/modules/borer/borer_procs.dm | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/code/modules/borer/borer.dm b/code/modules/borer/borer.dm index 656c6a8992c0..0762e99f5b34 100644 --- a/code/modules/borer/borer.dm +++ b/code/modules/borer/borer.dm @@ -94,12 +94,13 @@ GLOBAL_LIST_EMPTY(living_borers) density = 0 pass_flags = PASS_FLAGS_CRAWLER mob_size = MOB_SIZE_SMALL - faction = list("creature") + faction = "Cortical" hud_possible = list(HEALTH_HUD,STATUS_HUD) universal_understand = TRUE holder_type = /obj/item/holder/borer special_mob = TRUE //shows up in own observe category + lighting_alpha = 200 var/generation = 1 var/stealthy = FALSE diff --git a/code/modules/borer/borer_procs.dm b/code/modules/borer/borer_procs.dm index 0bba38516061..d293a2e68bc3 100644 --- a/code/modules/borer/borer_procs.dm +++ b/code/modules/borer/borer_procs.dm @@ -875,3 +875,6 @@ if(cur_mob.client) // Send to observers to_chat(cur_mob, SPAN_XOOC("Cortical Impulse: [src.key]([src.admin_holder.rank]): [msg]")) +/mob/living/carbon/human/proc/make_borer_host(worm_generation = 1, worm_repro = 1) + var/mob/living/carbon/cortical_borer/birthed = new /mob/living/carbon/cortical_borer(src, worm_generation, TRUE, worm_repro) + birthed.perform_infestation(src)