-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit fc175e5
Showing
25 changed files
with
1,679 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
from Data.Scripts.namelist import NameGen | ||
import PySimpleGUI as sg | ||
|
||
name = NameGen() | ||
|
||
# Define the window's contents | ||
layout = [[sg.Text("What species is your character?")], | ||
[sg.Text(size=(40,2), key='-OUTPUT-')], | ||
[sg.Button('Driftling'), sg.Button('Glean'), sg.Button('Ino'), sg.Button('Kith\'uk'), sg.Button('Peacecraft'), sg.Button('Ror-nan'), sg.Button('Ulran'), sg.Button('Zivoy')], | ||
[sg.HorizontalSeparator()], | ||
[sg.Button('Quit', pad=(4,6))]] | ||
|
||
# Create the window | ||
window = sg.Window('Chris\'s Burn Bryte Name Generator v1.0', layout, background_color='') | ||
|
||
# Display and interact with the Window using an Event Loop | ||
while True: | ||
event, values = window.read() | ||
# See if user wants to quit or window was closed | ||
if event == sg.WINDOW_CLOSED or event == 'Quit': | ||
break | ||
elif event == 'Driftling': | ||
window['-OUTPUT-'].update(name.driftling_name()) | ||
elif event == 'Glean': | ||
window['-OUTPUT-'].update(name.glean_name()) | ||
elif event == 'Ino': | ||
window['-OUTPUT-'].update(name.ino_name()) | ||
elif event == 'Kith\'uk': | ||
window['-OUTPUT-'].update(name.kithuk_name()) | ||
elif event == 'Peacecraft': | ||
window['-OUTPUT-'].update(name.peacecraft_name()) | ||
elif event == 'Ror-nan': | ||
window['-OUTPUT-'].update(name.rornan_name()) | ||
elif event == 'Ulran': | ||
window['-OUTPUT-'].update(name.ulran_name()) | ||
elif event == 'Zivoy': | ||
window['-OUTPUT-'].update(name.zivoy_name()) | ||
|
||
|
||
# Finish up by removing from the screen | ||
window.close() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
## <p align="center">🚀 Thank you for taking an interest! 🔥 | ||
### <p align="center"> Contributions are very welcome! | ||
|
||
This project was started with the intent to learn, explore, and and practice programming. The strength of the open source community lies in the collective knowledge and skill that can be shared by people with any level of experience. | ||
|
||
This program is very simple for the time being, but it undoubtedly has room for improvement. | ||
|
||
## How can I contribute? | ||
### Report Bugs | ||
Submit an issue here on Github following these guidelines: | ||
|
||
- Be clear as to what problem you encountered. | ||
- Explain if it is a recurring issue, or a one time problem. | ||
- Include the operating system used to run the generator. | ||
|
||
### Development Contribution | ||
Please ensure that your pull request contains thorough explaination of your changes and additions. | ||
|
||
As this is intended as a learning experience, treat your code contributions as a lesson to fellow contributors. This may be a bit of a hassle from the perspective of the project itself, but will be of great value to those following it's development. | ||
|
||
Try to include information in commit messages that includes both ***what*** you changed and ***why*** you changed it, even if the change is obvious to you. |
Empty file.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
import random | ||
# import os | ||
# import sys | ||
|
||
# os.chdir(sys.path[0]) | ||
|
||
class NameGen: | ||
|
||
def driftling_name(self): | ||
name_list = [] | ||
with open(r'Data\SpeciesNames\Driftling\DriftlingNames.txt') as file: | ||
for line in file: | ||
name = line.strip() | ||
name_list.append(name) | ||
name = random.choice(name_list).capitalize() | ||
return (f'Your name is {name}.') | ||
|
||
|
||
def glean_name(self): | ||
name_list = [] | ||
reliquary_list = [] | ||
with open(r'Data\SpeciesNames\Glean\GleanFirst.txt') as file: | ||
for line in file: | ||
name = line.strip() | ||
name_list.append(name) | ||
with open(r'Data\SpeciesNames\Glean\GleanReliquary.txt') as file: | ||
for line in file: | ||
reliquary = line.strip() | ||
reliquary_list.append(reliquary) | ||
name = random.choice(name_list).capitalize() + " " + random.choice(reliquary_list).capitalize() | ||
return (f'Your name is {name}.') | ||
|
||
|
||
def ino_name(self): | ||
given_list = [] | ||
star_list = [] | ||
pack_list = [] | ||
house_list = [] | ||
with open(r'Data\SpeciesNames\Ino\InoGiven.txt') as file: | ||
for line in file: | ||
given = line.strip() | ||
given_list.append(given) | ||
with open(r'Data\SpeciesNames\Ino\InoStar.txt') as file: | ||
for line in file: | ||
star = line.strip() | ||
star_list.append(star) | ||
with open(r'Data\SpeciesNames\Ino\InoPack.txt') as file: | ||
for line in file: | ||
pack = line.strip() | ||
pack_list.append(pack) | ||
with open(r'Data\SpeciesNames\Ino\InoHouse.txt') as file: | ||
for line in file: | ||
house = line.strip() | ||
house_list.append(house) | ||
given_name = random.choice(given_list).capitalize() | ||
house_name = random.choice(house_list).capitalize() | ||
name = (f'{random.choice(star_list).capitalize()}{random.choice(given_list).capitalize()}{random.choice(given_list).capitalize()}{random.choice(pack_list).capitalize()}{house_name}{given_name}{random.choice(pack_list).capitalize()}') | ||
nickname = (f'{house_name}{given_name}') | ||
return (f'Your name is {name}.\nInformally, you go by {nickname}.') | ||
|
||
|
||
def kithuk_name(self): | ||
name_list = [] | ||
with open(r'Data\SpeciesNames\Kithuk\KithukNames.txt') as file: | ||
for line in file: | ||
name = line.strip() | ||
name_list.append(name) | ||
name = (f'{random.choice(name_list).capitalize()} {random.choice(name_list).capitalize()}{random.choice(name_list)}') | ||
return (f'Your name is {name}.') | ||
|
||
|
||
def peacecraft_name(self): | ||
adj_list = [] | ||
noun_list = [] | ||
with open(r'Data\SpeciesNames\Peacecraft\PeacecraftAdj.txt') as file: | ||
for line in file: | ||
adj = line.strip() | ||
adj_list.append(adj) | ||
with open(r'Data\SpeciesNames\Peacecraft\PeacecraftNoun.txt') as file: | ||
for line in file: | ||
noun = line.strip() | ||
noun_list.append(noun) | ||
name = random.choice(adj_list).capitalize() + ' ' + random.choice(noun_list).capitalize() | ||
return (f'Your name is {name}.') | ||
|
||
|
||
def rornan_name(self): | ||
name_list = [] | ||
connector_list = ["", "", "", "", "'", "'", "-"] | ||
with open(r'Data\SpeciesNames\Rornan\RornanNames.txt') as file: | ||
for line in file: | ||
name = line.strip() | ||
name_list.append(name) | ||
name = random.choice(name_list).capitalize() + random.choice(connector_list) + random.choice(name_list) | ||
return (f'Your name is {name}.') | ||
|
||
|
||
def ulran_name(self): | ||
start_list = [] | ||
end_list = [] | ||
last_list = [] | ||
with open(r'Data\SpeciesNames\Ulran\UlranStart.txt') as file: | ||
for line in file: | ||
start = line.strip() | ||
start_list.append(start) | ||
with open(r'Data\SpeciesNames\Ulran\UlranEnd.txt') as file: | ||
for line in file: | ||
end = line.strip() | ||
end_list.append(end) | ||
with open(r'Data\SpeciesNames\Ulran\UlranLast.txt') as file: | ||
for line in file: | ||
last = line.strip() | ||
last_list.append(last) | ||
name = f'{random.choice(start_list).capitalize()}{random.choice(end_list)} {random.choice(start_list).capitalize()}{random.choice(last_list)}{random.choice(last_list)}{random.choice(last_list)}' | ||
return (f'Your name is {name}.') | ||
|
||
|
||
def zivoy_name(self): | ||
first_list = [] | ||
last_list = [] | ||
with open(r'Data\SpeciesNames\Zivoy\ZivoyFirst.txt') as file: | ||
for line in file: | ||
first = line.strip() | ||
first_list.append(first) | ||
with open(r'Data\SpeciesNames\Zivoy\ZivoyLast.txt') as file: | ||
for line in file: | ||
last = line.strip() | ||
last_list.append(last) | ||
name = f'{random.choice(first_list).capitalize()} {random.choice(last_list).capitalize()}' | ||
return (f'Your name is {name}.') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
star | ||
blade | ||
ocean | ||
sibling | ||
plasma | ||
friend | ||
worker | ||
debris | ||
field | ||
love | ||
airlock | ||
grove | ||
mesa | ||
wish | ||
desire | ||
promise | ||
glory | ||
joy | ||
anger | ||
hatred | ||
river | ||
mountain | ||
river | ||
sea | ||
fly | ||
soar | ||
glide | ||
might | ||
burn | ||
defy | ||
pain | ||
joy | ||
forgotten | ||
victory | ||
nebula | ||
blaster | ||
charger | ||
rig | ||
blaze | ||
tool | ||
buddy | ||
magic | ||
wisdom | ||
dark | ||
hustle | ||
hunter | ||
pigment | ||
color | ||
hue | ||
melody | ||
tune | ||
chorus | ||
song | ||
chime | ||
sculpture | ||
happy | ||
dancer | ||
void | ||
expanse | ||
moon | ||
grace | ||
sneak | ||
ammo | ||
wrench | ||
hammer | ||
stew | ||
tough | ||
hunter | ||
companion | ||
pilot | ||
gunner | ||
dust |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
layawah | ||
hallowsol | ||
wallahlah | ||
havahah | ||
loswoso | ||
luuellea | ||
oodle | ||
dreena | ||
willina | ||
noolinn | ||
seerana | ||
dwiins | ||
morilia | ||
eentilla | ||
guumno | ||
adeel | ||
looboo | ||
ialiya | ||
booladoo | ||
noonalla | ||
teendrella | ||
mimsola | ||
welleena | ||
woolada | ||
oona | ||
hadana | ||
leemana | ||
sordoona |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
kansa | ||
bulma | ||
xallas | ||
vella | ||
caway | ||
tallamo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
ostrin | ||
yal | ||
marin | ||
foran | ||
vacia | ||
niela | ||
davi | ||
solania | ||
amien | ||
aviella | ||
sofen | ||
maris | ||
tella | ||
morna | ||
callo | ||
sendris | ||
penna | ||
herrisa | ||
gonnosta | ||
zeenis | ||
camwei | ||
jorrin | ||
lemba | ||
furro | ||
meeka | ||
nola | ||
dono | ||
pawa | ||
nochowa | ||
donal | ||
teema | ||
moko | ||
bara | ||
nalis | ||
maric | ||
cosia | ||
vochel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
nove | ||
nova | ||
novo | ||
ore | ||
ora | ||
oro | ||
tine | ||
tina | ||
tino | ||
ciele | ||
ciela | ||
cielo |
Oops, something went wrong.