mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-24 04:02:40 -06:00
Revert "Revert "Revert "Revert "Revert "Revert "Revert "Revert "Revert "Revert "Revert "fuck daniel"""""""""""
This reverts commit 28114c2864
.
This commit is contained in:
parent
28114c2864
commit
2910d2ba4e
1 changed files with 0 additions and 17 deletions
|
@ -219,23 +219,6 @@ class HoodMgr(DirectObject.DirectObject):
|
||||||
self.currentDropPoint = (self.currentDropPoint + 1) % len(dropPointList)
|
self.currentDropPoint = (self.currentDropPoint + 1) % len(dropPointList)
|
||||||
return dropPointList[droppnt]
|
return dropPointList[droppnt]
|
||||||
|
|
||||||
def getAvailableZones(self):
|
|
||||||
return self.getZonesInPhase(4) + \
|
|
||||||
self.getZonesInPhase(6) + \
|
|
||||||
self.getZonesInPhase(8) + \
|
|
||||||
self.getZonesInPhase(9) + \
|
|
||||||
self.getZonesInPhase(10) + \
|
|
||||||
self.getZonesInPhase(11) + \
|
|
||||||
self.getZonesInPhase(12) + \
|
|
||||||
self.getZonesInPhase(13)
|
|
||||||
|
|
||||||
def getZonesInPhase(self, phase):
|
|
||||||
p = []
|
|
||||||
for i in ToontownGlobals.phaseMap.items():
|
|
||||||
if i[1] == phase:
|
|
||||||
p.append(i[0])
|
|
||||||
return p
|
|
||||||
|
|
||||||
def getPhaseFromHood(self, hoodId):
|
def getPhaseFromHood(self, hoodId):
|
||||||
hoodId = ZoneUtil.getCanonicalHoodId(hoodId)
|
hoodId = ZoneUtil.getCanonicalHoodId(hoodId)
|
||||||
return ToontownGlobals.phaseMap[hoodId]
|
return ToontownGlobals.phaseMap[hoodId]
|
||||||
|
|
Loading…
Reference in a new issue