From 54adaa6d39b5bf587c31821ea677ef061d00e997 Mon Sep 17 00:00:00 2001
From: thgvr <81882910+thgvr@users.noreply.github.com>
Date: Sat, 9 Dec 2023 19:25:24 -0800
Subject: [PATCH] New vote sound, puts vote in examine blocks (#2579)
## About The Pull Request
![image](https://github.com/shiptest-ss13/Shiptest/assets/81882910/5e6d52b9-7772-48d4-86c5-0e137836c03f)
## Changelog
:cl:
add: Votes have a new look and new sound.
/:cl:
---
code/controllers/subsystem/vote.dm | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/code/controllers/subsystem/vote.dm b/code/controllers/subsystem/vote.dm
index ba64c98c56c9..b06baa1c49c2 100644
--- a/code/controllers/subsystem/vote.dm
+++ b/code/controllers/subsystem/vote.dm
@@ -120,7 +120,7 @@ SUBSYSTEM_DEF(vote)
text += "Vote Result: Inconclusive - No Votes!"
log_vote(text)
remove_action_buttons()
- to_chat(world, "\n[text]")
+ to_chat(world, span_purple(examine_block(text)))
return .
/datum/controller/subsystem/vote/proc/result()
@@ -218,10 +218,10 @@ SUBSYSTEM_DEF(vote)
log_vote(text)
var/vp = CONFIG_GET(number/vote_period)
- var/vote_message = "\n[text]\nType vote or click here to place your votes.\nYou have [DisplayTimeText(vp)] to vote."
+ var/vote_message = "[text]\nType vote or click here to place your votes.\nYou have [DisplayTimeText(vp)] to vote."
if(observer_vote_allowed)
- to_chat(world, vote_message)
- SEND_SOUND(world, sound('sound/misc/vinethud.ogg'))
+ to_chat(world, examine_block(vote_message))
+ SEND_SOUND(world, sound('sound/misc/compiler-stage2.ogg'))
time_remaining = round(vp/10)
for(var/c in GLOB.clients)
var/client/C = c
@@ -240,8 +240,8 @@ SUBSYSTEM_DEF(vote)
valid_clients -= C
for(var/c in valid_clients)
var/client/C = c
- SEND_SOUND(C, sound('sound/misc/vinethud.ogg'))
- to_chat(C.mob, vote_message)
+ SEND_SOUND(C, sound('sound/misc/compiler-stage2.ogg'))
+ to_chat(C.mob, examine_block(vote_message))
var/datum/action/vote/V = new
if(question)
V.name = "Vote: [question]"