Skip to content

Commit 327f8f5

Browse files
committed
In the "GamePlayer" module, I greatly improved its definition of the variables of a game.
I moved the gaming time files from the "Played" folder to a new folder called "Gaming time". To separate the files of "game sessions played" and gaming time, becoming more organized. I also created the possibility for games to have sub-games, such as DLCs, additional content, and other game modes. The user creates a folder named after the sub-game type, for example, "DLCs". And creates the folders and files of the DLCs within this new folder. Asking the user to choose a sub-game or DLC to play, and defining its variables. And then register the game session played with the DLC name in the JSON and text files. This sub-game system works the same as the media item (season or series) system of the media in the "Watch_History" module.
1 parent c046044 commit 327f8f5

File tree

35 files changed

+2184
-769
lines changed

35 files changed

+2184
-769
lines changed

Module Files/Food_Time/Times.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"Will be hungry": 3
1111
},
1212
"Ate": {
13-
"Object": "2024-01-08 20:28:17-03:00",
13+
"Object": "2024-01-30 17:58:13-03:00",
1414
"Time": 0,
15-
"Time text": "20:28",
15+
"Time text": "17:58",
1616
"Unit": {
1717
"en": "hours",
1818
"pt": "horas"
@@ -23,9 +23,9 @@
2323
}
2424
},
2525
"Can drink water": {
26-
"Object": "2024-01-08 21:08:17-03:00",
26+
"Object": "2024-01-30 18:38:13-03:00",
2727
"Time": 40,
28-
"Time text": "21:08",
28+
"Time text": "18:38",
2929
"Unit": {
3030
"en": "minutes",
3131
"pt": "minutos"
@@ -36,9 +36,9 @@
3636
}
3737
},
3838
"Will be hungry": {
39-
"Object": "2024-01-08 23:28:17-03:00",
39+
"Object": "2024-01-30 20:58:13-03:00",
4040
"Time": 3,
41-
"Time text": "23:28",
41+
"Time text": "20:58",
4242
"Unit": {
4343
"en": "hours",
4444
"pt": "horas"

Module Files/GamePlayer/Texts.json

+36
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
"en": "Game title",
88
"pt": "Título do jogo"
99
},
10+
"with_the_game_title": {
11+
"en": "with the game title",
12+
"pt": "com o título do jogo"
13+
},
1014
"game_category": {
1115
"en": "Game category",
1216
"pt": "Categoria de jogo"
@@ -134,5 +138,37 @@
134138
"the_game_cover": {
135139
"en": "the game cover",
136140
"pt": "a capa do jogo"
141+
},
142+
"games_being_played": {
143+
"en": "Games being played",
144+
"pt": "Jogos sendo jogados"
145+
},
146+
"game_sessions_played_since_{}_until_{}": {
147+
"en": "game sessions played since {} (until {})",
148+
"pt": "sessões de jogo jogadas desde {} (até {})"
149+
},
150+
"game_sessions_played_in": {
151+
"en": "Game sessions played in",
152+
"pt": "Sessões de jogo jogadas em"
153+
},
154+
"game_types_played_in_all_years": {
155+
"en": "Game types played in all years",
156+
"pt": "Tipos de jogo jogados em todos os anos"
157+
},
158+
"number_of_played_times": {
159+
"en": "Number of played times",
160+
"pt": "Número de vezes jogadas"
161+
},
162+
"sub_game_type": {
163+
"en": "Sub-game type",
164+
"pt": "Tipo de sub-jogo"
165+
},
166+
"dlc, upper()": {
167+
"en": "DLC",
168+
"pt": "DLC"
169+
},
170+
"dlcs, upper()": {
171+
"en": "DLCs",
172+
"pt": "DLCs"
137173
}
138174
}

Module Files/Stories/Texts.json

+4
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@
5959
"en": "You skipped the",
6060
"pt": "Você pulou a"
6161
},
62+
"covers, title()": {
63+
"en": "Covers",
64+
"pt": "Capas"
65+
},
6266
"cover_creation": {
6367
"en": "cover creation",
6468
"pt": "criação de capa"

Module Files/Tasks/Texts.json

+12
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,24 @@
7979
"en": "Completed tasks",
8080
"pt": "Tarefas concluídas"
8181
},
82+
"completed_tasks_in": {
83+
"en": "Completed tasks in",
84+
"pt": "Tarefas concluídas em"
85+
},
86+
"task_types_completed_in_all_years": {
87+
"en": "Task types completed in all years",
88+
"pt": "Tipos de tarefas concluídas em todos os anos"
89+
},
8290
"first_task_in_year": {
8391
"en": "First task in year",
8492
"pt": "Primeira tarefa no ano"
8593
},
8694
"{}_task": {
8795
"en": "{} task",
8896
"pt": "tarefa de {}"
97+
},
98+
"productive_things_done_{}_until_{}": {
99+
"en": "productive things done since {} (until {})",
100+
"pt": "coisas produtivas feitas desde {} (até {})"
89101
}
90102
}
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"testing": false,
3-
"verbose": false,
3+
"verbose": true,
44
"user_information": false,
55
"Has active switches": false
66
}

Module Files/Utility/Language/Texts.json

+64
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,10 @@
163163
"en": "List",
164164
"pt": "Lista"
165165
},
166+
"current, title()": {
167+
"en": "Current",
168+
"pt": "Atual"
169+
},
166170
"custom_language": {
167171
"en": "custom language",
168172
"pt": "idioma personalizado"
@@ -1294,6 +1298,10 @@
12941298
"en": "Session duration",
12951299
"pt": "Duração da sessão"
12961300
},
1301+
"duration, title()": {
1302+
"en": "Duration",
1303+
"pt": "Duração"
1304+
},
12971305
"category, title()": {
12981306
"en": "Category",
12991307
"pt": "Categoria"
@@ -1709,6 +1717,14 @@
17091717
"en": "Key",
17101718
"pt": "Chave"
17111719
},
1720+
"drawing, title()": {
1721+
"en": "Drawing",
1722+
"pt": "Desenho"
1723+
},
1724+
"drawings, title()": {
1725+
"en": "Drawings",
1726+
"pt": "Desenhos"
1727+
},
17121728
"drawing_program": {
17131729
"en": "Drawing program",
17141730
"pt": "Programa de desenho"
@@ -1788,6 +1804,54 @@
17881804
"pt": "Datas",
17891805
"en": "Dates"
17901806
},
1807+
"story": {
1808+
"en": "story",
1809+
"pt": "história"
1810+
},
1811+
"story, title()": {
1812+
"en": "Story",
1813+
"pt": "História"
1814+
},
1815+
"stories": {
1816+
"en": "stories",
1817+
"pt": "histórias"
1818+
},
1819+
"stories, title()": {
1820+
"en": "Stories",
1821+
"pt": "Histórias"
1822+
},
1823+
"operational_system": {
1824+
"en": "Operational System",
1825+
"pt": "Sistema Operacional"
1826+
},
1827+
"render, title()": {
1828+
"en": "Render",
1829+
"pt": "Renderização"
1830+
},
1831+
"story_covers": {
1832+
"en": "Story Covers",
1833+
"pt": "Capas de Histórias"
1834+
},
1835+
"covers, title()": {
1836+
"en": "Covers",
1837+
"pt": "Capas"
1838+
},
1839+
"websites, title()": {
1840+
"pt": "Sites",
1841+
"en": "Websites"
1842+
},
1843+
"years, title()": {
1844+
"pt": "Anos",
1845+
"en": "Years"
1846+
},
1847+
"console, title()": {
1848+
"pt": "Video game",
1849+
"en": "Console"
1850+
},
1851+
"mobile, title()": {
1852+
"pt": "Celular",
1853+
"en": "Mobile"
1854+
},
17911855
"genders, type: dict": {
17921856
"en": {
17931857
"masculine": {

Module Files/Watch_History/Texts.json

+16
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,10 @@
415415
"en": "Add more",
416416
"pt": "Adicionar mais"
417417
},
418+
"media_being_watched": {
419+
"en": "Media being watched",
420+
"pt": "Mídia sendo assistida"
421+
},
418422
"things_watched_since_{}_until_{}": {
419423
"en": "things watched since {} (until {})",
420424
"pt": "coisas assistidas desde {} (até {})"
@@ -426,5 +430,17 @@
426430
"media_types_watched_in_all_years": {
427431
"en": "Media types watched in all years",
428432
"pt": "Tipos de mídia assistidos em todos os anos"
433+
},
434+
"number_of_watched_times": {
435+
"en": "Number of watched times",
436+
"pt": "Número de vezes assistidas"
437+
},
438+
"first_watched_media_in_the_year": {
439+
"en": "First watched media in the year",
440+
"pt": "Primeira mídia assistida no ano"
441+
},
442+
"first_watched_media_per_media_type_in_the_year": {
443+
"en": "First watched media per media type in the year",
444+
"pt": "Primeira mídia assistida por tipo de mídia no ano"
429445
}
430446
}

Modules/Christmas/Christmas/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def Define_Lists_And_Dictionaries(self):
161161
"Texts": self.current_year["Folders"]["Christmas"]["Merry Christmas"]["Texts"]
162162
},
163163
"Programs": {
164-
"Foobar2000": self.folders["Program Files (x86)"]["root"] + "foobar2000.exe"
164+
"Foobar2000": self.folders["Program Files (x86)"]["Foobar2000"]["root"] + "foobar2000.exe"
165165
},
166166
"Social Network links": {
167167
"YouTube": "https://www.youtube.com/@Stake2_/",

0 commit comments

Comments
 (0)