mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Ports over the status effect unification
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
to_chat(H, "<font color='red'>[pick(messages)]</font>")
|
||||
|
||||
if(prob(50))
|
||||
H.dizziness += rand(3,5)
|
||||
H.AdjustDizzy(rand(3,5))
|
||||
|
||||
/datum/artifact_effect/badfeeling/DoEffectAura()
|
||||
if(holder)
|
||||
@@ -50,7 +50,7 @@
|
||||
to_chat(H, "<font color='red' size='[num2text(rand(1,5))]'><b>[pick(drastic_messages)]</b></font>")
|
||||
|
||||
if(prob(10))
|
||||
H.dizziness += rand(3,5)
|
||||
H.AdjustDizzy(rand(3,5))
|
||||
return 1
|
||||
|
||||
/datum/artifact_effect/badfeeling/DoEffectPulse()
|
||||
@@ -64,7 +64,7 @@
|
||||
to_chat(H, "<font color='red'>[pick(messages)]</font>")
|
||||
|
||||
if(prob(50))
|
||||
H.dizziness += rand(3,5)
|
||||
H.AdjustDizzy(rand(3,5))
|
||||
else if(prob(25))
|
||||
H.dizziness += rand(5,15)
|
||||
H.AdjustDizzy(rand(5,15))
|
||||
return 1
|
||||
|
||||
+4
-4
@@ -35,7 +35,7 @@
|
||||
to_chat(H, "<font color='blue'>[pick(messages)]</font>")
|
||||
|
||||
if(prob(50))
|
||||
H.dizziness += rand(3,5)
|
||||
H.AdjustDizzy(rand(3,5))
|
||||
|
||||
/datum/artifact_effect/goodfeeling/DoEffectAura()
|
||||
if(holder)
|
||||
@@ -48,7 +48,7 @@
|
||||
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)
|
||||
H.AdjustDizzy(rand(3,5))
|
||||
return 1
|
||||
|
||||
/datum/artifact_effect/goodfeeling/DoEffectPulse()
|
||||
@@ -62,7 +62,7 @@
|
||||
to_chat(H, "<font color='blue'>[pick(messages)]</font>")
|
||||
|
||||
if(prob(50))
|
||||
H.dizziness += rand(3,5)
|
||||
H.AdjustDizzy(rand(3,5))
|
||||
else if(prob(25))
|
||||
H.dizziness += rand(5,15)
|
||||
H.AdjustDizzy(rand(5,15))
|
||||
return 1
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
if(ishuman(toucher) && prob(weakness * 100))
|
||||
var/mob/living/carbon/human/H = toucher
|
||||
to_chat(H, pick("\blue You feel like taking a nap.","\blue You feel a yawn coming on.","\blue You feel a little tired."))
|
||||
H.drowsyness = min(H.drowsyness + rand(5,25) * weakness, 50 * weakness)
|
||||
H.eye_blurry = min(H.eye_blurry + rand(1,3) * weakness, 50 * weakness)
|
||||
H.AdjustDrowsy(rand(5,25) * weakness, bound_lower = 0, bound_upper = 50 * weakness)
|
||||
H.AdjustEyeBlurry(rand(1,3) * weakness, bound_lower = 0, bound_upper = 50 * weakness)
|
||||
return 1
|
||||
else if(isrobot(toucher))
|
||||
to_chat(toucher, "\red SYSTEM ALERT: CPU cycles slowing down.")
|
||||
@@ -28,8 +28,8 @@
|
||||
if(prob(weakness * 100))
|
||||
if(prob(10))
|
||||
to_chat(H, pick("\blue You feel like taking a nap.","\blue You feel a yawn coming on.","\blue You feel a little tired."))
|
||||
H.drowsyness = min(H.drowsyness + 1 * weakness, 25 * weakness)
|
||||
H.eye_blurry = min(H.eye_blurry + 1 * weakness, 25 * weakness)
|
||||
H.AdjustDrowsy(1 * weakness, bound_lower = 0, bound_upper = 25 * weakness)
|
||||
H.AdjustEyeBlurry(1 * weakness, bound_lower = 0, bound_upper = 25 * weakness)
|
||||
for(var/mob/living/silicon/robot/R in range(src.effectrange,holder))
|
||||
to_chat(R, "\red SYSTEM ALERT: CPU cycles slowing down.")
|
||||
return 1
|
||||
@@ -41,8 +41,8 @@
|
||||
var/weakness = GetAnomalySusceptibility(H)
|
||||
if(prob(weakness * 100))
|
||||
to_chat(H, pick("\blue You feel like taking a nap.","\blue You feel a yawn coming on.","\blue You feel a little tired."))
|
||||
H.drowsyness = min(H.drowsyness + rand(5,15) * weakness, 50 * weakness)
|
||||
H.eye_blurry = min(H.eye_blurry + rand(5,15) * weakness, 50 * weakness)
|
||||
H.AdjustDrowsy(rand(5,15) * weakness, bound_lower = 0, bound_upper = 50 * weakness)
|
||||
H.AdjustEyeBlurry(rand(5,15) * weakness, bound_lower = 0, bound_upper = 50 * weakness)
|
||||
for(var/mob/living/silicon/robot/R in range(src.effectrange,holder))
|
||||
to_chat(R, "\red SYSTEM ALERT: CPU cycles slowing down.")
|
||||
return 1
|
||||
|
||||
@@ -194,7 +194,7 @@
|
||||
'sound/hallucinations/turn_around1.ogg',\
|
||||
'sound/hallucinations/turn_around2.ogg',\
|
||||
), 50, 1, -3)
|
||||
M.sleeping = max(M.sleeping,rand(5,10))
|
||||
M.Sleeping(rand(5,10))
|
||||
src.loc = null
|
||||
else
|
||||
processing_objects.Remove(src)
|
||||
|
||||
Reference in New Issue
Block a user