mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-09 16:05:07 +00:00
## 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. /🆑
13 lines
419 B
Plaintext
13 lines
419 B
Plaintext
|
|
## A flat bonus to give to all maps after a map vote is concluded.
|
|
MAP_VOTE_FLAT_BONUS 5
|
|
|
|
## The minimum number of tallies a map can have for purposes of map rotation.
|
|
MAP_VOTE_MINIMUM_TALLIES 1
|
|
|
|
## The maximum number of tallies a map can have for purposes of keeping things sane.
|
|
MAP_VOTE_MAXIMUM_TALLIES 200
|
|
|
|
## The percentage of tallies that are carried over between rounds.
|
|
MAP_VOTE_TALLY_CARRYOVER_PERCENTAGE 100
|