diff --git a/toontown/estate/DistributedAnimatedStatuaryAI.py b/toontown/estate/DistributedAnimatedStatuaryAI.py index ff8e6942..40fe8781 100644 --- a/toontown/estate/DistributedAnimatedStatuaryAI.py +++ b/toontown/estate/DistributedAnimatedStatuaryAI.py @@ -3,3 +3,7 @@ from toontown.estate.DistributedStatuaryAI import DistributedStatuaryAI class DistributedAnimatedStatuaryAI(DistributedStatuaryAI): notify = DirectNotifyGlobal.directNotify.newCategory("DistributedAnimatedStatuaryAI") + + def __init__(self, air, species): + self.air = air + self.species = species diff --git a/toontown/estate/DistributedChangingStatuaryAI.py b/toontown/estate/DistributedChangingStatuaryAI.py index abffc37b..617c8d32 100644 --- a/toontown/estate/DistributedChangingStatuaryAI.py +++ b/toontown/estate/DistributedChangingStatuaryAI.py @@ -4,5 +4,9 @@ from toontown.estate.DistributedStatuaryAI import DistributedStatuaryAI class DistributedChangingStatuaryAI(DistributedStatuaryAI): notify = DirectNotifyGlobal.directNotify.newCategory("DistributedChangingStatuaryAI") + def __init__(self, air, species): + self.air = air + self.species = species + def setGrowthLevel(self, growth): - pass + self.growth = growth diff --git a/toontown/estate/DistributedFlowerAI.py b/toontown/estate/DistributedFlowerAI.py index 9e043ce6..97e7203e 100644 --- a/toontown/estate/DistributedFlowerAI.py +++ b/toontown/estate/DistributedFlowerAI.py @@ -4,8 +4,14 @@ from toontown.estate.DistributedPlantBaseAI import DistributedPlantBaseAI class DistributedFlowerAI(DistributedPlantBaseAI): notify = DirectNotifyGlobal.directNotify.newCategory("DistributedFlowerAI") + def __init__(self, air, species, variety): + self.air = air + self.species = species + self.variety = variety + self.typeIndex = None + def setTypeIndex(self, index): - pass + self.typeIndex = index def setVariety(self, variety): - pass + self.variety = variety diff --git a/toontown/estate/DistributedGardenBoxAI.py b/toontown/estate/DistributedGardenBoxAI.py index 996824ad..139764d4 100644 --- a/toontown/estate/DistributedGardenBoxAI.py +++ b/toontown/estate/DistributedGardenBoxAI.py @@ -4,5 +4,9 @@ from toontown.estate.DistributedLawnDecorAI import DistributedLawnDecorAI class DistributedGardenBoxAI(DistributedLawnDecorAI): notify = DirectNotifyGlobal.directNotify.newCategory("DistributedGardenBoxAI") + def __init__(self, air): + self.air = air + self.typeIndex = 0 + def setTypeIndex(self, index): self.typeIndex = index diff --git a/toontown/estate/DistributedGardenPlotAI.py b/toontown/estate/DistributedGardenPlotAI.py index 8b145b40..0b51e048 100644 --- a/toontown/estate/DistributedGardenPlotAI.py +++ b/toontown/estate/DistributedGardenPlotAI.py @@ -32,3 +32,4 @@ class DistributedGardenPlotAI(DistributedLawnDecorAI): money = av.getMoney() av.setMoney(money - burntBeans) av.d_setMoney(money - burntBeans) + self.planted = None diff --git a/toontown/estate/DistributedLawnDecorAI.py b/toontown/estate/DistributedLawnDecorAI.py index 72edd6cc..ee436997 100644 --- a/toontown/estate/DistributedLawnDecorAI.py +++ b/toontown/estate/DistributedLawnDecorAI.py @@ -4,6 +4,13 @@ from direct.distributed.DistributedNodeAI import DistributedNodeAI class DistributedLawnDecorAI(DistributedNodeAI): notify = DirectNotifyGlobal.directNotify.newCategory("DistributedLawnDecorAI") + def __init__(self, air): + self.air = air + self.plot = None + self.heading = 0 + self.pos = (0, 0, 0) + self.ownerIndex = 0 + def setPlot(self, plot): self.plot = plot diff --git a/toontown/estate/DistributedPlantBaseAI.py b/toontown/estate/DistributedPlantBaseAI.py index afa09c37..c70ad3e1 100644 --- a/toontown/estate/DistributedPlantBaseAI.py +++ b/toontown/estate/DistributedPlantBaseAI.py @@ -4,14 +4,20 @@ from toontown.estate.DistributedLawnDecorAI import DistributedLawnDecorAI class DistributedPlantBaseAI(DistributedLawnDecorAI): notify = DirectNotifyGlobal.directNotify.newCategory("DistributedPlantBaseAI") + def __init__(self, air): + self.air = air + self.typeIndex = 0 + self.water = 0 + self.growth = 0 + def setTypeIndex(self, index): - pass + self.typeIndex = index def setWaterLevel(self, water): - pass + self.water = water def setGrowthLevel(self, growth): - pass + self.growth = growth def waterPlant(self): pass diff --git a/toontown/estate/DistributedStatuaryAI.py b/toontown/estate/DistributedStatuaryAI.py index 01d28e2d..efbe0d3b 100644 --- a/toontown/estate/DistributedStatuaryAI.py +++ b/toontown/estate/DistributedStatuaryAI.py @@ -4,11 +4,18 @@ from toontown.estate.DistributedLawnDecorAI import DistributedLawnDecorAI class DistributedStatuaryAI(DistributedLawnDecorAI): notify = DirectNotifyGlobal.directNotify.newCategory("DistributedStatuaryAI") + def __init__(self, air, species): + self.air = air + self.species = species + self.typeIndex = 0 + self.water = 0 + self.growth = 0 + def setTypeIndex(self, index): - pass + self.typeIndex = index def setWaterLevel(self, water): - pass + self.water = water def setGrowthLevel(self, growth): - pass + self.growth = growth diff --git a/toontown/estate/DistributedToonStatuaryAI.py b/toontown/estate/DistributedToonStatuaryAI.py index 2b3b1411..eb270222 100644 --- a/toontown/estate/DistributedToonStatuaryAI.py +++ b/toontown/estate/DistributedToonStatuaryAI.py @@ -4,5 +4,10 @@ from toontown.estate.DistributedStatuaryAI import DistributedStatuaryAI class DistributedToonStatuaryAI(DistributedStatuaryAI): notify = DirectNotifyGlobal.directNotify.newCategory("DistributedToonStatuaryAI") + def __init__(self, air, species, dnaCode): + self.air = air + self.species = species + self.dnaCode = dnaCode + def setOptional(self, opt): - pass + self.optional = opt