11 lines
347 B
Python
11 lines
347 B
Python
# adapter genre en fonction de couple hétéro ou gay
|
|
|
|
def etat_civil():
|
|
if m.conjoint == 1:
|
|
if m.attirance == 1:
|
|
conjoint.genre = m.genre
|
|
if m.attirance ==0 and m.genre == "femme":
|
|
conjoint.genre = "homme"
|
|
if m.attirance ==0 and m.genre == "homme":
|
|
conjoint.genre = "femme"
|