def construct(self, gardenData):
        DistributedStatuaryAI.construct(self, gardenData)

        if datetime.now().month in (1, 2, 11, 12):
            self.growthLevel = 2
        else:
            self.growthLevel = 1
Пример #2
0
    def construct(self, gardenData):
        DistributedStatuaryAI.construct(self, gardenData)

        if datetime.now().month in (1, 2, 11, 12):
            self.growthLevel = 2
        else:
            self.growthLevel = 1
 def __init__(self, air):
     DistributedStatuaryAI.__init__(self, air)
     self.air = air
     self.growthLevel = -1
Пример #4
0
    def __init__(self, air, gardenManager, ownerIndex):
        DistributedStatuaryAI.__init__(self, air, gardenManager, ownerIndex)

        self.dnaCode = None
        self.occupier = GardenGlobals.ToonStatuaryPlot
Пример #5
0
    def pack(self, gardenData):
        DistributedStatuaryAI.construct(self, gardenData)

        self.dnaCode = gardenData.addUint16(self.dnaCode)
Пример #6
0
    def construct(self, gardenData, gType=0):
        DistributedStatuaryAI.construct(self, gardenData, gType)

        self.dnaCode = gardenData.getUint16()
    def __init__(self, air, gardenManager, ownerIndex):
        DistributedStatuaryAI.__init__(self, air, gardenManager, ownerIndex)

        self.growthLevel = None
        self.occupier = ChangingStatuaryPlot
    def __init__(self, air, gardenManager, ownerIndex):
        DistributedStatuaryAI.__init__(self, air, gardenManager, ownerIndex)

        self.dnaCode = None
        self.occupier = GardenGlobals.ToonStatuaryPlot
    def pack(self, gardenData):
        DistributedStatuaryAI.construct(self, gardenData)

        self.dnaCode = gardenData.addUint16(self.dnaCode)
    def construct(self, gardenData):
        DistributedStatuaryAI.construct(self, gardenData)

        self.dnaCode = gardenData.getUint16()
Пример #11
0
    def __init__(self, air, gardenManager, ownerIndex):
        DistributedStatuaryAI.__init__(self, air, gardenManager, ownerIndex)

        self.growthLevel = None
        self.occupier = ChangingStatuaryPlot
Пример #12
0
    def construct(self, gardenData):
        DistributedStatuaryAI.construct(self, gardenData)

        # This needs a timestamp to use to cuase changingstatuary to melt.
        self.growthLevel = 0 # They stay unmelted permenantly for the time being
 def __init__(self, air):
     DistributedStatuaryAI.__init__(self, air)
     self.air = air