mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-17 19:14:15 +01:00
Persistent Map Vote Tallies (#86788)
## About The Pull Request Changes map votes to be based on a persistent tally count. Tallies for maps are cached between rounds and are added to by map votes. When a map is chosen, and it wasn't the only valid one, the tallies for said chosen map will be reset. Refactors map vote handling and moves it from SSmapping to SSmap_vote. Rock the Vote has been removed as a result of this refactor. ## Why It's Good For The Game Makes it more likely that all maps will be played over the course of a server instead of always being truly random. Removes some clutter off of SSmapping. 🆑 refactor: Map Votes are now carried over between rounds. When a map vote is actually a contest, the winning map will have its votes reset. /🆑
This commit is contained in:
@@ -456,3 +456,9 @@ ADMIN_VERB(reset_ooc_color, R_FUN, "Reset Player OOC Color", "Returns player OOC
|
||||
ASSERT(prefs, "User attempted to export preferences while preferences were null!") // what the fuck
|
||||
|
||||
prefs.savefile.export_json_to_client(usr, ckey)
|
||||
|
||||
/client/verb/map_vote_tally_count()
|
||||
set name = "Show Map Vote Tallies"
|
||||
set desc = "View the current map vote tally counts."
|
||||
set category = "Server"
|
||||
to_chat(mob, SSmap_vote.tally_printout)
|
||||
|
||||
Reference in New Issue
Block a user