mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-12 08:36:00 +01:00
Improves the immersion on PDA messages (#74721)
🆑 fix: PDA messaging is now more immersive based on age /🆑 --------- 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"
|
||||
|
||||
var/datum/signal/subspace/messaging/tablet_msg/signal = new(computer, list(
|
||||
|
||||
Reference in New Issue
Block a user