Back to the point of entry.

This commit is contained in:
Useroth
2019-04-28 06:21:03 +02:00
parent 41a8177f34
commit 56b2e7150c
5 changed files with 14 additions and 3 deletions

View File

@@ -4,7 +4,7 @@
icon_state = "generic" //Shows up as the action button icon
actions_types = list(/datum/action/item_action/hands_free/activate)
var/activated = TRUE //1 for implant types that can be activated, 0 for ones that are "always on" like mindshield implants
var/mob/living/imp_in = null
var/mob/living/carbon/imp_in = null //It's not like simplemobs or silicons can use implants anyway.
item_color = "b"
var/allow_multiple = FALSE
var/uses = -1

View File

@@ -40,12 +40,16 @@
imp_in.SetUnconscious(0)
imp_in.adjustStaminaLoss(-150)
imp_in.stuttering = 0
imp_in.updatehealth()
imp_in.update_stamina()
imp_in.resting = 0
imp_in.lying = 0
imp_in.update_canmove()
imp_in.reagents.add_reagent("synaptizine", 10)
imp_in.reagents.add_reagent("omnizine", 10)
imp_in.reagents.add_reagent("stimulants", 10)
if(!uses)
qdel(src)

View File

@@ -11,7 +11,7 @@
action_background_icon_state = "bg_ling"
//Recover from stuns.
/obj/effect/proc_holder/changeling/adrenaline/sting_action(mob/living/user)
/obj/effect/proc_holder/changeling/adrenaline/sting_action(mob/living/carbon/user)
to_chat(user, "<span class='notice'>Energy rushes through us.[user.lying ? " We arise." : ""]</span>")
user.SetSleeping(0)
user.SetUnconscious(0)
@@ -21,7 +21,11 @@
user.reagents.add_reagent("changelinghaste", 2) //For a really quick burst of speed
user.adjustStaminaLoss(-150)
user.stuttering = 0
user.updatehealth()
user.update_stamina()
user.resting = 0
user.lying = 0
user.update_canmove()
return TRUE

View File

@@ -10,7 +10,10 @@
H.SetUnconscious(0)
H.adjustStaminaLoss(-150)
H.stuttering = 0
H.updatehealth()
H.update_stamina()
H.resting = 0
H.lying = 0
H.update_canmove()
H.reagents.add_reagent("synaptizine", 10)
@@ -18,6 +21,7 @@
H.reagents.add_reagent("stimulants", 10)
H.say(pick("A CORNERED FOX IS MORE DANGEROUS THAN A JACKAL!","HURT ME MOOORRREEE!","IMPRESSIVE!"), forced = "ninjaboost")
a_boost--
to_chat(H, "<span class='notice'>There are <B>[a_boost]</B> adrenaline boosts remaining.</span>")
s_coold = 3

View File

@@ -9,7 +9,6 @@
// END_FILE_DIR
// BEGIN_PREFERENCES
#define DEBUG
// END_PREFERENCES
// BEGIN_INCLUDE