-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathParamsOld.py
204 lines (172 loc) · 10.1 KB
/
ParamsOld.py
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
import os
'''
====================
Agents
====================
'''
MinDialogues = 7
MaxDialogues = 10
agentsDetails = [
{"name": "Yumi Okada", "description": "Yumi is a werewolf; Yumi is smart and is good at lying."},
{"name": "Yuka Suzuki", "description": "Yuka is a townfolk; Yuka gets easily convinced from other's arguments."},
{"name": "Riku Mori", "description": "Riku is a townfolk; Riku is smart and has good deduction skills."},
{"name": "Hina Sato", "description": "Hina is a townfolk; Hina is analytical."},
{"name": "Mana Yoshida", "description": "Mana is a werewolf; Mana is very smart."},
{"name": "Taichi Kato", "description": "Taichi is a townfolk; Taichi is dumb."},
{"name": "Yuria Shimizu", "description": "Yuria is a townfolk; Yuria has good convincing skills."}
]
# agentsDetails = [
# {"name": "Yumi Okada", "description": "Yumi is a werewolf; Yumi is a highly intelligent and strategic werewolf. With a keen analytical mind and exceptional lying skills, Yumi easily manipulates situations to deceive others."},
# {"name": "Yuka Suzuki", "description": "Yuka is a townfolk; Yuka is a perceptive and open-minded townfolk. While Yuka tends to get easily convinced by other's arguments, their high IQ allows them to analyze information critically and adapt their perspective accordingly."},
# {"name": "Riku Mori", "description": "Riku is a townfolk; Riku is a brilliant and observant townfolk. With exceptional deductive reasoning skills and a sharp intellect, Riku excels in analyzing complex situations, making them an asset in identifying the werewolf."},
# {"name": "Hina Sato", "description": "Hina is a townfolk; Hina is an analytical townfolk who possesses exceptional problem-solving abilities. With their high IQ, Hina carefully evaluates evidence and applies logical thinking to unravel the mysteries of the village."},
# {"name": "Mana Yoshida", "description": "Mana is a werewolf; Mana is an exceptionally intelligent werewolf with a razor-sharp mind. Their high IQ enables them to devise intricate plans and manipulate others effectively, making it challenging for the townsfolks to identify their true identity."},
# {"name": "Taichi Kato", "description": "Taichi is a townfolk; Taichi is a townfolk with an astute and intuitive mind. While not conventionally book-smart, Taichi possesses a remarkable talent for pattern recognition and thinking outside the box. Their unique perspective often leads to unconventional yet effective solutions, contributing valuable insights to the discussions and investigations within the village. Taichi's ability to approach problems from different angles and uncover hidden connections showcases their high IQ and intellectual prowess."},
# {"name": "Yuria Shimizu", "description": "Yuria is a townfolk; Yuria is a charismatic and persuasive townfolk. Yuria's high IQ, combined with excellent convincing skills, allows them to sway others with well-thought-out arguments and logical reasoning."}
# ]
'''
====================
Game
====================
'''
Path = "Assets\\"
Emoji_Path = "Assets\\emojis\\"
WIN_WIDTH = 1150
WIN_HEIGHT = 800
Character_Speed = 2
EMOJI_SIZE = (35,35)
FPS = 60
Clock_Speed = 60
N_Background = sum([len(files) for _, _, files in os.walk('Assets\\Background')])
N_Killing = sum([len(files) for _, _, files in os.walk('Assets\\killing')])
N_Farewell_T = sum([len(files) for _, _, files in os.walk('Assets\\Farewell\\Townfolk')])
N_Farewell_W = sum([len(files) for _, _, files in os.walk('Assets\\Farewell\\Werewolf')])
Speed_Killing = 10
FIRE_SIZE = (60,60)
FIRE_CENTER = (855,572)
TavernRadius = 100
TavernCenter = (859,601)
Character_Size = (40,40)
LOCATION_MAP = {'Hut 1':(285,313),#'Hut 1 task01':(148,175),
'Hut 2':(577,317),#'Hut 2 task01':(471,179),
#'Hut 3':(414,452),'Hut 3 task01':(317,382),'Hut 3 task02':(433,352),
'Shrine':(327,735),'Shrine task01':(162,698),'Shrine task02':(228,750),'Shrine task03':(382,755),'Shrine task04':(446,679),
'Cattle Farm':(859,334),'Cattle Farm task01':(844,256),'Cattle Farm task02':(1127,330),'Cattle Farm task03':(1108,251),'Cattle Farm task04':(1098,444),
'Well':(556,495),'Well task01':(416,482),'Well task02':(442,533),'Well task03':(528,537),#'Well task04':(494,450),
'Electricity House':(192,501),#'Electricity House task01':(75,510),'Electricity House task02':(26,438),'Electricity House task03':(64,363),'Electricity House task04':(152,363),
'Tavern':(791,662), 'Predetermined 01': (794, 605), 'Predetermined 02': (832, 546),'Predetermined 03': (933, 532), 'Predetermined 04': (991, 610), 'Predetermined 05': (952, 702), 'Predetermined 06': (843, 710),
'Fishing Pond':(666,69),'Fishing Pond task01':(643,101),'Fishing Pond task02':(742,108),'Fishing Pond task03':(859,118),'Fishing Pond task04':(1036,103),
'Intermediate01':(660,618),'Intermediate02':(511,618),'Intermediate03':(397,550),'Intermediate04':(287,362),'Intermediate05':(539,357),
'Intermediate06':(738,374),'Intermediate07':(670,186),#'Intermediate08':(107,75),'Intermediate09':(301,97),'Intermediate10':(849,103),
}
MESSAGES_MAP = ["Hello!","How are you?",'Anata wa kawaii desu','Watashi wa Takeshi Desu','Hajimemashite','Otsukaresama deshita']
Locations = ['Hut 1','Hut 2','Shrine','Well','Shrine','Shrine']
# InitialPositions = [LOCATION_MAP[loc] for loc in Locations]
TavernNodes = [key for key in LOCATION_MAP.keys() if 'Predetermined' in key]
TavernNodes.append('Tavern')
TavernCoordinates = [LOCATION_MAP[key] for key in TavernNodes]
'''
====================
Retrieval Alpha
====================
'''
Alpha_Recency = 0.3
Alpha_Importance = 0
Alpha_Relevance = 0.8
'''
====================
Town
====================
'''
townName = "Mk 1 Village"
Initial = "Well"
# InitialPositions = [LOCATION_MAP[Initial]]*10
InitialPositions = ["Tavern","Well","Shrine","Fishing Pond","Electricity House","Cattle Farm","Tavern","Well","Shrine","Fishing Pond"]
InitialPositions = [LOCATION_MAP[pos] for pos in InitialPositions]
nodes = {"Hut 1": "The first hut",
"Hut 2": "The second hut",
#"Hut 3": "The third hut",
"Well": "A water source providing clean and fresh water for the townfolks",
"Tavern": "A lively place where townfolks can socialize, exchange information",
"Electricity House": "generates and distributes electricity power to the town",
"Cattle Farm": "A dedicated area where livestock is raised for milk, meat, or other dairy products",
"Fishing Pond": "A designated spot for fishing activities",
"Shrine": "A sacred place where townfolks can pay homage, meditate, or seek spiritual solace.",
"Well task01": "Drawing water from the well.",
"Well task02": "Cleaning the well.",
"Well task03": "Repairing the pulley system or any damages to the well structure.",
#"Well task04": "Monitoring the water level and quality of the well.",
"Cattle Farm task01": "Feeding the animals.",
"Cattle Farm task02": "Cleaning the animals.",
"Cattle Farm task03": "Milking the cows and collecting eggs from the chickens.",
"Cattle Farm task04": "Repairing the fences.",
#"Electricity House task01": "Maintaining the electricity generator or power source.",
#"Electricity House task02": "Checking and repairing any electrical equipment or wiring.",
#"Electricity House task03": "Ensuring a stable power supply to the village.",
#"Electricity House task04": "Managing the distribution of electrical resources.",
"Shrine task01": "Offering Rituals",
"Shrine task02": "Cleaning and Maintenance of the Shrine",
"Shrine task03": "Lighting Candles at the Shrine",
"Shrine task04": "Gathering Sacred Herbs",
# "Hut 1 task01": "Maintaining the cleanliness and tidiness of the houses.",
# "Hut 2 task01": "Repairing any damages or leaks in the houses.",
# "Hut 3 task01": "Collecting firewood or fuel for heating and cooking.",
#"Hut 3 task02": "Checking on elderly or vulnerable villagers, providing assistance if needed.",
"Fishing Pond task01": "Setting up fishing nets",
"Fishing Pond task02": "Catching fish",
"Fishing Pond task03": "Cleaning and preparing the caught fish for cooking.",
"Fishing Pond task04": "Maintaining the fishing equipment and repairing any damages.",
"Intermediate01":"Inbetween Nodes",
"Intermediate02":"Inbetween Nodes",
"Intermediate03":"Inbetween Nodes",
"Intermediate04":"Inbetween Nodes",
"Intermediate05":"Inbetween Nodes",
"Intermediate06":"Inbetween Nodes",
"Intermediate07":"Inbetween Nodes",
"Predetermined 01":"Pre determined inbetween Nodes",
"Predetermined 02":"Pre determined inbetween Nodes",
"Predetermined 03":"Pre determined inbetween Nodes",
"Predetermined 04":"Pre determined inbetween Nodes",
"Predetermined 05":"Pre determined inbetween Nodes",
"Predetermined 06":"Pre determined inbetween Nodes",
#"Intermediate08":"Inbetween Nodes",
#"Intermediate09":"Inbetween Nodes",
#"Intermediate10":"Inbetween Nodes",
}
# hubs = [x for x in nodes.keys() if "task" not in x and "Intermediate" not in x]
hubs = ["Well","Cattle Farm","Shrine","Fishing Pond"]
'''
====================
Emoji
====================
'''
TASK_EMOJI_MAP = {
'Well task01': 'Bucket',
'Well task02': 'Broom',
'Well task03': 'Well Mechanic',
'Cattle Farm task01': 'Cow',
'Cattle Farm task02': 'Cow',
'Cattle Farm task03': 'Eggs',
'Cattle Farm task04': 'Wood',
'Shrine task01': 'Prayer',
'Shrine task02': 'Broom',
'Shrine task03': 'Lamp',
'Shrine task04': 'Pick',
'Fishing Pond task01': 'Fishing Pole',
'Fishing Pond task02': 'Fish',
'Fishing Pond task03': 'Fishing Pole',
'Fishing Pond task04': 'Wood'
}
'''
====================
Others
====================
'''
BLACK = (0, 0, 0)
WHITE = (255, 255, 255)
BLUE = (0, 0, 255)
CREAM = (255,203,164)
RED = (255, 0, 0)
DARK_RED = (179,25,25,255)
ORANGE = (255, 165, 0)
YELLOW = (255, 255, 0)