[MIRROR] Improves the immersion on PDA messages [MDB IGNORE] (#20623)

* Improves the immersion on PDA messages (#74721)

🆑
fix: PDA messaging is now more immersive based on age
/🆑

---------

Co-authored-by: san7890 <the@ san7890.com>

* Improves the immersion on PDA messages

---------

Co-authored-by: Iamgoofball <iamgoofball@gmail.com>
Co-authored-by: san7890 <the@ san7890.com>
This commit is contained in:
SkyratBot
2023-04-18 06:51:14 +02:00
committed by GitHub
parent c325783977
commit 8c559ba995
@@ -294,8 +294,11 @@
if (!string_targets.len)
return FALSE
if (prob(1))
var/sent_prob = 1
if(ishuman(user))
var/mob/living/carbon/human/old_person = user
sent_prob = old_person.age >= 30 ? 25 : sent_prob
if (prob(sent_prob))
message += " Sent from my PDA"
// SKYRAT EDIT BEGIN - PDA messages show a visible message; again!
user.visible_message(span_notice("[user]'s PDA rings out with the soft sound of keypresses."), vision_distance = COMBAT_MESSAGE_RANGE)