Merge branch 'master' into FERMICHEMCurTweaks
This commit is contained in:
@@ -262,8 +262,7 @@
|
||||
// owner.remove_status_effect(src)//At the moment, a user can enthrall themselves, toggle this back in if that should be removed.
|
||||
redirect_component = WEAKREF(owner.AddComponent(/datum/component/redirect, list(COMSIG_LIVING_RESIST = CALLBACK(src, .proc/owner_resist)))) //Do resistance calc if resist is pressed#
|
||||
RegisterSignal(owner, COMSIG_MOVABLE_HEAR, .proc/owner_hear)
|
||||
var/obj/item/organ/brain/B = M.getorganslot(ORGAN_SLOT_BRAIN) //It's their brain!
|
||||
mental_capacity = 500 - B.get_brain_damage()
|
||||
mental_capacity = 500 - M.getOrganLoss(ORGAN_SLOT_BRAIN)//It's their brain!
|
||||
var/mob/living/carbon/human/H = owner
|
||||
if(H)//Prefs
|
||||
if(!H.canbearoused)
|
||||
@@ -366,7 +365,7 @@
|
||||
if(owner.client?.prefs.lewdchem && !customEcho)
|
||||
to_chat(owner, "<span class='love'><i>[pick("I belong to [enthrallGender].", "[enthrallGender] knows whats best for me.", "Obedence is pleasure.", "I exist to serve [enthrallGender].", "[enthrallGender] is so dominant, it feels right to obey them.")].</i></span>")
|
||||
if (4) //mindbroken
|
||||
if (mental_capacity >= 499 && (owner.getBrainLoss() <=0 || HAS_TRAIT(M, TRAIT_MINDSHIELD)) && !owner.reagents.has_reagent("MKUltra"))
|
||||
if (mental_capacity >= 499 && (owner.getOrganLoss(ORGAN_SLOT_BRAIN) <=0 || HAS_TRAIT(M, TRAIT_MINDSHIELD)) && !owner.reagents.has_reagent("MKUltra"))
|
||||
phase = 2
|
||||
mental_capacity = 500
|
||||
customTriggers = list()
|
||||
@@ -405,8 +404,8 @@
|
||||
M.hallucination = max(0, M.hallucination - 5)
|
||||
M.stuttering = max(0, M.stuttering - 5)
|
||||
M.jitteriness = max(0, M.jitteriness - 5)
|
||||
if(owner.getBrainLoss() >=20)
|
||||
owner.adjustBrainLoss(-0.2)
|
||||
if(owner.getOrganLoss(ORGAN_SLOT_BRAIN) >=20)
|
||||
owner.adjustOrganLoss(ORGAN_SLOT_BRAIN, -0.2)
|
||||
if(withdrawal == TRUE)
|
||||
REMOVE_TRAIT(owner, TRAIT_PACIFISM, "MKUltra")
|
||||
SEND_SIGNAL(M, COMSIG_CLEAR_MOOD_EVENT, "EnthMissing1")
|
||||
@@ -427,7 +426,7 @@
|
||||
if(prob(5))
|
||||
to_chat(owner, "<span class='notice'><i>You're starting to miss [(owner.client?.prefs.lewdchem?"your [enthrallGender]":"[master]")].</i></span>")
|
||||
if(prob(5))
|
||||
owner.adjustBrainLoss(0.1)
|
||||
owner.adjustOrganLoss(ORGAN_SLOT_BRAIN, 0.1)
|
||||
to_chat(owner, "<i>[(owner.client?.prefs.lewdchem?"[enthrallGender]":"[master]")] will surely be back soon</i>") //denial
|
||||
if(36)
|
||||
var/message = "[(owner.client?.prefs.lewdchem?"I feel empty when [enthrallGender]'s not around..":"I miss [master]'s presence")]"
|
||||
@@ -435,11 +434,11 @@
|
||||
if(37 to 65)//barganing
|
||||
if(prob(10))
|
||||
to_chat(owner, "<i>They are coming back, right...?</i>")
|
||||
owner.adjustBrainLoss(0.5)
|
||||
owner.adjustOrganLoss(ORGAN_SLOT_BRAIN, 0.5)
|
||||
if(prob(10))
|
||||
if(owner.client?.prefs.lewdchem)
|
||||
to_chat(owner, "<i>I just need to be a good pet for [enthrallGender], they'll surely return if I'm a good pet.</i>")
|
||||
owner.adjustBrainLoss(-1.5)
|
||||
owner.adjustOrganLoss(ORGAN_SLOT_BRAIN, -1.5)
|
||||
if(66)
|
||||
SEND_SIGNAL(M, COMSIG_CLEAR_MOOD_EVENT, "EnthMissing1")
|
||||
var/message = "[(owner.client?.prefs.lewdchem?"I feel so lost in this complicated world without [enthrallGender]..":"I have to return to [master]!")]"
|
||||
@@ -484,7 +483,7 @@
|
||||
to_chat(owner, "<span class='warning'><i>You're unable to hold back your tears, suddenly sobbing as the desire to see your [enthrallGender] oncemore overwhelms you.</i></span>")
|
||||
else
|
||||
to_chat(owner, "<span class='warning'><i>You are overwheled with withdrawl from [master].</i></span>")
|
||||
owner.adjustBrainLoss(1)
|
||||
owner.adjustOrganLoss(ORGAN_SLOT_BRAIN, 1)
|
||||
owner.stuttering += 35
|
||||
owner.jitteriness += 35
|
||||
if(prob(10))//2% chance
|
||||
@@ -500,14 +499,14 @@
|
||||
if(140 to INFINITY) //acceptance
|
||||
if(prob(15))
|
||||
deltaResist += 5
|
||||
owner.adjustBrainLoss(-1)
|
||||
owner.adjustOrganLoss(ORGAN_SLOT_BRAIN, -1)
|
||||
if(prob(20))
|
||||
if(owner.client?.prefs.lewdchem)
|
||||
to_chat(owner, "<i><span class='small green'>Maybe you'll be okay without your [enthrallGender].</i></span>")
|
||||
else
|
||||
to_chat(owner, "<i><span class='small green'>You feel your mental functions slowly begin to return.</i></span>")
|
||||
if(prob(5))
|
||||
owner.adjustBrainLoss(1)
|
||||
owner.adjustOrganLoss(ORGAN_SLOT_BRAIN, 1)
|
||||
M.hallucination += 30
|
||||
|
||||
withdrawalTick += 0.5//Enough to leave you with a major brain trauma, but not kill you.
|
||||
|
||||
Reference in New Issue
Block a user