This commit is contained in:
NikolajDanger
2020-03-22 17:55:07 +01:00
parent 49e5f4f6d9
commit 5c76904715
2 changed files with 23 additions and 23 deletions

View File

@ -20,9 +20,9 @@ def setUpDict(cmd : dict):
else: else:
for x in range(len(keys)): for x in range(len(keys)):
if x%3 != 2: if x%3 != 2:
result += keys[x] + ": " + str(values[x]) + "\t" result += "**" + keys[x] + "**" + ": " + str(values[x]) + " "
else: else:
result += keys[x] + ": " + str(values[x]) + "\n" result += "**" + keys[x] + "**" + ": " + str(values[x]) + "\n"
return result return result
else: else:
return "There doesn't seem to be anything here..." return "There doesn't seem to be anything here..."
@ -78,7 +78,7 @@ def characterSheet(character : dict):
text2 = setUpDict(character["Characteristics"]) text2 = setUpDict(character["Characteristics"])
text3 = setUpDict(character["Skills"]) text3 = setUpDict(character["Skills"])
return name, text1+"\n"+text2+divider+text3 return name, text1+"\n\n"+text2+divider+text3
def charData(user : str,cmd : str): def charData(user : str,cmd : str):
with open("characters.json", "r") as f: with open("characters.json", "r") as f:

View File

@ -22,37 +22,37 @@
}, },
"Skills": { "Skills": {
"Astrogation": 0, "Astrogation": 0,
"Athletics": 0,
"Brawl": 0,
"Charm": 0,
"Coercion": 0,
"Computers": 0, "Computers": 0,
"Cool": 0, "Cool": 0,
"Vigilance": 0, "Coordination": 0,
"Core Worlds": 0,
"Discipline": 0,
"Gunnery": 0,
"Leadership": 0,
"Lightsaber": 0,
"Lore": 0,
"Mechanics": 0, "Mechanics": 0,
"Medicine": 0,
"Melee": 0, "Melee": 0,
"Negotiation": 0,
"Outer Rim": 0,
"Perception": 0, "Perception": 0,
"Piloting - Planetary": 0,
"Piloting - Space": 0, "Piloting - Space": 0,
"Ranged - Heavy": 0, "Ranged - Heavy": 0,
"Ranged - Light": 0, "Ranged - Light": 0,
"Athletics": 0,
"Coercion": 0,
"Coordination": 0,
"Charm": 0,
"Medicine": 0,
"Negotiation": 0,
"Piloting - Planetary": 0,
"Stealth": 0,
"Skullduggery": 0,
"Brawl": 0,
"Discipline": 0,
"Gunnery": 0,
"Core Worlds": 0,
"Outer Rim": 0,
"Underworld": 0,
"Leadership": 0,
"Lore": 0,
"Resilience": 0, "Resilience": 0,
"Skullduggery": 0,
"Stealth": 0,
"Streetwise": 0, "Streetwise": 0,
"Survival": 0, "Survival": 0,
"Xenology": 0, "Underworld": 0,
"Lightsaber": 0 "Vigilance": 0,
"Xenology": 0
}, },
"Lightsaber Characteristic": "Brawn", "Lightsaber Characteristic": "Brawn",
"Obligations": {}, "Obligations": {},