Files
TCT-Datapack/data/tctvote/functions/calc.mcfunction
Abel Hoogeveen aff958e612 Bunch of changes, adding functionality requested.
- Added bunch of achievements for democracy
- Added currency exchanges
- Made voting algorithm more efficient
- Added standard meeting hall functionality to the datapack
2021-08-06 01:05:38 +02:00

4 lines
324 B
MCFunction

execute as @a[scores={mt_vote_trigger=1}] run function tctvote:ayevote
execute as @a[scores={mt_vote_trigger=2}] run function tctvote:novote
execute as @a[scores={mt_vote_trigger=1..}] run clear @s written_book{certified:votebook} 1
execute as @a[scores={mt_vote_trigger=1..}] run scoreboard players reset @s mt_vote_trigger