def __init__(self):
        ITerrestrial.__init__(self)
        Plant.__init__(self)

        self.species = "Mountain Apple Tree"
        self.tolerate_sun = False
        self.high_elevation = True
        self.seeds_produced = 17
        self.insecticide_resistance = "High"
    def __init__(self):
        ITerrestrial.__init__(self)
        Plant.__init__(self)

        self.species = "Rainbow Eucalyptus Tree"
        self.tolerate_shade = True
        self.tolerate_sun = False
        self.rainfall = "Rainy"
        self.seeds_produced = 8
        self.insecticide_resistance = "Low"
コード例 #3
0
 def __init__(self):
   ITerrestrial.__init__(self)
   Plant.__init__(self)
   
   self.species = "Silversword"
   self.tolerate_sun = True
   self.seeds_produced = 22
   self.insecticide_resistance = "High"
   self.rainfall = "Little"
   
   # Was in the original code but doesn't appear to be used
   # self.peak_season = season
コード例 #4
0
    def __init__(self):
        ITerrestrial.__init__(self)
        IFreshwater.__init__(self)
        Plant.__init__(self)

        self.species = "Blue Jade Vine"

        #Technically, the "Sunlight" entry on the readme says "Partial",
        # but it also says it lives in grasslands,
        # which are labeled as having "No Shade"
        self.tolerate_sun = True

        # This being set to false by IFreshwater
        # is not true for this plant if it lives in a swamp
        self.tolerate_stagnant = True

        self.seeds_produced = 0
        self.insecticide_resistance = "Medium"
        self.rainfall = "Little"
コード例 #5
0
 def __init__(self):
     Plant.__init__(self, "Wildflower", "partial", 17, "high")
     self.add_location("naturalFields")
コード例 #6
0
 def __init__(self):
     Plant.__init__(self, "Silversword", "Full", 22, "High")
     self.hospitable_locations = ["Grassland"]
 def __init__(self):
     Plant.__init__(self, "Mountain Apple Tree", "Partial", 17, "High")
     self.hospitable_locations = ["Mountain"]
コード例 #8
0
 def __init__(self):
     Plant.__init__(self, "Silversword")
     Identifiable.__init__(self)
 def __init__(self):
     Plant.__init__(self, "Blue Jade Vine")
     Identifiable.__init__(self)
コード例 #10
0
 def __init__(self):
     Plant.__init__(self, "Silversword", "shade", "high")
     ISeedProducing.__init__(self, 22)
     IDroughtTolerant.__init__(self)
     Identifiable.__init__(self)
 def __init__(self):
     Plant.__init__(self)
     Identifiable.__init__(self)
     ForestPlant.__init__(self)
     self.sunlight = "shade"
     self.species = "Rainbow Eucalyptus Tree"
コード例 #12
0
 def __init__(self):
     Plant.__init__(self, "Mountain Apple Tree", ["mountain"])
     Identifiable.__init__(self)
コード例 #13
0
 def __init__(self):
     Plant.__init__(self, "Silversword", "shade", 22, "high")
     self.add_location("grasslands")
コード例 #14
0
 def __init__(self):
     Plant.__init__(self, "Mountain Apple Tree", "partial", 17, "high")
     self.add_location("mountains")
コード例 #15
0
 def __init__(self):
     Plant.__init__(self, "Blue Jade Vine", "partial", 0, "medium")
     self.add_location("grasslands")
     self.add_location("swamps")
コード例 #16
0
 def __init__(self):
     Plant.__init__(self, "Blue Jade Vine", ["grassland", "swamp"])
     Identifiable.__init__(self)
コード例 #17
0
 def __init__(self):
     Plant.__init__(self, "Sesame", "partial", 17, "high")
     self.add_location("plowedFields")
     self.add_location("naturalFields")
コード例 #18
0
 def __init__(self):
     Plant.__init__(self, "Blue Jade Vine", "Partial", 0, "Medium")
     self.hospitable_locations = ["Grassland", "Swamp"]
コード例 #19
0
 def __init__(self):
     Plant.__init__(self, "Rainbow Eucalyptus Tree", "Full", 8, "low")
     ICanopy.__init__(self)
     Identifiable.__init__(self)
コード例 #20
0
 def __init__(self):
     Plant.__init__(self, "Sunflower", "partial", 17, "high")
     self.add_location("plowedFields")
コード例 #21
0
 def __init__(self):
     Plant.__init__(self, "Rainbow Eucalyptus")
     Identifiable.__init__(self)
コード例 #22
0
 def __init__(self):
     Plant.__init__(self)
     Identifiable.__init__(self)
     GrasslandPlant.__init__(self)
     self.sunlight = "full"
     self.species = "Silversword"
コード例 #23
0
 def __init__(self):
     Plant.__init__(self, "Rainbow Eucalyptus Tree", ["forest"])
     Identifiable.__init__(self)
コード例 #24
0
 def __init__(self):
     Plant.__init__(self, "Rainbow Eucalyptus Tree", "full", 8, "low")
     self.add_location("forests")
コード例 #25
0
 def __init__(self):
     Plant.__init__(self, "Blue Jade Vine", "partial", 0, "Medium")
 def __init__(self):
     Plant.__init__(self)
     Identifiable.__init__(self)
     MountainPlant.__init__(self)
     self.sunlight = "partial"
     self.species = "Mountain Apple Tree"
 def __init__(self):
     Plant.__init__(self, "Rainbow Eucalyptus Tree", "Shade", 8, "Low" )
     self.hospitable_locations = ["Forest"]
     
コード例 #28
0
 def __init__(self):
     Plant.__init__(self, "Silversword", "shade", 22, "high")
     Identifiable.__init__(self)
コード例 #29
0
 def __init__(self):
     Plant.__init__(self, "Mountain Apple Tree", "Partial", 17, "high")
     IRocky.__init__(self)
     Identifiable.__init__(self)