mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 14:00:18 +01:00
Zeng Hu Augments: 'I Never Asked for This' Edition (#11360)
This commit is contained in:
@@ -178,7 +178,7 @@
|
||||
if(actual_charges > 0)
|
||||
addtimer(CALLBACK(src, .proc/disarm), recharge_time MINUTES)
|
||||
if(is_broken())
|
||||
visible_message(SPAN_DANGER("\The [owner] crackles with energy!"))
|
||||
owner.visible_message(SPAN_DANGER("\The [owner] crackles with energy!"))
|
||||
playsound(owner, 'sound/magic/LightningShock.ogg', 75, 1)
|
||||
tesla_zap(owner, 7, 1500)
|
||||
|
||||
@@ -197,7 +197,7 @@
|
||||
if(!.)
|
||||
return FALSE
|
||||
|
||||
visible_message(SPAN_DANGER("\The [owner] crackles with energy!"))
|
||||
owner.visible_message(SPAN_DANGER("\The [owner] crackles with energy!"))
|
||||
playsound(owner, 'sound/magic/LightningShock.ogg', 75, 1)
|
||||
tesla_zap(owner, 7, 1500)
|
||||
|
||||
@@ -207,6 +207,7 @@
|
||||
cooldown = 25
|
||||
activable = TRUE
|
||||
organ_tag = BP_AUG_EYE_SENSORS
|
||||
parent_organ = BP_HEAD
|
||||
action_button_name = "Toggle Eye Sensors"
|
||||
var/active_hud = "disabled"
|
||||
|
||||
@@ -353,4 +354,164 @@
|
||||
name = "psionic receiver"
|
||||
desc = "An augment installed into the head that functions as a surrogate for a missing zona bovinae, also functioning as a filter for the psionically-challenged."
|
||||
organ_tag = BP_AUG_PSI
|
||||
parent_organ = BP_HEAD
|
||||
|
||||
/obj/item/organ/internal/augment/memory_inhibitor
|
||||
name = "memory inhibitor"
|
||||
desc = "A Zeng Hu implant that allows one to have control over their memories, allowing you to set a timer and remove any memories developed within it. This is most popular in Zeng Hu labs within Eridani."
|
||||
icon_state = "memory_inhibitor"
|
||||
organ_tag = BP_AUG_MEMORY
|
||||
parent_organ = BP_HEAD
|
||||
activable = TRUE
|
||||
cooldown = 20
|
||||
action_button_icon = "memory_inhibitor"
|
||||
action_button_name = "Activate Memory Inhibitor"
|
||||
var/ready_to_erase = FALSE
|
||||
|
||||
/obj/item/organ/internal/augment/memory_inhibitor/attack_self(var/mob/user)
|
||||
. = ..()
|
||||
|
||||
if(!.)
|
||||
return FALSE
|
||||
|
||||
if(!ready_to_erase)
|
||||
to_chat(owner, SPAN_NOTICE("Your memories following this point will be deleted on the following activation."))
|
||||
ready_to_erase = TRUE
|
||||
else
|
||||
to_chat(owner, SPAN_WARNING("You do not recall the events since the last time you activated your memory inhibitor!"))
|
||||
ready_to_erase = FALSE
|
||||
|
||||
/obj/item/organ/internal/augment/memory_inhibitor/do_broken_act()
|
||||
if(owner)
|
||||
to_chat(owner, SPAN_WARNING("You forgot everything that happened today!"))
|
||||
return TRUE
|
||||
|
||||
/obj/item/organ/internal/augment/memory_inhibitor/emp_act(severity)
|
||||
..()
|
||||
if(prob(25))
|
||||
do_broken_act()
|
||||
|
||||
/obj/item/organ/internal/augment/emotional_manipulator
|
||||
name = "emotional manipulator"
|
||||
desc = "A Zeng Hu brain implant to manipulate the brain's chemicals to induce a calming or happy feeling. This is one of the most popular implants across the company."
|
||||
icon_state = "emotional_manipulator"
|
||||
organ_tag = BP_AUG_EMOTION
|
||||
parent_organ = BP_HEAD
|
||||
action_button_name = "Activate Emotional Manipulator"
|
||||
activable = TRUE
|
||||
action_button_icon = "emotional_manipulator"
|
||||
cooldown = 10
|
||||
var/set_emotion = "Disabled"
|
||||
|
||||
var/list/possible_emotions = list(
|
||||
"Disabled",
|
||||
"Happiness",
|
||||
"Calmness")
|
||||
|
||||
/obj/item/organ/internal/augment/emotional_manipulator/attack_self(var/mob/user)
|
||||
. = ..()
|
||||
|
||||
if(!.)
|
||||
return FALSE
|
||||
|
||||
var/choice = input("Select the Emotional Choice.", "Emotional Manipulator") as null|anything in capitalize_list(possible_emotions)
|
||||
|
||||
set_emotion = lowertext(choice)
|
||||
|
||||
/obj/item/organ/internal/augment/emotional_manipulator/process()
|
||||
..()
|
||||
|
||||
if(!owner)
|
||||
return
|
||||
|
||||
if(prob(1))
|
||||
|
||||
switch(set_emotion)
|
||||
|
||||
if("Happiness")
|
||||
|
||||
to_chat(owner, SPAN_NOTICE("You feel happy."))
|
||||
|
||||
if("Calmness")
|
||||
to_chat(owner, SPAN_NOTICE("You feel calm."))
|
||||
|
||||
if(is_broken())
|
||||
do_broken_act()
|
||||
|
||||
/obj/item/organ/internal/augment/emotional_manipulator/do_broken_act()
|
||||
if(owner)
|
||||
owner.hallucination += 20
|
||||
return TRUE
|
||||
|
||||
|
||||
/obj/item/organ/internal/augment/enhanced_vision
|
||||
name = "vision enhanced retinas"
|
||||
desc = "Zeng Hu implants given to EMTs to assist with finding the injured. These eye implants allow one to see further than you normally could."
|
||||
icon_state = "enhanced_vision"
|
||||
organ_tag = BP_AUG_ENCHANED_VISION
|
||||
parent_organ = BP_HEAD
|
||||
action_button_name = "Activate Vision Enhanced Retinas"
|
||||
action_button_icon = "enhanced_vision"
|
||||
cooldown = 30
|
||||
activable = TRUE
|
||||
|
||||
/obj/item/organ/internal/augment/enhanced_vision/Initialize()
|
||||
. = ..()
|
||||
set_light(3, 2, LIGHT_COLOR_TUNGSTEN, uv = 0, angle = LIGHT_WIDE)
|
||||
|
||||
/obj/item/organ/internal/augment/enhanced_vision/attack_self(var/mob/user)
|
||||
. = ..()
|
||||
|
||||
if(!.)
|
||||
return FALSE
|
||||
|
||||
zoom(owner,7,3, FALSE)
|
||||
|
||||
/obj/item/organ/internal/augment/enhanced_vision/emp_act(severity)
|
||||
..()
|
||||
var/obj/item/organ/internal/eyes/E = owner.get_eyes()
|
||||
if(!E)
|
||||
return
|
||||
E.take_damage(5)
|
||||
|
||||
/obj/item/organ/internal/augment/sightlights
|
||||
name = "ocular installed sightlights "
|
||||
desc = "Designed to assist medical personnel in darker areas or places experiencing periodic power issues, Sightlights will allow one to be able to use their eyes as a flashlight."
|
||||
icon_state = "sightlights"
|
||||
organ_tag = BP_AUG_SIGHTLIGHTS
|
||||
parent_organ = BP_HEAD
|
||||
action_button_name = "Activate Ocular Installed Sightlights "
|
||||
action_button_icon = "sightlights"
|
||||
cooldown = 30
|
||||
activable = TRUE
|
||||
var/lights_on = FALSE
|
||||
|
||||
/obj/item/organ/internal/augment/sightlights/attack_self(var/mob/user)
|
||||
. = ..()
|
||||
|
||||
if(!.)
|
||||
return FALSE
|
||||
|
||||
if(lights_on)
|
||||
set_light(5, 2, LIGHT_COLOR_TUNGSTEN, uv = 0, angle = LIGHT_WIDE)
|
||||
else
|
||||
set_light(0)
|
||||
|
||||
/obj/item/organ/internal/augment/sightlights/emp_act(severity)
|
||||
..()
|
||||
set_light(0)
|
||||
|
||||
/obj/item/organ/internal/augment/sightlights/take_damage(var/amount, var/silent = 0)
|
||||
..()
|
||||
set_light(0)
|
||||
|
||||
/obj/item/organ/internal/augment/sightlights/take_internal_damage(var/amount, var/silent = 0)
|
||||
..()
|
||||
set_light(0)
|
||||
|
||||
/obj/item/organ/internal/augment/zenghu_plate
|
||||
name = "zeng-hu veterancy plate "
|
||||
desc = " A clear sign of Zeng-Hu's best, this plate bearing the company's symbol is installed on those who prove themselves in the hyper-competitive environment."
|
||||
icon_state = "zenghu_plate"
|
||||
on_mob_icon = 'icons/mob/human_races/augments_external.dmi'
|
||||
parent_organ = BP_HEAD
|
||||
Reference in New Issue
Block a user