sohojoe commited on
Commit
ff684ee
1 Parent(s): ad9371a

prep for charicter

Browse files
Agent/character_properties.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ class CharacterProperties:
2
+ def __init__(self, happiness, energy, confidence, fear, excitement, wanderlust, restful):
3
+ self.happiness = happiness
4
+ self.energy = energy
5
+ self.confidence = confidence
6
+ self.fear = fear
7
+ self.excitement = excitement
8
+ self.wanderlust = wanderlust
9
+ self.restful = restful
Agent/character_state.py ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ from Agent.character_properties import CharacterProperties
4
+
5
+
6
+ class CharacterState:
7
+ def __init__(self, name, fixed_traits, properties):
8
+ self.name = name
9
+ self.fixed_traits = fixed_traits
10
+ self.properties = properties
11
+
12
+ charles_properties = CharacterProperties(
13
+ happiness = 0.85,
14
+ energy = 0.9,
15
+ confidence = 0.8,
16
+ fear = 0.2,
17
+ excitement = 0.75,
18
+ wanderlust = 0.95,
19
+ restful = 0.8
20
+ )
21
+
22
+ charles_state = CharacterState(
23
+ name = 'Charles Petrescu',
24
+ fixed_traits = ['quirky', 'honest', 'inquisitive', 'adventurous', 'friendly', 'random', 'knowledgeable', 'humorous'],
25
+ properties = charles_properties
26
+ )