mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 04:57:57 +01:00
custom range and changelog
This commit is contained in:
@@ -91,10 +91,13 @@
|
||||
return
|
||||
if(!A)
|
||||
return
|
||||
var/range = input("Range:", "Narrate to mobs within how many tiles:", 7) as num
|
||||
if(!range)
|
||||
return
|
||||
var/msg = input("Message:", text("Enter the text you wish to appear to everyone within view:")) as text
|
||||
if (!msg)
|
||||
return
|
||||
for(var/mob/living/M in view(7,A))
|
||||
for(var/mob/living/M in view(range,A))
|
||||
M << msg
|
||||
|
||||
log_admin("LocalNarrate: [key_name(usr)] at ([get_area(A)]): [msg]")
|
||||
|
||||
Reference in New Issue
Block a user