-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
533180f
commit 00b951a
Showing
5 changed files
with
105 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// Hallucinogens | ||
/datum/addiction/hallucinogens | ||
name = "Hallucinogens" | ||
withdrawal_stage_messages = list("I feel so empty...", "I wonder what the machine elves are up to?..", "I need to see the beautiful colors again!!") | ||
|
||
/datum/addiction/hallucinogens/WithdrawalStage1Process(mob/living/carbon/victim, delta_time) | ||
. = ..() | ||
if(prob(15)) | ||
victim.emote(pick("twitch", "drool")) | ||
|
||
/datum/addiction/hallucinogens/WithdrawalStage2Process(mob/living/carbon/victim, delta_time) | ||
. = ..() | ||
victim.hallucination(20, 20) | ||
if(prob(4)) | ||
victim.Weaken(3) | ||
to_chat(victim, SPAN_WARNING("You feel as if your legs fell off...")) | ||
else if(prob(2)) | ||
victim.Paralyse(2) | ||
to_chat(victim, SPAN_DANGER(pick("The voices won't stop!!", "Ugh, it's too difficult to stay awake...", "What is going on?!"))) | ||
|
||
/datum/addiction/hallucinogens/WithdrawalStage3Process(mob/living/carbon/victim, delta_time) | ||
. = ..() | ||
victim.hallucination(50, 50) | ||
victim.eye_blurry = clamp(victim.eye_blurry + 3 * delta_time, victim.eye_blurry, 50) | ||
if(prob(6)) | ||
victim.Weaken(6) | ||
to_chat(victim, SPAN_WARNING("Your legs feel unreal...")) | ||
else if(prob(2)) | ||
victim.Paralyse(4) | ||
to_chat(victim, SPAN_DANGER(pick("The voices won't stop!!", "Ugh, it's too difficult to stay awake...", "What is going on?!"))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// Psionics | ||
/datum/addiction/psionics | ||
name = "psionics" | ||
withdrawal_stage_messages = list("My mind aches.", "My mind wants more power...", "My head will explode! I need more power!") | ||
|
||
/datum/addiction/psionics/WithdrawalStage1Process(mob/living/carbon/victim, delta_time) | ||
. = ..() | ||
// Deplete the psi stamina | ||
if(victim.psi && victim.psi.stamina > 5) | ||
victim.psi.spend_power(0.5 * delta_time) | ||
|
||
/datum/addiction/psionics/WithdrawalStage2Process(mob/living/carbon/victim, delta_time) | ||
. = ..() | ||
if(victim.psi && victim.psi.stamina > 5) | ||
victim.psi.spend_power(1 * delta_time) | ||
victim.adjustBrainLoss(1 * delta_time) | ||
victim.hallucination(10, 50) | ||
|
||
/datum/addiction/psionics/WithdrawalStage3Process(mob/living/carbon/victim, delta_time) | ||
. = ..() | ||
if(victim.psi && victim.psi.stamina > 5) | ||
victim.psi.spend_power(2 * delta_time) | ||
victim.adjustBrainLoss(2 * delta_time) | ||
victim.hallucination(30, 100) | ||
|
||
/datum/addiction/psionics/LoseAddiction(mob/living/carbon/victim) | ||
// BLAST THEM!!! | ||
if(victim.psi) | ||
victim.psi.spend_power(victim.psi.stamina) | ||
return ..() |