@&restructuration

This commit is contained in:
electro positron 2024-01-16 14:37:59 +01:00
parent db55f643c3
commit 0ade6ee2ca
13 changed files with 26 additions and 32 deletions

14
errors.txt Normal file
View file

@ -0,0 +1,14 @@
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/characters/conjoint.rpy", line 3: expected statement.
def etat_civil():
^
File "game/engine/score.rpy", line 1: python block expects a non-empty block.
init 10 python:
^
Ren'Py Version: Ren'Py 8.1.3.23091805
Fri Jan 12 21:10:15 2024

Binary file not shown.

Binary file not shown.

View file

@ -1,7 +1,7 @@
renpy.dissolve renpy.geometry
renpy.geometry renpy.texture
renpy.solid
renpy.ftl
renpy.texture
renpy.dissolve renpy.dissolve
renpy.geometry renpy.solid
renpy.solid
renpy.dissolve renpy.geometry
renpy.geometry renpy.solid
renpy.texture
renpy.ftl
renpy.geometry renpy.texture
renpy.dissolve renpy.dissolve

View file

@ -1,10 +0,0 @@
# 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"

View file

@ -40,14 +40,14 @@ init 0 python:
#TODO Nuancer nb enfant par rapport situation familiale en s'appuyant sur des statistiques
self.enfants = renpy.random.randint(0,3)
# situation sociale
self.social = renpy.random.choice(["ouvrier", "employé", "cadre"])
self.social = renpy.random.choice(["technicien", "secrétaire", "graphiste"])
# nombre d'années d'études
# TODO pondérer par des statistiques
self.etudes = renpy.random.randint (0,8)
# nombre d'annés d'expérience sur toute la carrière
self.experience = renpy.random.randint(0, self.age - (18 + self.etudes))
# entreprise employeuse
self.entreprise = renpy.random.choice(["Greenenergie", "Hula-hoop conso", "Fractale"])
self.entreprise = renpy.random.choice(["Greenergie", "Watt-o-watt", "Enercentrale"])
# nombre d'années d'ancienneté dans l'entreprise
self.anciennete = renpy.random.randint(0, self.experience)
# nombre d'années de chômage
@ -66,4 +66,5 @@ init 0 python:
self.salaire = self.salaire + (self.salaire * self.experience * 0.05)
# minoration de 20% si genre = femme
if self.genre == "femme":
self.salaire = self.salaire - (self.salaire * 0.2)
self.salaire = self.salaire - (self.salaire * 0.2)

View file

@ -1,7 +0,0 @@
label comptable
label .aimable
label .bonjour
"Bonjour, vous allez bien aujourd'hui ?"
label .demander_discussion
"Excusez-moi, si ça ne vous dérange pas, j'aimerais voir une petite chose avec vous."

View file

@ -1,4 +0,0 @@
init 10 python:
# Définition des moyens financiers du foyer

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.