Merge pull request #6037 from Crazylemon64/conscientious_objection

You are now able to opt out of all role requests for a single round
This commit is contained in:
Fox McCloud
2017-01-06 12:45:00 -05:00
committed by GitHub
+6 -1
View File
@@ -442,7 +442,7 @@ proc/pollCandidates(var/Question, var/be_special_type, var/antag_age_check = 0,
spawn(0)
G << 'sound/misc/notice2.ogg'//Alerting them to their consideration
switch(alert(G,Question,"Please answer in [poll_time/10] seconds!","Yes","No"))
switch(alert(G,Question,"Please answer in [poll_time/10] seconds!","Yes","No","Not This Round"))
if("Yes")
to_chat(G, "<span class='notice'>Choice registered: Yes.</span>")
if((world.time-time_passed)>poll_time)//If more than 30 game seconds passed.
@@ -453,6 +453,11 @@ proc/pollCandidates(var/Question, var/be_special_type, var/antag_age_check = 0,
if("No")
to_chat(G, "<span class='danger'>Choice registered: No.</span>")
return
if("Not This Round")
to_chat(G, "<span class='danger'>Choice registered: No.</span>")
to_chat(G, "<span class='notice'>You will no longer receive notifications for the role '[roletext]' for the rest of the round.</span>")
G.client.prefs.be_special -= be_special_type
return
else
return
sleep(poll_time)