def __init__(self, cppthing, **kw): self.base_init(cppthing, kw) # How big the tree is # #set_kw(self,kw,"size",randint(1, 30)) set_kw(self,kw,"height",10) # Just a name for the client # set_kw(self,kw,"sizename",size_to_name(self.height)) # The number of fruit # set_kw(self,kw,"fruits",init_fruits) # The type of fruit # set_kw(self,kw,"fruitname","Seed") # Chance of fruit # set_kw(self,kw,"fruitchance",fruitchance)
def __init__(self, cppthing, **kw): self.base_init(cppthing, kw) set_kw(self,kw,"mass",1.0)
def __init__(self, cppthing, **kw): self.base_init(cppthing, kw) # The type of fruit # set_kw(self, kw, "fruitname", "acorn")
def __init__(self, cppthing, **kw): self.base_init(cppthing, kw) set_kw(self, kw, "rain", 1.0) set_kw(self, kw, "snow", 0.0)
def __init__(self, **kw): self.base_init(kw) set_kw(self,kw,"width",4.0) set_kw(self,kw,"length",4.0)
def __init__(self, **kw): self.base_init(kw) set_kw(self, kw, "width", 4.0) set_kw(self, kw, "length", 4.0)
def __init__(self, cppthing, **kw): self.base_init(cppthing, kw) set_kw(self,kw,"alcohol",0) set_kw(self,kw,"mass",0.2)
def __init__(self, cppthing, **kw): self.base_init(cppthing, kw) # The type of fruit # set_kw(self,kw,"fruitname","apple") set_kw(self,kw,"fruitchance", 15) set_kw(self,kw,"init_fruits", 3)
def __init__(self, cppthing, **kw): self.base_init(cppthing, kw) set_kw(self, kw, "mass", 5.0) self.maxmass = 100.0
def __init__(self, cppthing, **kw): self.base_init(cppthing, kw) set_kw(self,kw,"mass",100.0) self.maxmass=150.0
def __init__(self, **kw): self.base_init(kw) set_kw(self,kw,"mass",5)
def __init__(self, cppthing, **kw): self.base_init(cppthing, kw) # The type of fruit # set_kw(self,kw,"fruitname","acorn")