From df0f7f0592a9242c3b7298d51be025ec38fa3a0d Mon Sep 17 00:00:00 2001 From: Yann Kervran Date: Wed, 27 Nov 2024 15:20:30 +0100 Subject: [PATCH] Testing translation workflow --- i18n/storytelling_assistant_i18n.pot | 370 ++++++++++++++++++ main.gd | 4 + project.godot | 7 + psychotype/creator.tres | 15 - psychotype/explorer.tres | 15 - psychotype/guardian_angel.tres | 15 - psychotype/heros.tres | 15 - psychotype/leader.tres | 15 - psychotype/lover.tres | 15 - psychotype/mad.tres | 15 - psychotype/magician.tres | 15 - psychotype/ordinary.tres | 15 - psychotype/rebel.tres | 15 - psychotype/wise.tres | 15 - psyline.gd | 24 +- psyline.tscn | 2 + resources/psychotype/creator.tres | 15 + resources/psychotype/explorer.tres | 15 + resources/psychotype/guardian_angel.tres | 15 + resources/psychotype/heros.tres | 15 + .../psychotype}/innocent.tres | 16 +- resources/psychotype/leader.tres | 15 + resources/psychotype/lover.tres | 15 + resources/psychotype/mad.tres | 15 + resources/psychotype/magician.tres | 15 + resources/psychotype/ordinary.tres | 15 + resources/psychotype/rebel.tres | 15 + resources/psychotype/wise.tres | 15 + 28 files changed, 568 insertions(+), 185 deletions(-) create mode 100644 i18n/storytelling_assistant_i18n.pot delete mode 100644 psychotype/creator.tres delete mode 100644 psychotype/explorer.tres delete mode 100644 psychotype/guardian_angel.tres delete mode 100644 psychotype/heros.tres delete mode 100644 psychotype/leader.tres delete mode 100644 psychotype/lover.tres delete mode 100644 psychotype/mad.tres delete mode 100644 psychotype/magician.tres delete mode 100644 psychotype/ordinary.tres delete mode 100644 psychotype/rebel.tres delete mode 100644 psychotype/wise.tres create mode 100644 resources/psychotype/creator.tres create mode 100644 resources/psychotype/explorer.tres create mode 100644 resources/psychotype/guardian_angel.tres create mode 100644 resources/psychotype/heros.tres rename {psychotype => resources/psychotype}/innocent.tres (52%) create mode 100644 resources/psychotype/leader.tres create mode 100644 resources/psychotype/lover.tres create mode 100644 resources/psychotype/mad.tres create mode 100644 resources/psychotype/magician.tres create mode 100644 resources/psychotype/ordinary.tres create mode 100644 resources/psychotype/rebel.tres create mode 100644 resources/psychotype/wise.tres diff --git a/i18n/storytelling_assistant_i18n.pot b/i18n/storytelling_assistant_i18n.pot new file mode 100644 index 0000000..fff3638 --- /dev/null +++ b/i18n/storytelling_assistant_i18n.pot @@ -0,0 +1,370 @@ +# LANGUAGE translation for Storytelling Assistant for the following files: +# res://main.tscn +# res://psyline.tscn +# res://traits.tscn +# +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: Storytelling Assistant\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" + +#: main.tscn +msgid "Who people think character is" +msgstr "" + +#: main.tscn +msgid "Who character think he is" +msgstr "" + +#: main.tscn +msgid "Character is actually\n" +msgstr "" + +#: main.tscn +msgid "Slogan" +msgstr "" + +#: main.tscn +msgid "Motivation" +msgstr "" + +#: main.tscn +msgid "Goal" +msgstr "" + +#: main.tscn +msgid "Fear" +msgstr "" + +#: main.tscn +msgid "Strategy" +msgstr "" + +#: main.tscn +msgid "Weakness" +msgstr "" + +#: main.tscn +msgid "Problem handling" +msgstr "" + +#: main.tscn +msgid "Traits" +msgstr "" + +#: main.tscn +msgid "Keep psychology" +msgstr "" + +#: main.tscn +msgid "Keep traits" +msgstr "" + +#: resources/psychotype/creator.tres +msgid "CREATOR__TXT_0" +msgstr "" + +msgid "CREATOR__TXT_1" +msgstr "" + +msgid "CREATOR__TXT_2" +msgstr "" + +msgid "CREATOR__TXT_3" +msgstr "" + +msgid "CREATOR__TXT_4" +msgstr "" + +msgid "CREATOR__TXT_5" +msgstr "" + +msgid "CREATOR__TXT_6" +msgstr "" + +msgid "CREATOR__TXT_7" +msgstr "" + +#: resources/psychotype/explorer.tres +msgid "EXPLORER__TXT_0" +msgstr "" + +msgid "EXPLORER__TXT_1" +msgstr "" + +msgid "EXPLORER__TXT_2" +msgstr "" + +msgid "EXPLORER__TXT_3" +msgstr "" + +msgid "EXPLORER__TXT_4" +msgstr "" + +msgid "EXPLORER__TXT_5" +msgstr "" + +msgid "EXPLORER__TXT_6" +msgstr "" + +msgid "EXPLORER__TXT_7" +msgstr "" + +#: resources/psychotype/guardian_angel.tres +msgid "GUARDIAN_ANGEL__TXT_0" +msgstr "" + +msgid "GUARDIAN_ANGEL__TXT_1" +msgstr "" + +msgid "GUARDIAN_ANGEL__TXT_2" +msgstr "" + +msgid "GUARDIAN_ANGEL__TXT_3" +msgstr "" + +msgid "GUARDIAN_ANGEL__TXT_4" +msgstr "" + +msgid "GUARDIAN_ANGEL__TXT_5" +msgstr "" + +msgid "GUARDIAN_ANGEL__TXT_6" +msgstr "" + +msgid "GUARDIAN_ANGEL__TXT_7" +msgstr "" + +#: resources/psychotype/heros.tres +msgid "HEROS__TXT_0" +msgstr "" + +msgid "HEROS__TXT_1" +msgstr "" + +msgid "HEROS__TXT_2" +msgstr "" + +msgid "HEROS__TXT_3" +msgstr "" + +msgid "HEROS__TXT_4" +msgstr "" + +msgid "HEROS__TXT_5" +msgstr "" + +msgid "HEROS__TXT_6" +msgstr "" + +msgid "HEROS__TXT_7" +msgstr "" + + +#: resources/psychotype/innocent.tres +msgid "INNOCENT__TXT_0" +msgstr "" + +msgid "INNOCENT__TXT_1" +msgstr "" + +msgid "INNOCENT__TXT_2" +msgstr "" + +msgid "INNOCENT__TXT_3" +msgstr "" + +msgid "INNOCENT__TXT_4" +msgstr "" + +msgid "INNOCENT__TXT_5" +msgstr "" + +msgid "INNOCENT__TXT_6" +msgstr "" + +msgid "INNOCENT__TXT_7" +msgstr "" + + +#: resources/psychotype/leader.tres +msgid "LEADER__TXT_0" +msgstr "" + +msgid "LEADER__TXT_1" +msgstr "" + +msgid "LEADER__TXT_2" +msgstr "" + +msgid "LEADER__TXT_3" +msgstr "" + +msgid "LEADER__TXT_4" +msgstr "" + +msgid "LEADER__TXT_5" +msgstr "" + +msgid "LEADER__TXT_6" +msgstr "" + +msgid "LEADER__TXT_7" +msgstr "" + +#: resources/psychotype/lover.tres +msgid "LOVER__TXT_0" +msgstr "" + +msgid "LOVER__TXT_1" +msgstr "" + +msgid "LOVER__TXT_2" +msgstr "" + +msgid "LOVER__TXT_3" +msgstr "" + +msgid "LOVER__TXT_4" +msgstr "" + +msgid "LOVER__TXT_5" +msgstr "" + +msgid "LOVER__TXT_6" +msgstr "" + +msgid "LOVER__TXT_7" +msgstr "" + + +#: resources/psychotype/mad.tres +msgid "MAD__TXT_0" +msgstr "" + +msgid "MAD__TXT_1" +msgstr "" + +msgid "MAD__TXT_2" +msgstr "" + +msgid "MAD__TXT_3" +msgstr "" + +msgid "MAD__TXT_4" +msgstr "" + +msgid "MAD__TXT_5" +msgstr "" + +msgid "MAD__TXT_6" +msgstr "" + +msgid "MAD__TXT_7" +msgstr "" + + +#: resources/psychotype/magician.tres +msgid "MAGICIAN__TXT_0" +msgstr "" + +msgid "MAGICIAN__TXT_1" +msgstr "" + +msgid "MAGICIAN__TXT_2" +msgstr "" + +msgid "MAGICIAN__TXT_3" +msgstr "" + +msgid "MAGICIAN__TXT_4" +msgstr "" + +msgid "MAGICIAN__TXT_5" +msgstr "" + +msgid "MAGICIAN__TXT_6" +msgstr "" + +msgid "MAGICIAN__TXT_7" +msgstr "" + +#: resources/psychotype/ordinary.tres +msgid "ORDINARY__TXT_0" +msgstr "" + +msgid "ORDINARY__TXT_1" +msgstr "" + +msgid "ORDINARY__TXT_2" +msgstr "" + +msgid "ORDINARY__TXT_3" +msgstr "" + +msgid "ORDINARY__TXT_4" +msgstr "" + +msgid "ORDINARY__TXT_5" +msgstr "" + +msgid "ORDINARY__TXT_6" +msgstr "" + +msgid "ORDINARY__TXT_7" +msgstr "" + +#: resources/psychotype/rebel.tres +msgid "REBEL__TXT_0" +msgstr "" + +msgid "REBEL__TXT_1" +msgstr "" + +msgid "REBEL__TXT_2" +msgstr "" + +msgid "REBEL__TXT_3" +msgstr "" + +msgid "REBEL__TXT_4" +msgstr "" + +msgid "REBEL__TXT_5" +msgstr "" + +msgid "REBEL__TXT_6" +msgstr "" + +msgid "REBEL__TXT_7" +msgstr "" + +#: resources/psychotype/wise.tres +msgid "WISE__TXT_0" +msgstr "" + +msgid "WISE__TXT_1" +msgstr "" + +msgid "WISE__TXT_2" +msgstr "" + +msgid "WISE__TXT_3" +msgstr "" + +msgid "WISE__TXT_4" +msgstr "" + +msgid "WISE__TXT_5" +msgstr "" + +msgid "WISE__TXT_6" +msgstr "" + +msgid "WISE__TXT_7" +msgstr "" diff --git a/main.gd b/main.gd index 525414a..05365ff 100644 --- a/main.gd +++ b/main.gd @@ -59,3 +59,7 @@ func lets_roll(chosen_seed: int) -> void: # Randomize trait if not keep_traits.button_pressed: traits.populate() + +func update_language(new_language: String) -> void: + TranslationServer.set_locale(new_language) + emit_signal("language_changed", new_language) diff --git a/project.godot b/project.godot index c7e1ae4..dc9c89d 100644 --- a/project.godot +++ b/project.godot @@ -28,3 +28,10 @@ roll={ , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194309,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) ] } + +[internationalization] + +locale/translation_remaps={} +locale/translations=PackedStringArray("res://i18n/storytelling_assistant_fr.po", "res://i18n/storytelling_assistant_en.po") +locale/translations_pot_files=PackedStringArray("res://main.tscn", "res://psyline.tscn", "res://traits.tscn") +locale/test="ens" diff --git a/psychotype/creator.tres b/psychotype/creator.tres deleted file mode 100644 index cd04c56..0000000 --- a/psychotype/creator.tres +++ /dev/null @@ -1,15 +0,0 @@ -[gd_resource type="Resource" script_class="psychotype" load_steps=2 format=3 uid="uid://mfdqg6v6pvti"] - -[ext_resource type="Script" path="res://scripts/resources/psychotype.gd" id="1_iunv2"] - -[resource] -script = ExtResource("1_iunv2") -name = "Créateur" -slogan = "Rendons cela possible" -motivation = "Créer des choses importantes et durables" -goal = "Accomplir un grand projet" -fear = "Une vision ou une réalisation médiocre" -strategy = "Développer ses capacités artistiques et de contrôle" -weakness = "Perfectionnisme, mauvais choix" -problem_handling = "Tenter de l'intégrer comme partie de la solution" -other_names = Array[String](["Artiste", "Inventeur", "Architecte"]) diff --git a/psychotype/explorer.tres b/psychotype/explorer.tres deleted file mode 100644 index 6a87edd..0000000 --- a/psychotype/explorer.tres +++ /dev/null @@ -1,15 +0,0 @@ -[gd_resource type="Resource" script_class="psychotype" load_steps=2 format=3 uid="uid://ch1fdk1kdhr77"] - -[ext_resource type="Script" path="res://scripts/resources/psychotype.gd" id="1_j3na6"] - -[resource] -script = ExtResource("1_j3na6") -name = "Explorateur" -slogan = "Ne m'enferme pas" -motivation = "La liberté de découvrir qui on est en parcourant le monde" -goal = "Avoir une vie meilleure, plus authentique, plus remplie" -fear = "L'enfermement, la conformité et le vide intérieur" -strategy = "Voyager, chercher et expérimenter de nouvelles choses, éviter l'ennui et le conformisme" -weakness = "Déambuler sans but, devenir un paria" -problem_handling = "Fuir" -other_names = Array[String](["Chercheur", "Iconoclaste", "Errant", "Individualiste", "Pèlerin"]) diff --git a/psychotype/guardian_angel.tres b/psychotype/guardian_angel.tres deleted file mode 100644 index ca0706e..0000000 --- a/psychotype/guardian_angel.tres +++ /dev/null @@ -1,15 +0,0 @@ -[gd_resource type="Resource" script_class="psychotype" load_steps=2 format=3 uid="uid://sncpo1xtn0tu"] - -[ext_resource type="Script" path="res://scripts/resources/psychotype.gd" id="1_82a72"] - -[resource] -script = ExtResource("1_82a72") -name = "Ange-Gardien" -slogan = "Aime ton prochain" -motivation = "Protéger et soigner les autres" -goal = "Aider les autres" -fear = "L'égoïsme et l'ingratitude" -strategy = "Faire des choses pour son prochain" -weakness = "Tendance au martyr, à se faire exploiter" -problem_handling = "Prendre soin de ceux que cela blesse" -other_names = Array[String](["Saint", "Altruiste", "Parent", "Soutien"]) diff --git a/psychotype/heros.tres b/psychotype/heros.tres deleted file mode 100644 index 4d81fdd..0000000 --- a/psychotype/heros.tres +++ /dev/null @@ -1,15 +0,0 @@ -[gd_resource type="Resource" script_class="psychotype" load_steps=2 format=3 uid="uid://dj675bd6mo0o8"] - -[ext_resource type="Script" path="res://scripts/resources/psychotype.gd" id="1_6nbty"] - -[resource] -script = ExtResource("1_6nbty") -name = "Héros" -slogan = "Quand on veut, on peut" -motivation = "Prouver sa valeur par des actes courageux" -goal = "Démontrer sa capacité à améliorer le monde" -fear = "La faiblesse, la vulnérabilité, être froussard" -strategy = "Être aussi fort et compétent que possible" -weakness = "Arrogance, perpétuellement en recherche d'un combat à mener" -problem_handling = "Ne pas bouger, l'affronter" -other_names = Array[String](["Guerrier", "Croisé", "Sauveteur", "Superhéros", "Soldat", "Winner"]) diff --git a/psychotype/leader.tres b/psychotype/leader.tres deleted file mode 100644 index a43c649..0000000 --- a/psychotype/leader.tres +++ /dev/null @@ -1,15 +0,0 @@ -[gd_resource type="Resource" script_class="psychotype" load_steps=2 format=3 uid="uid://cp8ilfnea3a1s"] - -[ext_resource type="Script" path="res://scripts/resources/psychotype.gd" id="1_cl2dr"] - -[resource] -script = ExtResource("1_cl2dr") -name = "Meneur" -slogan = "Le pouvoir n'est pas la chose importante, c'est la seule chose" -motivation = "Le contrôle, l'ordre, l'harmonie" -goal = "Créer une famille, une communauté prospère et couronnée de succès" -fear = "Le chaos, se faire renverser" -strategy = "Exercer le pouvoir" -weakness = "Autoritarisme, impossibilité de déléguer" -problem_handling = "Chercher ses aspects constructeurs" -other_names = Array[String](["Dirigeant", "Aristocrate", "Administrateur"]) diff --git a/psychotype/lover.tres b/psychotype/lover.tres deleted file mode 100644 index 7fb5a4d..0000000 --- a/psychotype/lover.tres +++ /dev/null @@ -1,15 +0,0 @@ -[gd_resource type="Resource" script_class="psychotype" load_steps=2 format=3 uid="uid://unsfhulin0xy"] - -[ext_resource type="Script" path="res://scripts/resources/psychotype.gd" id="1_ft86x"] - -[resource] -script = ExtResource("1_ft86x") -name = "Amoureux" -slogan = "Tu es l'unique" -motivation = "L'intimité et la sensualité" -goal = "Être relié avec les gens, le travail, l'environnement qu'ils aiment" -fear = "Être seul, une potiche, non désiré, pas aimé" -strategy = "Se rendre le plus attractif possible, physiquement et émotionnellement" -weakness = "Perdre son identité en cherchant à plaire" -problem_handling = "Aimer le souci" -other_names = Array[String](["Partenaire", "Ami", "Intime", "Sensuel"]) diff --git a/psychotype/mad.tres b/psychotype/mad.tres deleted file mode 100644 index e04b4d7..0000000 --- a/psychotype/mad.tres +++ /dev/null @@ -1,15 +0,0 @@ -[gd_resource type="Resource" script_class="psychotype" load_steps=2 format=3 uid="uid://y6gfhvhjfuod"] - -[ext_resource type="Script" path="res://scripts/resources/psychotype.gd" id="1_4cc85"] - -[resource] -script = ExtResource("1_4cc85") -name = "Fou" -slogan = "On ne vit qu'une fois" -motivation = "Vivre l'instant avec intensité" -goal = "Prendre du bon temps, sans se prendre trop au sérieux" -fear = "S'ennuyer, ennuyer les autres" -strategy = "Jouer, plaisanter, être drôle" -weakness = "Frivolité, perdre son temps" -problem_handling = "Jouer avec" -other_names = Array[String](["Joker", "Comédien", "Idiot", "Clown"]) diff --git a/psychotype/magician.tres b/psychotype/magician.tres deleted file mode 100644 index 3f3dfd5..0000000 --- a/psychotype/magician.tres +++ /dev/null @@ -1,15 +0,0 @@ -[gd_resource type="Resource" script_class="psychotype" load_steps=2 format=3 uid="uid://cjbw34gvp85ih"] - -[ext_resource type="Script" path="res://scripts/resources/psychotype.gd" id="1_10nn4"] - -[resource] -script = ExtResource("1_10nn4") -name = "Magicien" -slogan = "Je fais advenir les choses" -motivation = "Maîtriser les lois fondamentales de l'univers" -goal = "Rendre les rêves réels" -fear = "Des conséquences négatives imprévues" -strategy = "Développer un projet novateur et s'y tenir" -weakness = "Devenir manipulateur" -problem_handling = "Le transformer" -other_names = Array[String](["Visionnaire", "Prophète", "Shaman"]) diff --git a/psychotype/ordinary.tres b/psychotype/ordinary.tres deleted file mode 100644 index d142b85..0000000 --- a/psychotype/ordinary.tres +++ /dev/null @@ -1,15 +0,0 @@ -[gd_resource type="Resource" script_class="psychotype" load_steps=2 format=3 uid="uid://bhqgxdk0xtt23"] - -[ext_resource type="Script" path="res://scripts/resources/psychotype.gd" id="1_xrv31"] - -[resource] -script = ExtResource("1_xrv31") -name = "Ordinaire" -slogan = "Tous les êtres humains se valent" -motivation = "Se connecter aux autres" -goal = "Appartenir" -fear = "Être mis à l'écart" -strategy = "Développer des qualités ordinaires, être pragmatique, réaliste" -weakness = "Prêt à se perdre pour se confondre ou établir des liens, même superficiels" -problem_handling = "En devient la victime" -other_names = Array[String](["Mr tout le monde", "Réaliste", "Voisin", "Majorité silencieuse"]) diff --git a/psychotype/rebel.tres b/psychotype/rebel.tres deleted file mode 100644 index 0aec0d6..0000000 --- a/psychotype/rebel.tres +++ /dev/null @@ -1,15 +0,0 @@ -[gd_resource type="Resource" script_class="psychotype" load_steps=2 format=3 uid="uid://c84hgxmbfum0"] - -[ext_resource type="Script" path="res://scripts/resources/psychotype.gd" id="1_wyytt"] - -[resource] -script = ExtResource("1_wyytt") -name = "Rebelle" -slogan = "Les règles sont faites pour être brisées" -motivation = "La vengeance ou la révolution" -goal = "Renverser ce qui ne nous convient pas" -fear = "Être impuissant ou inutile" -strategy = "Déconstruire, détruire ou choquer" -weakness = "Passer du mauvais côté, se criminaliser" -problem_handling = "Accepter de se voir détruit par le problème, en espérant la métamorphose" -other_names = Array[String](["Bandit", "Sauvage", "Iconoclaste", "Révolutionnaire", "Désaxé"]) diff --git a/psychotype/wise.tres b/psychotype/wise.tres deleted file mode 100644 index d81bd39..0000000 --- a/psychotype/wise.tres +++ /dev/null @@ -1,15 +0,0 @@ -[gd_resource type="Resource" script_class="psychotype" load_steps=2 format=3 uid="uid://dx2kvo1baw2uj"] - -[ext_resource type="Script" path="res://scripts/resources/psychotype.gd" id="1_u8rni"] - -[resource] -script = ExtResource("1_u8rni") -name = "Sage" -slogan = "La vérité te libérera" -motivation = "Découvrir la vérité" -goal = "Utiliser son intelligence, l'analyse, pour comprendre le monde" -fear = "Se faire berner, être mal renseigné ou ignorer" -strategy = "Chercher l'information et le savoir, la réflexion et comprendre les processus" -weakness = "Passer son temps à étudier sans jamais agir" -problem_handling = "Transcender le problème" -other_names = Array[String](["Expert", "Savant", "Penseur", "Philosophe", "Érudit", "Professeur"]) diff --git a/psyline.gd b/psyline.gd index bd40bc4..cfd9756 100644 --- a/psyline.gd +++ b/psyline.gd @@ -34,18 +34,18 @@ func _ready() -> void: func load_resources() -> void: # Add resources in the dict (key = name, value = path) - resources["creator"] = load("res://psychotype/creator.tres") - resources["explorer"] = load("res://psychotype/explorer.tres") - resources["guardian_angel"] = load("res://psychotype/guardian_angel.tres") - resources["heros"] = load("res://psychotype/heros.tres") - resources["innocent"] = load("res://psychotype/innocent.tres") - resources["leader"] = load("res://psychotype/leader.tres") - resources["lover"]= load("res://psychotype/lover.tres") - resources["mad"] = load("res://psychotype/mad.tres") - resources["magician"] = load("res://psychotype/magician.tres") - resources["ordinary"] = load("res://psychotype/ordinary.tres") - resources["rebel"] = load("res://psychotype/rebel.tres") - resources["wise"] = load("res://psychotype/wise.tres") + resources["creator"] = load("res://resources/psychotype/creator.tres") + resources["explorer"] = load("res://resources/psychotype/explorer.tres") + resources["guardian_angel"] = load("res://resources/psychotype/guardian_angel.tres") + resources["heros"] = load("res://resources/psychotype/heros.tres") + resources["innocent"] = load("res://resources/psychotype/innocent.tres") + resources["leader"] = load("res://resources/psychotype/leader.tres") + resources["lover"]= load("res://resources/psychotype/lover.tres") + resources["mad"] = load("res://resources/psychotype/mad.tres") + resources["magician"] = load("res://resources/psychotype/magician.tres") + resources["ordinary"] = load("res://resources/psychotype/ordinary.tres") + resources["rebel"] = load("res://resources/psychotype/rebel.tres") + resources["wise"] = load("res://resources/psychotype/wise.tres") func on_item_selected(index: int) -> void: # When a Choice is made, get the associate resource saved in metadata and display corresponding text diff --git a/psyline.tscn b/psyline.tscn index ced7430..ad172b3 100644 --- a/psyline.tscn +++ b/psyline.tscn @@ -35,6 +35,7 @@ offset_left = 8.0 offset_top = 8.0 offset_right = 112.0 offset_bottom = 80.0 +text = "SLOGAN_TXT" [node name="Motivation_border" type="ColorRect" parent="."] layout_mode = 0 @@ -51,6 +52,7 @@ offset_left = 8.0 offset_top = 8.0 offset_right = 112.0 offset_bottom = 80.0 +text = "MOTIVATION_TXT" [node name="Goal_border" type="ColorRect" parent="."] layout_mode = 0 diff --git a/resources/psychotype/creator.tres b/resources/psychotype/creator.tres new file mode 100644 index 0000000..408aa27 --- /dev/null +++ b/resources/psychotype/creator.tres @@ -0,0 +1,15 @@ +[gd_resource type="Resource" script_class="psychotype" load_steps=2 format=3 uid="uid://bd3kqqjc2l70f"] + +[ext_resource type="Script" path="res://scripts/resources/psychotype.gd" id="1_gxsci"] + +[resource] +script = ExtResource("1_gxsci") +name = "CREATOR__TXT_0" +slogan = "CREATOR__TXT_1" +motivation = "CREATOR__TXT_2" +goal = "CREATOR__TXT_3" +fear = "CREATOR__TXT_4" +strategy = "CREATOR__TXT_5" +weakness = "CREATOR__TXT_6" +problem_handling = "CREATOR__TXT_7" +other_names = Array[String](["Artiste", "Inventeur", "Architecte"]) diff --git a/resources/psychotype/explorer.tres b/resources/psychotype/explorer.tres new file mode 100644 index 0000000..04d32d6 --- /dev/null +++ b/resources/psychotype/explorer.tres @@ -0,0 +1,15 @@ +[gd_resource type="Resource" script_class="psychotype" load_steps=2 format=3 uid="uid://ch1fdk1kdhr77"] + +[ext_resource type="Script" path="res://scripts/resources/psychotype.gd" id="1_j3na6"] + +[resource] +script = ExtResource("1_j3na6") +name = "EXPLORER__TXT_0" +slogan = "EXPLORER__TXT_1" +motivation = "EXPLORER__TXT_2" +goal = "EXPLORER__TXT_3" +fear = "EXPLORER__TXT_4" +strategy = "EXPLORER__TXT_5" +weakness = "EXPLORER__TXT_6" +problem_handling = "EXPLORER__TXT_7" +other_names = Array[String](["Chercheur", "Iconoclaste", "Errant", "Individualiste", "Pèlerin"]) diff --git a/resources/psychotype/guardian_angel.tres b/resources/psychotype/guardian_angel.tres new file mode 100644 index 0000000..65ca233 --- /dev/null +++ b/resources/psychotype/guardian_angel.tres @@ -0,0 +1,15 @@ +[gd_resource type="Resource" script_class="psychotype" load_steps=2 format=3 uid="uid://sncpo1xtn0tu"] + +[ext_resource type="Script" path="res://scripts/resources/psychotype.gd" id="1_82a72"] + +[resource] +script = ExtResource("1_82a72") +name = "GUARDIAN_ANGEL__TXT_0" +slogan = "GUARDIAN_ANGEL__TXT_1" +motivation = "GUARDIAN_ANGEL__TXT_2" +goal = "GUARDIAN_ANGEL__TXT_3" +fear = "GUARDIAN_ANGEL__TXT_4" +strategy = "GUARDIAN_ANGEL__TXT_5" +weakness = "GUARDIAN_ANGEL__TXT_6" +problem_handling = "GUARDIAN_ANGEL__TXT_7" +other_names = Array[String](["Saint", "Altruiste", "Parent", "Soutien"]) diff --git a/resources/psychotype/heros.tres b/resources/psychotype/heros.tres new file mode 100644 index 0000000..c0804c6 --- /dev/null +++ b/resources/psychotype/heros.tres @@ -0,0 +1,15 @@ +[gd_resource type="Resource" script_class="psychotype" load_steps=2 format=3 uid="uid://dj675bd6mo0o8"] + +[ext_resource type="Script" path="res://scripts/resources/psychotype.gd" id="1_6nbty"] + +[resource] +script = ExtResource("1_6nbty") +name = "HEROS__TXT_0" +slogan = "HEROS__TXT_1" +motivation = "HEROS__TXT_2" +goal = "HEROS__TXT_3" +fear = "HEROS__TXT_4" +strategy = "HEROS__TXT_5" +weakness = "HEROS__TXT_6" +problem_handling = "HEROS__TXT_7" +other_names = Array[String](["Guerrier", "Croisé", "Sauveteur", "Superhéros", "Soldat", "Winner"]) diff --git a/psychotype/innocent.tres b/resources/psychotype/innocent.tres similarity index 52% rename from psychotype/innocent.tres rename to resources/psychotype/innocent.tres index defc108..370cbb6 100644 --- a/psychotype/innocent.tres +++ b/resources/psychotype/innocent.tres @@ -4,12 +4,12 @@ [resource] script = ExtResource("1_pside") -name = "Innocent" -slogan = "En quête du bonheur" -motivation = "Accéder au paradis" -goal = "Être heureux" -fear = "Être abandonné pour avoir causé du mal" -strategy = "Faire les choses bien, conformes" -weakness = "Prêter aux autres cette même naïveté" -problem_handling = "Le refuser, chercher de l'aide" +name = "INNOCENT__TXT_0" +slogan = "INNOCENT__TXT_1" +motivation = "INNOCENT__TXT_2" +goal = "INNOCENT__TXT_3" +fear = "INNOCENT__TXT_4" +strategy = "INNOCENT__TXT_5" +weakness = "INNOCENT__TXT_6" +problem_handling = "INNOCENT__TXT_7" other_names = Array[String](["Utopiste", "Traditionnaliste", "Naif", "Mystique", "Enfant", "Rêveur"]) diff --git a/resources/psychotype/leader.tres b/resources/psychotype/leader.tres new file mode 100644 index 0000000..0795ae1 --- /dev/null +++ b/resources/psychotype/leader.tres @@ -0,0 +1,15 @@ +[gd_resource type="Resource" script_class="psychotype" load_steps=2 format=3 uid="uid://cp8ilfnea3a1s"] + +[ext_resource type="Script" path="res://scripts/resources/psychotype.gd" id="1_cl2dr"] + +[resource] +script = ExtResource("1_cl2dr") +name = "LEADER__TXT_0" +slogan = "LEADER__TXT_1" +motivation = "LEADER__TXT_2" +goal = "LEADER__TXT_3" +fear = "LEADER__TXT_4" +strategy = "LEADER__TXT_5" +weakness = "LEADER__TXT_6" +problem_handling = "LEADER__TXT_7" +other_names = Array[String](["Dirigeant", "Aristocrate", "Administrateur"]) diff --git a/resources/psychotype/lover.tres b/resources/psychotype/lover.tres new file mode 100644 index 0000000..c0dd9b6 --- /dev/null +++ b/resources/psychotype/lover.tres @@ -0,0 +1,15 @@ +[gd_resource type="Resource" script_class="psychotype" load_steps=2 format=3 uid="uid://unsfhulin0xy"] + +[ext_resource type="Script" path="res://scripts/resources/psychotype.gd" id="1_ft86x"] + +[resource] +script = ExtResource("1_ft86x") +name = "LOVER__TXT_0" +slogan = "LOVER__TXT_1" +motivation = "LOVER__TXT_2" +goal = "LOVER__TXT_3" +fear = "LOVER__TXT_4" +strategy = "LOVER__TXT_5" +weakness = "LOVER__TXT_6" +problem_handling = "LOVER__TXT_7" +other_names = Array[String](["Partenaire", "Ami", "Intime", "Sensuel"]) diff --git a/resources/psychotype/mad.tres b/resources/psychotype/mad.tres new file mode 100644 index 0000000..01302d3 --- /dev/null +++ b/resources/psychotype/mad.tres @@ -0,0 +1,15 @@ +[gd_resource type="Resource" script_class="psychotype" load_steps=2 format=3 uid="uid://y6gfhvhjfuod"] + +[ext_resource type="Script" path="res://scripts/resources/psychotype.gd" id="1_4cc85"] + +[resource] +script = ExtResource("1_4cc85") +name = "MAD__TXT_0" +slogan = "MAD__TXT_1" +motivation = "MAD__TXT_2" +goal = "MAD__TXT_3" +fear = "MAD__TXT_4" +strategy = "MAD__TXT_5" +weakness = "MAD__TXT_6" +problem_handling = "MAD__TXT_7" +other_names = Array[String](["Joker", "Comédien", "Idiot", "Clown"]) diff --git a/resources/psychotype/magician.tres b/resources/psychotype/magician.tres new file mode 100644 index 0000000..68b490d --- /dev/null +++ b/resources/psychotype/magician.tres @@ -0,0 +1,15 @@ +[gd_resource type="Resource" script_class="psychotype" load_steps=2 format=3 uid="uid://cjbw34gvp85ih"] + +[ext_resource type="Script" path="res://scripts/resources/psychotype.gd" id="1_10nn4"] + +[resource] +script = ExtResource("1_10nn4") +name = "MAGICIAN__TXT_0" +slogan = "MAGICIAN__TXT_1" +motivation = "MAGICIAN__TXT_2" +goal = "MAGICIAN__TXT_3" +fear = "MAGICIAN__TXT_4" +strategy = "MAGICIAN__TXT_5" +weakness = "MAGICIAN__TXT_6" +problem_handling = "MAGICIAN__TXT_7" +other_names = Array[String](["Visionnaire", "Prophète", "Shaman"]) diff --git a/resources/psychotype/ordinary.tres b/resources/psychotype/ordinary.tres new file mode 100644 index 0000000..1ed27e2 --- /dev/null +++ b/resources/psychotype/ordinary.tres @@ -0,0 +1,15 @@ +[gd_resource type="Resource" script_class="psychotype" load_steps=2 format=3 uid="uid://bhqgxdk0xtt23"] + +[ext_resource type="Script" path="res://scripts/resources/psychotype.gd" id="1_xrv31"] + +[resource] +script = ExtResource("1_xrv31") +name = "ORDINARY__TXT_0" +slogan = "ORDINARY__TXT_1" +motivation = "ORDINARY__TXT_2" +goal = "ORDINARY__TXT_3" +fear = "ORDINARY__TXT_4" +strategy = "ORDINARY__TXT_5" +weakness = "ORDINARY__TXT_6" +problem_handling = "ORDINARY__TXT_7" +other_names = Array[String](["Mr tout le monde", "Réaliste", "Voisin", "Majorité silencieuse"]) diff --git a/resources/psychotype/rebel.tres b/resources/psychotype/rebel.tres new file mode 100644 index 0000000..f254e0e --- /dev/null +++ b/resources/psychotype/rebel.tres @@ -0,0 +1,15 @@ +[gd_resource type="Resource" script_class="psychotype" load_steps=2 format=3 uid="uid://c84hgxmbfum0"] + +[ext_resource type="Script" path="res://scripts/resources/psychotype.gd" id="1_wyytt"] + +[resource] +script = ExtResource("1_wyytt") +name = "REBEL__TXT_0" +slogan = "REBEL__TXT_1" +motivation = "REBEL__TXT_2" +goal = "REBEL__TXT_3" +fear = "REBEL__TXT_4" +strategy = "REBEL__TXT_5" +weakness = "REBEL__TXT_6" +problem_handling = "REBEL__TXT_7" +other_names = Array[String](["Bandit", "Sauvage", "Iconoclaste", "Révolutionnaire", "Désaxé"]) diff --git a/resources/psychotype/wise.tres b/resources/psychotype/wise.tres new file mode 100644 index 0000000..1c17494 --- /dev/null +++ b/resources/psychotype/wise.tres @@ -0,0 +1,15 @@ +[gd_resource type="Resource" script_class="psychotype" load_steps=2 format=3 uid="uid://dx2kvo1baw2uj"] + +[ext_resource type="Script" path="res://scripts/resources/psychotype.gd" id="1_u8rni"] + +[resource] +script = ExtResource("1_u8rni") +name = "WISE__TXT_0" +slogan = "WISE__TXT_1" +motivation = "WISE__TXT_2" +goal = "WISE__TXT_3" +fear = "WISE__TXT_4" +strategy = "WISE__TXT_5" +weakness = "WISE__TXT_6" +problem_handling = "WISE__TXT_7" +other_names = Array[String](["Expert", "Savant", "Penseur", "Philosophe", "Érudit", "Professeur"])