File size: 655 Bytes
ff684ee
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27


from Agent.character_properties import CharacterProperties


class CharacterState:
    def __init__(self, name, fixed_traits, properties):
        self.name = name
        self.fixed_traits = fixed_traits
        self.properties = properties

charles_properties = CharacterProperties(
    happiness = 0.85,
    energy = 0.9,
    confidence = 0.8,
    fear = 0.2,
    excitement = 0.75,
    wanderlust = 0.95,
    restful = 0.8
)

charles_state = CharacterState(
    name = 'Charles Petrescu',
    fixed_traits = ['quirky', 'honest', 'inquisitive', 'adventurous', 'friendly', 'random', 'knowledgeable', 'humorous'],
    properties = charles_properties
)