Testing translation workflow
This commit is contained in:
parent
03b15a73c9
commit
df0f7f0592
28 changed files with 568 additions and 185 deletions
370
i18n/storytelling_assistant_i18n.pot
Normal file
370
i18n/storytelling_assistant_i18n.pot
Normal file
|
@ -0,0 +1,370 @@
|
|||
# LANGUAGE translation for Storytelling Assistant for the following files:
|
||||
# res://main.tscn
|
||||
# res://psyline.tscn
|
||||
# res://traits.tscn
|
||||
#
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 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 ""
|
4
main.gd
4
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)
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"])
|
|
@ -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"])
|
|
@ -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"])
|
|
@ -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"])
|
|
@ -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"])
|
|
@ -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"])
|
|
@ -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"])
|
|
@ -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"])
|
|
@ -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"])
|
|
@ -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é"])
|
|
@ -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"])
|
24
psyline.gd
24
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
|
||||
|
|
|
@ -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
|
||||
|
|
15
resources/psychotype/creator.tres
Normal file
15
resources/psychotype/creator.tres
Normal file
|
@ -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"])
|
15
resources/psychotype/explorer.tres
Normal file
15
resources/psychotype/explorer.tres
Normal file
|
@ -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"])
|
15
resources/psychotype/guardian_angel.tres
Normal file
15
resources/psychotype/guardian_angel.tres
Normal file
|
@ -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"])
|
15
resources/psychotype/heros.tres
Normal file
15
resources/psychotype/heros.tres
Normal file
|
@ -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"])
|
|
@ -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"])
|
15
resources/psychotype/leader.tres
Normal file
15
resources/psychotype/leader.tres
Normal file
|
@ -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"])
|
15
resources/psychotype/lover.tres
Normal file
15
resources/psychotype/lover.tres
Normal file
|
@ -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"])
|
15
resources/psychotype/mad.tres
Normal file
15
resources/psychotype/mad.tres
Normal file
|
@ -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"])
|
15
resources/psychotype/magician.tres
Normal file
15
resources/psychotype/magician.tres
Normal file
|
@ -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"])
|
15
resources/psychotype/ordinary.tres
Normal file
15
resources/psychotype/ordinary.tres
Normal file
|
@ -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"])
|
15
resources/psychotype/rebel.tres
Normal file
15
resources/psychotype/rebel.tres
Normal file
|
@ -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é"])
|
15
resources/psychotype/wise.tres
Normal file
15
resources/psychotype/wise.tres
Normal file
|
@ -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"])
|
Loading…
Reference in a new issue