From bdbff7a90a56ff89d9f6512dfc2d6372ffe698d3 Mon Sep 17 00:00:00 2001 From: Moltov <61367602+Moltovz@users.noreply.github.com> Date: Mon, 5 Sep 2022 14:24:50 -0400 Subject: [PATCH] Im helping removed applyinateeffects, after_spawn grants dash instead. Dash is not working, --- .../code/modules/jobs/job_types/lambent_aspect.dm | 2 +- hyperstation/code/modules/jobs/job_types/security.dm | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/hyperstation/code/modules/jobs/job_types/lambent_aspect.dm b/hyperstation/code/modules/jobs/job_types/lambent_aspect.dm index 634acd6f9..c9d833a59 100644 --- a/hyperstation/code/modules/jobs/job_types/lambent_aspect.dm +++ b/hyperstation/code/modules/jobs/job_types/lambent_aspect.dm @@ -52,7 +52,7 @@ else return FALSE -/datum/action/innate/lambent/dash/proc/Teleport(mob/user, atom/target) +/datum/action/innate/lambent/dash/proc/Teleport(mob/user, atom/target) //Mordecai and Rigby get this code working or you are FIRED! if(!IsAvailable()) return var/turf/T = get_turf(target) diff --git a/hyperstation/code/modules/jobs/job_types/security.dm b/hyperstation/code/modules/jobs/job_types/security.dm index d57d757cb..687000caf 100644 --- a/hyperstation/code/modules/jobs/job_types/security.dm +++ b/hyperstation/code/modules/jobs/job_types/security.dm @@ -1,9 +1,10 @@ /* Lambent */ +/* /datum/job/lambent/New() var/datum/action/innate/lambent/dash/dash = new - +*/ //we dont need this -V /datum/job/lambent title = "Lambent" flag = LAMBENT @@ -58,10 +59,11 @@ Lambent implants = list(/obj/item/implant/mindshield) -/* -/datum/job/lambent/after_spawn(mob/living/H, mob/M) - apply_innate_effects() +/datum/job/lambent/after_spawn(mob/living/H, mob/M) + var/datum/action/innate/lambent/dash/dash = new + dash.Grant(H) +/* /datum/job/lambent/proc/on_body_transfer(mob/living/old_body, mob/living/new_body) remove_innate_effects(old_body) apply_innate_effects(new_body) @@ -76,3 +78,4 @@ Lambent . = ..() dash.Remove(H) */ +//these are for antagonist -V