added a few traits

This commit is contained in:
martyTF 2026-01-26 17:35:55 +01:00
parent ae1da3a3d6
commit 30d928d28d
5 changed files with 564 additions and 19 deletions

View file

@ -46,7 +46,7 @@ func create_module(module,i):
pass
"multi":
for j in config.get_value(item,i,[]):
module_scene.module_type = LineEdit
module_scene.module_type = Button
module_scene.value = j
module_scene.init()
var conf_category = ConfigFile.new()
@ -58,6 +58,7 @@ func create_module(module,i):
if not config.get_value(item,i,[]).has(j):
add_stat.add_item(j)
add_stat.select(0)
module_scene.get_child(0).get_child(1).add_child(add_stat)
"single":
var conf_category = ConfigFile.new()
conf_category.load("res://02 - Configurations/" + i + ".ini")
@ -67,17 +68,17 @@ func create_module(module,i):
for j in conf_category.get_sections():
add_stat.add_item(j)
add_stat.select(1 + conf_category.get_sections().find(config.get_value(item,i,[""])[0]))
module_scene.get_child(0).get_child(1).add_child(add_stat)
"Text":
match module[1]:
"short":
var stat = LineEdit.new()
stat.text = str(config.get_value(item,i,""))
module_scene.module_type = LineEdit
module_scene.value = str(config.get_value(item,i,""))
module_scene.init()
"long":
var stat = TextEdit.new()
stat.wrap_mode = 1
stat.clip_contents = false
stat.text = config.get_value(item,i,"")
module_scene.init()
module_scene.module_type = TextEdit
module_scene.value = str(config.get_value(item,i,""))
module_scene.init()
#func rec(i,conf,k):
#var conff = "res://02 - Configurations/" + conf + ".ini"

View file

@ -1,8 +1,8 @@
extends Control
var text
var module_type = Button
var value = 0
var module_type
var value
func init():

View file

@ -1,3 +1,20 @@
[ character ]
name="Text:short"
xenoline="Array:list:single"
xenogerm="Array:list:multi"
faction="Array:list:multi"
backstory="Text:long"
childhood="Array:list:multi"
youth="Array:list:multi"
trait="Array:list:multi"
stat="Array:list:multi"
skill="Array:list:multi"
pet="Array:list:multi"
[ skill ]
action="Text:long"

View file

@ -1,24 +1,23 @@
[Grondir]
type="character"
name=["Grondir", "Grondir Fearweaver"]
name="Grondir Fearweaver"
birthday="7.01.5389"
backstory="After decades in the mines, Grondir was one of the miners who found the Monolith in that horrible, jagged cave. On the third day of Spring, 5521, he was captured by the The Cultists of Campath for questioning."
childhood=[]
childhood=["Miner"]
youth=[]
xenoline=["Dwarf"]
xenogene=[]
faction=["Unaffiliated"]
pet=[]
trait=[]
trait=["Conservative", "Dogmatic"]
skill=[]
stat=[]
[Alveus]
type="character"
name=["Alveus", "The First"]
xenoline=[]
name="Alveus"
backstory="Alveus, the first Inhuman, trapped on Maveth, able to control other Inhumans."
trait=["Tough"]
faction=["Cultists of Campath"]

View file

@ -11,10 +11,6 @@ stat=["Mining"]
character="Tough characters have, through training or genetics, adapted their body to withstand external physical harm."
attribute=[4, 0, 0, 0]
[Neurotic]
type="trait"
[Iron-Willed]
type="trait"
@ -24,3 +20,535 @@ stat=["Certainty"]
[Normal]
type="trait"
[Authoritarian]
type="trait"
[Intolerant]
type="trait"
[Cynical]
type="trait"
[Narrow-minded]
type="trait"
[Inflexible]
type="trait"
[Pessimistic]
type="trait"
[Hardheaded]
type="trait"
[Prejudiced]
type="trait"
[Dogmatic]
type="trait"
[Conservative]
type="trait"
[Stubborn]
type="trait"
[Traditional]
type="trait"
[Skeptical]
type="trait"
[Resistant]
type="trait"
[Realistic]
type="trait"
[Pragmatic]
type="trait"
[Unbiased]
type="trait"
[Receptive]
type="trait"
[Open-minded]
type="trait"
[Curios]
type="trait"
[Philosophical]
type="trait"
[Flexible]
type="trait"
[Creative]
type="trait"
[Inquisitive]
type="trait"
[Tolerant]
type="trait"
[Progressive]
type="trait"
[Optimistic]
type="trait"
[Adventurous]
type="trait"
[Negligient]
type="trait"
[Irresponsible]
type="trait"
[Careless]
type="trait"
[Lazy]
type="trait"
[Hedonistic]
type="trait"
[Impulsive]
type="trait"
[Disorganized]
type="trait"
[Unreliable]
type="trait"
[Procrastinating]
type="trait"
[Impatient]
type="trait"
[Unorganized]
type="trait"
[Indicisive]
type="trait"
[Distracted]
type="trait"
[Casual]
type="trait"
[Practical]
type="trait"
[Dilligent]
type="trait"
[Punctual]
type="trait"
[Patient]
type="trait"
[Responsible]
type="trait"
[Dependable]
type="trait"
[Disciplined]
type="trait"
[Thorough]
type="trait"
[Efficient]
type="trait"
[Goal-oriented]
type="trait"
[Ambitious]
type="trait"
[Persevering]
type="trait"
[Methodical]
type="trait"
[Perfectionist]
type="trait"
[Solitary]
type="trait"
[Reclusive]
type="trait"
[Private]
type="trait"
[Withdrawn]
type="trait"
[Reserved]
type="trait"
[Shy]
type="trait"
[Introspective]
type="trait"
[Independant]
type="trait"
[Submissive]
type="trait"
[Reflective]
type="trait"
[Quiet]
type="trait"
[Serious]
type="trait"
[Aloof]
type="trait"
[Ambivert]
type="trait"
[Easy-going]
type="trait"
[Outgoing]
type="trait"
[Sociable]
type="trait"
[Expressive]
type="trait"
[Passionate]
type="trait"
[Flamboyant]
type="trait"
[Flirtatious]
type="trait"
[Cruel]
type="trait"
[Greedy]
type="trait"
[Deceptive]
type="trait"
[Manipulative]
type="trait"
[Selfish]
type="trait"
[Boastful]
type="trait"
[Contemplative]
type="trait"
[Jealous]
type="trait"
[Rude]
type="trait"
[Sarcastic]
type="trait"
[Vain]
type="trait"
[Competitive]
type="trait"
[Arrogant]
type="trait"
[Argumentative]
type="trait"
[Polite]
type="trait"
[Diplomatic]
type="trait"
[Cooperative]
type="trait"
[Trusting]
type="trait"
[Honest]
type="trait"
[Loyal]
type="trait"
[Kind]
type="trait"
[Caring]
type="trait"
[Compassionate]
type="trait"
[Generous]
type="trait"
[Humorous]
type="trait"
[Forgiving]
type="trait"
[Charming]
type="trait"
[Altruistic]
type="trait"
[Serene]
type="trait"
[Stoic]
type="trait"
[Hardy]
type="trait"
[Poised]
type="trait"
[Grounded]
type="trait"
[Calm]
type="trait"
[Adaptable]
type="trait"
[Sensible]
type="trait"
[Confident]
type="trait"
[Focused]
type="trait"
[Stable]
type="trait"
[Resilient]
type="trait"
[Relaxed]
type="trait"
[Concerned]
type="trait"
[Restless]
type="trait"
[Fickle]
type="trait"
[Wary]
type="trait"
[Tense]
type="trait"
[Anxious]
type="trait"
[Vulnerable]
type="trait"
[Sensitive]
type="trait"
[Irritable]
type="trait"
[Moody]
type="trait"
[Nervous]
type="trait"
[Insecure]
type="trait"
[Self-critical]
type="trait"
[Depressed]
type="trait"
[Panicky]
type="trait"