Fixed some things
This commit is contained in:
@ -168,7 +168,7 @@ def parseChar(user : str, cmd : str):
|
|||||||
json.dump(data,f,indent = 4)
|
json.dump(data,f,indent = 4)
|
||||||
return "", "Character for " + user + " created"
|
return "", "Character for " + user + " created"
|
||||||
else:
|
else:
|
||||||
if cmd == "purge":
|
if cmd == "Purge":
|
||||||
del data[user]
|
del data[user]
|
||||||
with open("resources/swcharacters.json", "w") as f:
|
with open("resources/swcharacters.json", "w") as f:
|
||||||
json.dump(data,f,indent = 4)
|
json.dump(data,f,indent = 4)
|
||||||
|
@ -1,75 +1,4 @@
|
|||||||
{
|
{
|
||||||
"Nikolaj": {
|
|
||||||
"Name": "Jared",
|
|
||||||
"Species": "",
|
|
||||||
"Career": "",
|
|
||||||
"Specialization Trees": [],
|
|
||||||
"Soak": 0,
|
|
||||||
"Wound Threshold": 0,
|
|
||||||
"Wounds": 0,
|
|
||||||
"Strain Threshold": 0,
|
|
||||||
"Strain": 0,
|
|
||||||
"Defense, Ranged": 0,
|
|
||||||
"Defense, Melee": 0,
|
|
||||||
"Force Rating": 0,
|
|
||||||
"Characteristics": {
|
|
||||||
"Brawn": 5,
|
|
||||||
"Agility": 0,
|
|
||||||
"Intellect": 0,
|
|
||||||
"Cunning": 0,
|
|
||||||
"Willpower": 0,
|
|
||||||
"Presence": 0
|
|
||||||
},
|
|
||||||
"Skills": {
|
|
||||||
"Astrogation": 0,
|
|
||||||
"Athletics": 0,
|
|
||||||
"Brawl": 1,
|
|
||||||
"Charm": 0,
|
|
||||||
"Coercion": 0,
|
|
||||||
"Computers": 0,
|
|
||||||
"Cool": 0,
|
|
||||||
"Coordination": 0,
|
|
||||||
"Core Worlds": 0,
|
|
||||||
"Discipline": 0,
|
|
||||||
"Gunnery": 0,
|
|
||||||
"Leadership": 0,
|
|
||||||
"Lightsaber": 0,
|
|
||||||
"Lore": 0,
|
|
||||||
"Mechanics": 0,
|
|
||||||
"Medicine": 0,
|
|
||||||
"Melee": 0,
|
|
||||||
"Negotiation": 0,
|
|
||||||
"Outer Rim": 0,
|
|
||||||
"Perception": 0,
|
|
||||||
"Piloting - Planetary": 0,
|
|
||||||
"Piloting - Space": 0,
|
|
||||||
"Ranged - Heavy": 0,
|
|
||||||
"Ranged - Light": 0,
|
|
||||||
"Resilience": 0,
|
|
||||||
"Skullduggery": 0,
|
|
||||||
"Stealth": 0,
|
|
||||||
"Streetwise": 0,
|
|
||||||
"Survival": 0,
|
|
||||||
"Underworld": 0,
|
|
||||||
"Vigilance": 0,
|
|
||||||
"Xenology": 0
|
|
||||||
},
|
|
||||||
"Lightsaber Characteristic": "Brawn",
|
|
||||||
"Obligations": {},
|
|
||||||
"Morality": {
|
|
||||||
"Emotional Weakness": "",
|
|
||||||
"Emotional Strength": "",
|
|
||||||
"Conflict": "",
|
|
||||||
"Morality": ""
|
|
||||||
},
|
|
||||||
"Credits": 0,
|
|
||||||
"Equipment": [],
|
|
||||||
"Armor": "",
|
|
||||||
"Critical Injuries": {},
|
|
||||||
"Weapons": {},
|
|
||||||
"Talents": {},
|
|
||||||
"Force Powers": {}
|
|
||||||
},
|
|
||||||
"TestUser": {
|
"TestUser": {
|
||||||
"Name": "New Character",
|
"Name": "New Character",
|
||||||
"Species": "",
|
"Species": "",
|
||||||
|
@ -13,12 +13,12 @@
|
|||||||
"Defense, Melee": 0,
|
"Defense, Melee": 0,
|
||||||
"Force Rating": 0,
|
"Force Rating": 0,
|
||||||
"Characteristics": {
|
"Characteristics": {
|
||||||
"Brawn": 0,
|
"Brawn": 2,
|
||||||
"Agility": 0,
|
"Agility": 2,
|
||||||
"Intellect": 0,
|
"Intellect": 2,
|
||||||
"Cunning": 0,
|
"Cunning": 2,
|
||||||
"Willpower": 0,
|
"Willpower": 2,
|
||||||
"Presence": 0
|
"Presence": 2
|
||||||
},
|
},
|
||||||
"Skills": {
|
"Skills": {
|
||||||
"Astrogation": 0,
|
"Astrogation": 0,
|
||||||
|
Reference in New Issue
Block a user