historical/toontown-just-works.git/toontown/minigame/RaceGameGlobals.py

39 lines
1.6 KiB
Python
Raw Normal View History

2024-01-16 11:20:27 -06:00
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))