mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-11 23:23:28 +01:00
Easier communications report cancelling
This commit is contained in:
@@ -549,9 +549,11 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
||||
|
||||
var/type = input(usr, "Pick a type of report to send", "Report Type", "") as anything in MsgType
|
||||
var/input = input(usr, "Please enter anything you want. Anything. Serious.", "What?", "") as message|null
|
||||
var/customname = input(usr, "Pick a title for the report.", "Title") as text|null
|
||||
if(!input)
|
||||
return
|
||||
var/customname = input(usr, "Pick a title for the report.", "Title") as text|null
|
||||
if(!customname)
|
||||
return
|
||||
|
||||
if(type == "Enemy Communications")
|
||||
if(!customname)
|
||||
@@ -560,11 +562,13 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
||||
var/from = input(usr, "What kind of report? Example: Syndicate Communique", "From") as text|null
|
||||
if(!from)
|
||||
from = "Syndicate Communique"
|
||||
switch(alert("Should this be announced to the general population?",,"Yes","No"))
|
||||
switch(alert("Should this be announced to the general population?",,"Yes","No", "Cancel"))
|
||||
if("Yes")
|
||||
communications_announcement.Announce(input, customname, , , , from);
|
||||
if("No")
|
||||
else if("No")
|
||||
to_chat(world, "<span class='danger'>[from] available at all communications consoles.</span>")
|
||||
else
|
||||
return
|
||||
|
||||
print_command_report(input, from)
|
||||
|
||||
@@ -918,4 +922,4 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
||||
for(var/datum/station_goal/S in ticker.mode.station_goals)
|
||||
dat += "[S.name] - <a href='?src=[S.UID()];announce=1'>Announce</a> | <a href='?src=[S.UID()];remove=1'>Remove</a><br>"
|
||||
dat += "<br><a href='?src=[UID()];add_station_goal=1'>Add New Goal</a>"
|
||||
usr << browse(dat, "window=goals;size=400x400")
|
||||
usr << browse(dat, "window=goals;size=400x400")
|
||||
|
||||
Reference in New Issue
Block a user