Refactors SSvote, makes votes into datums, also makes vote ui Typescript (#66772)

Makes vote into their own singleton datums.
Refactors the voting subsystem to accommodate.
Refactors the vote UI from JS to TSX (probably badly).
This commit is contained in:
MrMelbert
2022-05-08 13:52:29 -05:00
committed by GitHub
parent 51ef5ecfcb
commit 6e098e2dba
10 changed files with 904 additions and 478 deletions

View File

@@ -176,7 +176,8 @@
integer = FALSE
min_val = 0
/// vote does not default to nochange/norestart.
/// If disabled, no-voters will automatically have their votes added to certain vote options
/// (For eample: restart votes will default to "no restart", map votes will default to their preferred map / default map)
/datum/config_entry/flag/default_no_vote
/// Prevents dead people from voting.