mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-02-07 14:50:21 +00:00
68 lines
2.2 KiB
Plaintext
68 lines
2.2 KiB
Plaintext
/datum/artifact_effect/goodfeeling
|
|
name = "good feeling"
|
|
effect_type = EFFECT_PSIONIC
|
|
var/list/messages = list("You feel good.",
|
|
"Everything seems to be going alright",
|
|
"You've got a good feeling about this",
|
|
"Your instincts tell you everything is going to be getting better.",
|
|
"There's a good feeling in the air.",
|
|
"Something smells... good.",
|
|
"The tips of your fingers feel tingly.",
|
|
"You've got a good feeling about this.",
|
|
"You feel happy.",
|
|
"You fight the urge to smile.",
|
|
"Your scalp prickles.",
|
|
"All the colours seem a bit more vibrant.",
|
|
"Everything seems a little lighter.",
|
|
"The troubles of the world seem to fade away.")
|
|
|
|
var/list/drastic_messages = list("You want to hug everyone you meet!",
|
|
"Everything is going so well!",
|
|
"You feel euphoric.",
|
|
"You feel giddy.",
|
|
"You're so happy suddenly, you almost want to dance and sing.",
|
|
"You feel like the world is out to help you.")
|
|
|
|
/datum/artifact_effect/goodfeeling/DoEffectTouch(var/mob/user)
|
|
if(user)
|
|
if (istype(user, /mob/living/carbon/human))
|
|
var/mob/living/carbon/human/H = user
|
|
if(prob(50))
|
|
if(prob(75))
|
|
to_chat(H, "<b><font color='blue' size='[num2text(rand(1,5))]'>[pick(drastic_messages)]</b></font>")
|
|
else
|
|
to_chat(H, "<font color='blue'>[pick(messages)]</font>")
|
|
|
|
if(prob(50))
|
|
H.dizziness += rand(3,5)
|
|
|
|
/datum/artifact_effect/goodfeeling/DoEffectAura()
|
|
if(holder)
|
|
var/turf/T = get_turf(holder)
|
|
for (var/mob/living/carbon/human/H in range(src.effectrange,T))
|
|
if(prob(5))
|
|
if(prob(75))
|
|
to_chat(H, "<font color='blue'>[pick(messages)]</font>")
|
|
else
|
|
to_chat(H, "<font color='blue' size='[num2text(rand(1,5))]'><b>[pick(drastic_messages)]</b></font>")
|
|
|
|
if(prob(5))
|
|
H.dizziness += rand(3,5)
|
|
return 1
|
|
|
|
/datum/artifact_effect/goodfeeling/DoEffectPulse()
|
|
if(holder)
|
|
var/turf/T = get_turf(holder)
|
|
for (var/mob/living/carbon/human/H in range(src.effectrange,T))
|
|
if(prob(50))
|
|
if(prob(95))
|
|
to_chat(H, "<font color='blue' size='[num2text(rand(1,5))]'><b>[pick(drastic_messages)]</b></font>")
|
|
else
|
|
to_chat(H, "<font color='blue'>[pick(messages)]</font>")
|
|
|
|
if(prob(50))
|
|
H.dizziness += rand(3,5)
|
|
else if(prob(25))
|
|
H.dizziness += rand(5,15)
|
|
return 1
|