mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-25 12:42:41 -06:00
26 lines
815 B
Python
Executable file
26 lines
815 B
Python
Executable file
from direct.directnotify import DirectNotifyGlobal
|
|
from toontown.estate.DistributedPlantBaseAI import DistributedPlantBaseAI
|
|
|
|
# TODO: Add flower to basket when picking, give shovel skill only if the
|
|
# flower is player's tier.
|
|
|
|
class DistributedFlowerAI(DistributedPlantBaseAI):
|
|
notify = DirectNotifyGlobal.directNotify.newCategory("DistributedFlowerAI")
|
|
|
|
def __init__(self, air):
|
|
DistributedPlantBaseAI.__init__(self, air)
|
|
self.air = air
|
|
self.typeIndex = None
|
|
|
|
def setTypeIndex(self, typeIndex):
|
|
DistributedPlantBaseAI.setTypeIndex(self, typeIndex)
|
|
self.typeIndex = typeIndex
|
|
|
|
def getTypeIndex(self):
|
|
return self.typeIndex
|
|
|
|
def setVariety(self, variety):
|
|
self.variety = variety
|
|
|
|
def getVariety(self):
|
|
return self.variety
|