mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +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]")
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
author: Jordie0608
|
||||
|
||||
delete-after: True
|
||||
|
||||
changes:
|
||||
- rscadd: "Added a Local Narrate verb for admins."
|
||||
Reference in New Issue
Block a user