Files
Polaris/code/datums/vote.dm
2011-12-26 11:24:28 -05:00

11 lines
378 B
Plaintext

/datum/vote
var/voting = 0 // true if currently voting
var/nextvotetime = 0 // time at which next vote can be started
var/votetime = 60 // time at which voting will end
var/mode = 0 // 0 = restart vote, 1 = mode vote
// modes which can be voted for
var/winner = null // the vote winner
var/customname
var/choices = list()
var/enteringchoices = 0