-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgenerator.py
46 lines (37 loc) · 1.58 KB
/
generator.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Generates a text file containing details about the character
# Takes World, Year, and Animal inputs - with Possible age range, resides and gender
# Proof of concept is: Human, Britain, 2022
import common
from Earth.Entity.Human.humanExperience import humanExperience
from Earth.Entity.Human.humanPersonality import humanPersonality
from Earth.Entity.Human.humanTaste import humanTaste
from Earth.Entity.Human.BladesITD.BladesITD import BladesITD
class generator:
def __init__(self):
pass
def makeChar(self, universe = "Earth",
year = 2022,
animal = "Human",
country = "United Kingdom",
extra = "NA"):
#create character from the ground up
#create experience, dependant on universe, animal, country
#create personality - refined from experience
#create taste - refined from personality
char = {}
if universe == "Earth":
if animal == "Human":
experience = humanExperience()
char = experience.makeHuman(year, country)
personality = humanPersonality()
personality.makePersonality(char)
taste = humanTaste()
taste.makeTaste(char)
if extra == "BladesITD":
bladesITD = BladesITD()
bladesITD.blades(char)
common.saveToJSON(char)
print(char["Name"])
if __name__ == '__main__':
gen = generator()
gen.makeChar(country="Ireland")#, extra="BladesITD")