Poodletooth-iLand/toontown/minigame/RaceGameGlobals.py

38 lines
1.6 KiB
Python

from toontown.toonbase import TTLocalizer
ValidChoices = [0,
1,
2,
3,
4]
NumberToWin = 14
InputTimeout = 20
ChanceRewards = (((1, 0), TTLocalizer.RaceGameForwardOneSpace, 0),
((1, 0), TTLocalizer.RaceGameForwardOneSpace, 0),
((1, 0), TTLocalizer.RaceGameForwardOneSpace, 0),
((2, 0), TTLocalizer.RaceGameForwardTwoSpaces, 0),
((2, 0), TTLocalizer.RaceGameForwardTwoSpaces, 0),
((2, 0), TTLocalizer.RaceGameForwardTwoSpaces, 0),
((3, 0), TTLocalizer.RaceGameForwardThreeSpaces, 0),
((3, 0), TTLocalizer.RaceGameForwardThreeSpaces, 0),
((3, 0), TTLocalizer.RaceGameForwardThreeSpaces, 0),
((0, -3), TTLocalizer.RaceGameOthersBackThree, 0),
((0, -3), TTLocalizer.RaceGameOthersBackThree, 0),
((-1, 0), TTLocalizer.RaceGameBackOneSpace, 0),
((-1, 0), TTLocalizer.RaceGameBackOneSpace, 0),
((-2, 0), TTLocalizer.RaceGameBackTwoSpaces, 0),
((-2, 0), TTLocalizer.RaceGameBackTwoSpaces, 0),
((-3, 0), TTLocalizer.RaceGameBackThreeSpaces, 0),
((-3, 0), TTLocalizer.RaceGameBackThreeSpaces, 0),
((0, 3), TTLocalizer.RaceGameOthersForwardThree, 0),
((0, 3), TTLocalizer.RaceGameOthersForwardThree, 0),
((0, 0), TTLocalizer.RaceGameJellybeans2, 2),
((0, 0), TTLocalizer.RaceGameJellybeans2, 2),
((0, 0), TTLocalizer.RaceGameJellybeans2, 2),
((0, 0), TTLocalizer.RaceGameJellybeans2, 2),
((0, 0), TTLocalizer.RaceGameJellybeans4, 4),
((0, 0), TTLocalizer.RaceGameJellybeans4, 4),
((0, 0), TTLocalizer.RaceGameJellybeans4, 4),
((0, 0), TTLocalizer.RaceGameJellybeans4, 4),
((0, 0), TTLocalizer.RaceGameJellybeans10, 10),
((0, 0), -1, 0),
((NumberToWin, 0), TTLocalizer.RaceGameInstantWinner, 0))