mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-28 07:20:09 +01:00
Add new chemicals (#5168)
Adds new drugs: -Red Nightshade: a drug that induce a berserk-like status, you see only red, can smash windows, stuns go away slower and etc -Paxazide: a medicine that induces pacifism on the target, like the mutation -Spectrocybin: a hallucinogenic that has a small chance of giving a glipse of the other hidden to mere mortals, can be found in a mushroom variety Adds a new secret chem: -Bottled Lightning: causes a tesla zap when in contact with someone's blood or when splashed on the ground Also removes some broken/unused plants.
This commit is contained in:
@@ -109,4 +109,46 @@
|
||||
var/mob/living/L = target
|
||||
if(L.fire_stacks)
|
||||
return 1
|
||||
return 0
|
||||
return 0
|
||||
|
||||
//Berserk Modifier
|
||||
//Causes a hulk like effect
|
||||
|
||||
/datum/modifier/berserk
|
||||
var/last_shock_stage = 0
|
||||
|
||||
/datum/modifier/berserk/activate()
|
||||
..()
|
||||
if(ishuman(target))
|
||||
var/mob/living/carbon/human/H = target
|
||||
to_chat(H, "<span class='danger'>An uncontrollable rage overtakes your thoughts!</span>")
|
||||
H.add_client_color(/datum/client_color/berserk)
|
||||
|
||||
last_shock_stage = H.shock_stage
|
||||
H.shock_stage = 0
|
||||
|
||||
H.SetParalysis(0)
|
||||
H.SetStunned(0)
|
||||
H.SetWeakened(0)
|
||||
H.setHalLoss(0)
|
||||
H.lying = 0
|
||||
H.update_canmove()
|
||||
|
||||
/datum/modifier/berserk/process()
|
||||
if(..())
|
||||
if(ishuman(target))
|
||||
var/mob/living/carbon/human/H = target
|
||||
H.drowsyness = max(H.drowsyness - 5, 0)
|
||||
H.AdjustParalysis(-1)
|
||||
H.AdjustStunned(-1)
|
||||
H.AdjustWeakened(-1)
|
||||
H.adjustHalLoss(-1)
|
||||
|
||||
/datum/modifier/berserk/deactivate()
|
||||
..()
|
||||
if(ishuman(target))
|
||||
var/mob/living/carbon/human/H = target
|
||||
to_chat(H, "<span class='danger'>Your rage fades away, your thoughts are clear once more!</span>")
|
||||
H.remove_client_color(/datum/client_color/berserk)
|
||||
|
||||
H.shock_stage = last_shock_stage
|
||||
Reference in New Issue
Block a user