|
|
|
@@ -170,6 +170,9 @@ Creating a chem with a low purity will make you permanently fall in love with so
|
|
|
|
|
|
|
|
|
|
/datum/reagent/fermi/enthrall/on_mob_add(mob/living/carbon/M)
|
|
|
|
|
. = ..()
|
|
|
|
|
if(M.client?.prefs.cit_toggles & NEVER_HYPNO) // Just in case people are opting out of this
|
|
|
|
|
holder.remove_reagent(id, 10000000)
|
|
|
|
|
return
|
|
|
|
|
if(!ishuman(M))//Just to make sure screwy stuff doesn't happen.
|
|
|
|
|
return
|
|
|
|
|
if(!creatorID)
|
|
|
|
@@ -183,7 +186,7 @@ Creating a chem with a low purity will make you permanently fall in love with so
|
|
|
|
|
E.enthrallID = creatorID
|
|
|
|
|
E.enthrallGender = creatorGender
|
|
|
|
|
E.master = get_mob_by_key(creatorID)
|
|
|
|
|
to_chat(M, to_chat(M, "<span class='big love'><i>Your aldled, plastic, mind bends under the chemical influence of a new [(M.client?.prefs.lewdchem?"master":"leader")]. Your highest priority is now to stay by [creatorName]'s side, following and aiding them at all costs.</i></span>")) //THIS SHOULD ONLY EVER APPEAR IF YOU MINDBREAK YOURSELF AND THEN GET INJECTED FROM SOMEONE ELSE.
|
|
|
|
|
to_chat(M, "<span class='big love'><i>Your addled, plastic, mind bends under the chemical influence of a new [(E.lewd?"master":"leader")]. Your highest priority is now to stay by [creatorName]'s side, following and aiding them at all costs.</i></span>") //THIS SHOULD ONLY EVER APPEAR IF YOU MINDBREAK YOURSELF AND THEN GET INJECTED FROM SOMEONE ELSE.
|
|
|
|
|
log_game("FERMICHEM: Narcissist [M] ckey: [M.key] been rebound to [creatorName], ID: [creatorID]")
|
|
|
|
|
return
|
|
|
|
|
if((M.ckey == creatorID) && (creatorName == M.real_name)) //same name AND same player - same instance of the player. (should work for clones?)
|
|
|
|
@@ -194,7 +197,7 @@ Creating a chem with a low purity will make you permanently fall in love with so
|
|
|
|
|
Vc.Remove(M)
|
|
|
|
|
nVc.Insert(M)
|
|
|
|
|
qdel(Vc)
|
|
|
|
|
to_chat(M, "<span class='notice'><i>You feel your vocal chords tingle you speak in a more charasmatic and sultry tone.)]</span>")
|
|
|
|
|
to_chat(M, "<span class='notice'><i>You feel your vocal chords tingle you speak in a more charasmatic and sultry tone.</i></span>")
|
|
|
|
|
else
|
|
|
|
|
log_game("FERMICHEM: MKUltra: [creatorName], [creatorID], is enthralling [M.name], [M.ckey]")
|
|
|
|
|
M.apply_status_effect(/datum/status_effect/chem/enthrall)
|
|
|
|
@@ -230,7 +233,6 @@ Creating a chem with a low purity will make you permanently fall in love with so
|
|
|
|
|
M.reagents.remove_reagent(id, volume)
|
|
|
|
|
FallInLove(C, M)
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
if (M.ckey == creatorID && creatorName == M.real_name)//If you yourself drink it, it supresses the vocal effects, for stealth. NEVERMIND ADD THIS LATER I CAN'T GET IT TO WORK
|
|
|
|
|
return
|
|
|
|
|
if(!M.client)
|
|
|
|
@@ -261,7 +263,7 @@ Creating a chem with a low purity will make you permanently fall in love with so
|
|
|
|
|
E.master = creator
|
|
|
|
|
else
|
|
|
|
|
E = M.has_status_effect(/datum/status_effect/chem/enthrall)
|
|
|
|
|
if(M.client?.prefs.lewdchem)
|
|
|
|
|
if(E.lewd)
|
|
|
|
|
to_chat(M, "<span class='big love'><i>Your mind shatters under the volume of the mild altering chem inside of you, breaking all will and thought completely. Instead the only force driving you now is the instinctual desire to obey and follow [creatorName]. Your highest priority is now to stay by their side and protect them at all costs.</i></span>")
|
|
|
|
|
else
|
|
|
|
|
to_chat(M, "<span class='big warning'><i>The might volume of chemicals in your system overwhelms your mind, and you suddenly agree with what [creatorName] has been saying. Your highest priority is now to stay by their side and protect them at all costs.</i></span>")
|
|
|
|
@@ -288,6 +290,7 @@ Creating a chem with a low purity will make you permanently fall in love with so
|
|
|
|
|
chemical_flags = REAGENT_DONOTSPLIT
|
|
|
|
|
can_synth = FALSE
|
|
|
|
|
var/mob/living/carbon/love
|
|
|
|
|
var/lewd = FALSE
|
|
|
|
|
|
|
|
|
|
/datum/reagent/fermi/enthrallExplo/on_mob_life(mob/living/carbon/M)//Love gas, only affects while it's in your system,Gives a positive moodlet if close, gives brain damagea and a negative moodlet if not close enough.
|
|
|
|
|
if(HAS_TRAIT(M, TRAIT_MINDSHIELD))
|
|
|
|
@@ -303,24 +306,25 @@ Creating a chem with a low purity will make you permanently fall in love with so
|
|
|
|
|
if(!love)
|
|
|
|
|
return
|
|
|
|
|
M.apply_status_effect(STATUS_EFFECT_INLOVE, love)
|
|
|
|
|
to_chat(M, "[(M.client?.prefs.lewdchem?"<span class='love'>":"<span class='warning'>")][(M.client?.prefs.lewdchem?"You develop a sudden crush on [love], your heart beginning to race as you look upon them with new eyes.":"You suddenly feel like making friends with [love].")] You feel strangely drawn towards them.</span>")
|
|
|
|
|
lewd = (M.client?.prefs.cit_toggles & HYPNO) && (love.client?.prefs.cit_toggles & HYPNO)
|
|
|
|
|
to_chat(M, "[(lewd?"<span class='love'>":"<span class='warning'>")][(lewd?"You develop a sudden crush on [love], your heart beginning to race as you look upon them with new eyes.":"You suddenly feel like making friends with [love].")] You feel strangely drawn towards them.</span>")
|
|
|
|
|
log_game("FERMICHEM: [M] ckey: [M.key] has temporarily bonded with [love] ckey: [love.key]")
|
|
|
|
|
SSblackbox.record_feedback("tally", "fermi_chem", 1, "Times people have bonded")
|
|
|
|
|
else
|
|
|
|
|
if(get_dist(M, love) < 8)
|
|
|
|
|
if(HAS_TRAIT(M, TRAIT_NYMPHO)) //Add this back when merged/updated.
|
|
|
|
|
M.adjustArousalLoss(5)
|
|
|
|
|
var/message = "[(M.client?.prefs.lewdchem?"I'm next to my crush..! Eee!":"I'm making friends with [love]!")]"
|
|
|
|
|
var/message = "[(lewd?"I'm next to my crush..! Eee!":"I'm making friends with [love]!")]"
|
|
|
|
|
SEND_SIGNAL(M, COMSIG_ADD_MOOD_EVENT, "InLove", /datum/mood_event/InLove, message)
|
|
|
|
|
SEND_SIGNAL(M, COMSIG_CLEAR_MOOD_EVENT, "MissingLove")
|
|
|
|
|
else
|
|
|
|
|
var/message = "[(M.client?.prefs.lewdchem?"I can't keep my crush off my mind, I need to see them again!":"I really want to make friends with [love]!")]"
|
|
|
|
|
var/message = "[(lewd?"I can't keep my crush off my mind, I need to see them again!":"I really want to make friends with [love]!")]"
|
|
|
|
|
SEND_SIGNAL(M, COMSIG_ADD_MOOD_EVENT, "MissingLove", /datum/mood_event/MissingLove, message)
|
|
|
|
|
SEND_SIGNAL(M, COMSIG_CLEAR_MOOD_EVENT, "InLove")
|
|
|
|
|
if(prob(5))
|
|
|
|
|
M.Stun(10)
|
|
|
|
|
M.emote("whimper")//does this exist?
|
|
|
|
|
to_chat(M, "[(M.client?.prefs.lewdchem?"<span class='love'>":"<span class='warning'>")] You're overcome with a desire to see [love].</span>")
|
|
|
|
|
to_chat(M, "[(lewd?"<span class='love'>":"<span class='warning'>")] You're overcome with a desire to see [love].</span>")
|
|
|
|
|
M.adjustOrganLoss(ORGAN_SLOT_BRAIN, 0.5)//I found out why everyone was so damaged!
|
|
|
|
|
..()
|
|
|
|
|
|
|
|
|
@@ -330,7 +334,7 @@ Creating a chem with a low purity will make you permanently fall in love with so
|
|
|
|
|
M.remove_status_effect(STATUS_EFFECT_INLOVE)
|
|
|
|
|
SEND_SIGNAL(M, COMSIG_CLEAR_MOOD_EVENT, "InLove")
|
|
|
|
|
SEND_SIGNAL(M, COMSIG_CLEAR_MOOD_EVENT, "MissingLove")
|
|
|
|
|
to_chat(M, "[(M.client?.prefs.lewdchem?"<span class='love'>":"<span class='warning'>")]Your feelings for [love] suddenly vanish!")
|
|
|
|
|
to_chat(M, "[(lewd?"<span class='love'>":"<span class='warning'>")]Your feelings for [love] suddenly vanish!")
|
|
|
|
|
log_game("FERMICHEM: [M] ckey: [M.key] is no longer in temp bond")
|
|
|
|
|
..()
|
|
|
|
|
|
|
|
|
@@ -338,7 +342,8 @@ Creating a chem with a low purity will make you permanently fall in love with so
|
|
|
|
|
if(Lover.has_status_effect(STATUS_EFFECT_INLOVE))
|
|
|
|
|
to_chat(Lover, "<span class='warning'>You are already fully devoted to someone else!</span>")
|
|
|
|
|
return
|
|
|
|
|
to_chat(Lover, "[(Lover.client?.prefs.lewdchem?"<span class='love'>":"<span class='warning'>")]You develop a deep and sudden bond with [Love][(Lover.client?.prefs.lewdchem?", your heart beginning to race as your mind filles with thoughts about them.":".")] You are determined to keep them safe and happy, and feel drawn towards them.</span>")
|
|
|
|
|
var/lewd = (Lover.client?.prefs.cit_toggles & HYPNO) && (Love.client?.prefs.cit_toggles & HYPNO)
|
|
|
|
|
to_chat(Lover, "[(lewd?"<span class='love'>":"<span class='warning'>")]You develop a deep and sudden bond with [Love][(lewd?", your heart beginning to race as your mind filles with thoughts about them.":".")] You are determined to keep them safe and happy, and feel drawn towards them.</span>")
|
|
|
|
|
if(Lover.mind)
|
|
|
|
|
Lover.mind.store_memory("You are in love with [Love].")
|
|
|
|
|
Lover.faction |= "[REF(Love)]"
|
|
|
|
|