Created
January 15, 2011 23:11
-
-
Save johnkonstantine/781355 to your computer and use it in GitHub Desktop.
bussiere
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Bussiere_1_01(object): | |
def __init__(self): | |
self.name = "bussiere" | |
self.age = 27 | |
self.age_affectif = 10 | |
self.signe_chinois = "coq" | |
self.defauts = ["Obsede","Vantard","Besoin constant de se montrer","\"lourd\"","Toujours envie d'aider les gens parfois un peu trop","Trop bavards parfois"] | |
self.qualites = ["Calin","Attentionne","Protecteur","Tendance a aider les gens","gentil"] | |
self.competences =["Serrurie":10,"Shibari":12,"Python":13,"Capoeira":12,"Photo":11,"Escalade":12,"Taijutsu":11,"Comedie":13, "Baratin":14,"Discussion":14,"Conduite":7,"Cuisine":12,"Informatique":13,"Jeux":12,"Medecine":6,"Electricité":10,"Graphisme":8,"Comptabilite":8,"Droit":10,"Fiscalité":11,"Bricolage":11,"Musique":10] | |
self.interet = ["manga": ["clamp","blame","GITS"],"anime":["Haruhi","GITS","Hellsing","Hanaukyo maid"],"livre":["gaiman","pratchett","hard science","sf"]] | |
def caliner(self,personne=""): | |
print("%s caline %s"%(self.name,personne))[/bq] | |
def proteger(self,personne=""): | |
print("%s protege %s"%(self.name,personne))[/bq] | |
def servir(self,personne=""): | |
print("%s sert %s"%(self.name,personne))[/bq] | |
def maturation(self): | |
while self.age_affectif < self.age : | |
self.age_affectif += random.randint(0,1) | |
print("en cour de maturation") | |
id_112573 = Bussiere_1_01() | |
print(id_112573.defauts) | |
id_112573.maturation() | |
letter = pickle.dumps(id_112573) | |
letter = zlib.compress(letter) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment