mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +00:00
Merge pull request #6045 from DigitalSquirrel95/patch-4
Changes the crew transfer message to be more IC friendly.
This commit is contained in:
@@ -105,7 +105,7 @@ SUBSYSTEM_DEF(vote)
|
|||||||
factor = 1.4
|
factor = 1.4
|
||||||
choices["Initiate Crew Transfer"] = round(choices["Initiate Crew Transfer"] * factor)
|
choices["Initiate Crew Transfer"] = round(choices["Initiate Crew Transfer"] * factor)
|
||||||
world << "<font color='purple'>Crew Transfer Factor: [factor]</font>"
|
world << "<font color='purple'>Crew Transfer Factor: [factor]</font>"
|
||||||
greatest_votes = max(choices["Initiate Crew Transfer"], choices["Continue The Round"])
|
greatest_votes = max(choices["Initiate Crew Transfer"], choices["Extend the Shift"]) //VOREStation Edit
|
||||||
|
|
||||||
. = list() // Get all options with that many votes and return them in a list
|
. = list() // Get all options with that many votes and return them in a list
|
||||||
if(greatest_votes)
|
if(greatest_votes)
|
||||||
@@ -220,8 +220,8 @@ SUBSYSTEM_DEF(vote)
|
|||||||
if(ticker.current_state <= GAME_STATE_SETTING_UP)
|
if(ticker.current_state <= GAME_STATE_SETTING_UP)
|
||||||
initiator_key << "The crew transfer button has been disabled!"
|
initiator_key << "The crew transfer button has been disabled!"
|
||||||
return 0
|
return 0
|
||||||
question = "End the shift?"
|
question = "Your PDA beeps with a message from Central. Would you like an additional hour to finish ongoing projects?" //VOREStation Edit
|
||||||
choices.Add("Initiate Crew Transfer", "Continue The Round")
|
choices.Add("Initiate Crew Transfer", "Extend the Shift") //VOREStation Edit
|
||||||
if(VOTE_ADD_ANTAGONIST)
|
if(VOTE_ADD_ANTAGONIST)
|
||||||
if(!config.allow_extra_antags || ticker.current_state >= GAME_STATE_SETTING_UP)
|
if(!config.allow_extra_antags || ticker.current_state >= GAME_STATE_SETTING_UP)
|
||||||
return 0
|
return 0
|
||||||
|
|||||||
Reference in New Issue
Block a user