added a few traits
This commit is contained in:
parent
ae1da3a3d6
commit
30d928d28d
5 changed files with 564 additions and 19 deletions
|
|
@ -46,7 +46,7 @@ func create_module(module,i):
|
||||||
pass
|
pass
|
||||||
"multi":
|
"multi":
|
||||||
for j in config.get_value(item,i,[]):
|
for j in config.get_value(item,i,[]):
|
||||||
module_scene.module_type = LineEdit
|
module_scene.module_type = Button
|
||||||
module_scene.value = j
|
module_scene.value = j
|
||||||
module_scene.init()
|
module_scene.init()
|
||||||
var conf_category = ConfigFile.new()
|
var conf_category = ConfigFile.new()
|
||||||
|
|
@ -58,6 +58,7 @@ func create_module(module,i):
|
||||||
if not config.get_value(item,i,[]).has(j):
|
if not config.get_value(item,i,[]).has(j):
|
||||||
add_stat.add_item(j)
|
add_stat.add_item(j)
|
||||||
add_stat.select(0)
|
add_stat.select(0)
|
||||||
|
module_scene.get_child(0).get_child(1).add_child(add_stat)
|
||||||
"single":
|
"single":
|
||||||
var conf_category = ConfigFile.new()
|
var conf_category = ConfigFile.new()
|
||||||
conf_category.load("res://02 - Configurations/" + i + ".ini")
|
conf_category.load("res://02 - Configurations/" + i + ".ini")
|
||||||
|
|
@ -67,17 +68,17 @@ func create_module(module,i):
|
||||||
for j in conf_category.get_sections():
|
for j in conf_category.get_sections():
|
||||||
add_stat.add_item(j)
|
add_stat.add_item(j)
|
||||||
add_stat.select(1 + conf_category.get_sections().find(config.get_value(item,i,[""])[0]))
|
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":
|
"Text":
|
||||||
match module[1]:
|
match module[1]:
|
||||||
"short":
|
"short":
|
||||||
var stat = LineEdit.new()
|
module_scene.module_type = LineEdit
|
||||||
stat.text = str(config.get_value(item,i,""))
|
module_scene.value = str(config.get_value(item,i,""))
|
||||||
|
module_scene.init()
|
||||||
"long":
|
"long":
|
||||||
var stat = TextEdit.new()
|
module_scene.module_type = TextEdit
|
||||||
stat.wrap_mode = 1
|
module_scene.value = str(config.get_value(item,i,""))
|
||||||
stat.clip_contents = false
|
module_scene.init()
|
||||||
stat.text = config.get_value(item,i,"")
|
|
||||||
module_scene.init()
|
|
||||||
|
|
||||||
#func rec(i,conf,k):
|
#func rec(i,conf,k):
|
||||||
#var conff = "res://02 - Configurations/" + conf + ".ini"
|
#var conff = "res://02 - Configurations/" + conf + ".ini"
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
extends Control
|
extends Control
|
||||||
|
|
||||||
var text
|
var text
|
||||||
var module_type = Button
|
var module_type
|
||||||
var value = 0
|
var value
|
||||||
|
|
||||||
|
|
||||||
func init():
|
func init():
|
||||||
|
|
|
||||||
|
|
@ -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 ]
|
[ skill ]
|
||||||
|
|
||||||
action="Text:long"
|
action="Text:long"
|
||||||
|
|
|
||||||
|
|
@ -1,24 +1,23 @@
|
||||||
[Grondir]
|
[Grondir]
|
||||||
|
|
||||||
type="character"
|
type="character"
|
||||||
name=["Grondir", "Grondir Fearweaver"]
|
name="Grondir Fearweaver"
|
||||||
birthday="7.01.5389"
|
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."
|
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=[]
|
youth=[]
|
||||||
xenoline=["Dwarf"]
|
xenoline=["Dwarf"]
|
||||||
xenogene=[]
|
xenogene=[]
|
||||||
faction=["Unaffiliated"]
|
faction=["Unaffiliated"]
|
||||||
pet=[]
|
pet=[]
|
||||||
trait=[]
|
trait=["Conservative", "Dogmatic"]
|
||||||
skill=[]
|
skill=[]
|
||||||
stat=[]
|
stat=[]
|
||||||
|
|
||||||
[Alveus]
|
[Alveus]
|
||||||
|
|
||||||
type="character"
|
type="character"
|
||||||
name=["Alveus", "The First"]
|
name="Alveus"
|
||||||
xenoline=[]
|
|
||||||
backstory="Alveus, the first Inhuman, trapped on Maveth, able to control other Inhumans."
|
backstory="Alveus, the first Inhuman, trapped on Maveth, able to control other Inhumans."
|
||||||
trait=["Tough"]
|
trait=["Tough"]
|
||||||
faction=["Cultists of Campath"]
|
faction=["Cultists of Campath"]
|
||||||
|
|
|
||||||
|
|
@ -11,10 +11,6 @@ stat=["Mining"]
|
||||||
character="Tough characters have, through training or genetics, adapted their body to withstand external physical harm."
|
character="Tough characters have, through training or genetics, adapted their body to withstand external physical harm."
|
||||||
attribute=[4, 0, 0, 0]
|
attribute=[4, 0, 0, 0]
|
||||||
|
|
||||||
[Neurotic]
|
|
||||||
|
|
||||||
type="trait"
|
|
||||||
|
|
||||||
[Iron-Willed]
|
[Iron-Willed]
|
||||||
|
|
||||||
type="trait"
|
type="trait"
|
||||||
|
|
@ -24,3 +20,535 @@ stat=["Certainty"]
|
||||||
[Normal]
|
[Normal]
|
||||||
|
|
||||||
type="trait"
|
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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue