mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 04:57:57 +01:00
[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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user