mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 03:35:12 -06:00
68 lines
2.3 KiB
Python
68 lines
2.3 KiB
Python
import math
|
|
from pandac.PandaModules import Point3
|
|
from toontown.toonbase import ToontownGlobals
|
|
InputTimeout = 15
|
|
TireMovieTimeout = 120
|
|
MinWall = (-20.0, -15.0)
|
|
MaxWall = (20.0, 15.0)
|
|
TireRadius = 1.5
|
|
WallMargin = 1 + TireRadius
|
|
StartingPositions = (
|
|
Point3(MinWall[0] + WallMargin, MinWall[1] + WallMargin, TireRadius),
|
|
Point3(MaxWall[0] - WallMargin, MaxWall[1] - WallMargin, TireRadius),
|
|
Point3(MinWall[0] + WallMargin, MaxWall[1] - WallMargin, TireRadius),
|
|
Point3(MaxWall[0] - WallMargin, MinWall[1] + WallMargin, TireRadius)
|
|
)
|
|
NumMatches = 3
|
|
NumRounds = 2
|
|
PointsDeadCenter = {
|
|
0: 5,
|
|
1: 5,
|
|
2: 5,
|
|
3: 4,
|
|
4: 3
|
|
}
|
|
PointsInCorner = 1
|
|
FarthestLength = math.sqrt((MaxWall[0] - TireRadius) * (MaxWall[0] - TireRadius) + (MaxWall[1] - TireRadius) * (MaxWall[1] - TireRadius))
|
|
BonusPointsForPlace = (3, 2, 1, 0)
|
|
ExpandFeetPerSec = 5
|
|
ScoreCountUpRate = 0.15
|
|
ShowScoresDuration = 4.0
|
|
NumTreasures = {
|
|
ToontownGlobals.ToontownCentral: 2,
|
|
ToontownGlobals.DonaldsDock: 2,
|
|
ToontownGlobals.DaisyGardens: 2,
|
|
ToontownGlobals.MinniesMelodyland: 2,
|
|
ToontownGlobals.TheBrrrgh: 1,
|
|
ToontownGlobals.DonaldsDreamland: 1
|
|
}
|
|
NumPenalties = {
|
|
ToontownGlobals.ToontownCentral: 0,
|
|
ToontownGlobals.DonaldsDock: 1,
|
|
ToontownGlobals.DaisyGardens: 1,
|
|
ToontownGlobals.MinniesMelodyland: 1,
|
|
ToontownGlobals.TheBrrrgh: 2,
|
|
ToontownGlobals.DonaldsDreamland: 2
|
|
}
|
|
Obstacles = {
|
|
ToontownGlobals.ToontownCentral: (),
|
|
ToontownGlobals.DonaldsDock: ((0, 0),),
|
|
ToontownGlobals.DaisyGardens: ((MinWall[0] / 2, 0), (MaxWall[0] / 2, 0)),
|
|
ToontownGlobals.MinniesMelodyland: ((0, MinWall[1] / 2), (0, MaxWall[1] / 2)),
|
|
ToontownGlobals.TheBrrrgh: ((MinWall[0] / 2, 0),
|
|
(MaxWall[0] / 2, 0),
|
|
(0, MinWall[1] / 2),
|
|
(0, MaxWall[1] / 2)),
|
|
ToontownGlobals.DonaldsDreamland: ((MinWall[0] / 2, MinWall[1] / 2),
|
|
(MinWall[0] / 2, MaxWall[1] / 2),
|
|
(MaxWall[0] / 2, MinWall[1] / 2),
|
|
(MaxWall[0] / 2, MaxWall[1] / 2))
|
|
}
|
|
ObstacleShapes = {
|
|
ToontownGlobals.ToontownCentral: True,
|
|
ToontownGlobals.DonaldsDock: True,
|
|
ToontownGlobals.DaisyGardens: True,
|
|
ToontownGlobals.MinniesMelodyland: True,
|
|
ToontownGlobals.TheBrrrgh: False,
|
|
ToontownGlobals.DonaldsDreamland: False
|
|
}
|