-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
29 lines (20 loc) · 2.92 KB
/
main.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
from art import *
from textwrap import wrap
import sys, time
#my modules
import stats, inv, cmds, special, story, nouns
def main():
print("Before you make your choice, you need to choose your stats. You also need to name your player. Unless you want to be called player, that's up to you.")
print("Right, so if you played Fallout, you'll understand that stat system. I'm 'borrowing' the SPECIAL system. If you pay me, I'll max out your stats. jk jk ")
print()
player_name = input('What is your name? ')
strength, perception, endurance, charisma, intelligence, agility, luck = special.get_special_stats()
stats.save_stats(player_name, strength, perception, endurance, charisma, intelligence, agility, luck)
usr_story_list =[]
inv.add_to_inventory({'flyer': "You are cordially invited to participate in the most prestigious event of the galaxy!\nThe Cosmic Tournament\nUncover the Secrets of the Nexus Rift and Prove Your Magical Prowess\nLocation: Nexus Rift Arena, Astral Citadel\nDear <Person Name Here>,\nWe are pleased to extend an exclusive invitation to you on behalf of the renowned Magical Academy. You have been recognized as one of the most promising mages, and we believe that you have what it takes to compete in the Cosmic Tournament.\nPrepare to embark on an extraordinary journey, where magic and space converge in a spectacle unlike any other. The Nexus Rift, a mystical anomaly that intertwines realms, will serve as the battleground for this legendary event. It is within this enigmatic gateway that you will unlock the true extent of your magical abilities and uncover the untold secrets of the universe.\nThe Cosmic Tournament is a rare opportunity to showcase your skills, engage with fellow enchanters from across the galaxy, and forge lasting alliances. Engross yourself in thrilling challenges, navigate treacherous puzzles, and face formidable opponents on your path to victory.\nRemember, the fate of the galaxy hangs in the balance. Dark forces threaten to disrupt the harmonious coexistence of magic and technology. It is up to you, the chosen ones, to restore order and safeguard the Nexus Rift from impending doom.\nJoin us, and let your name be etched into the annals of history as a champion of the Cosmic Tournament!\nTo confirm your participation, kindly reply to this invitation at your earliest convenience. Upon acceptance, further instructions will be provided regarding travel arrangements and tournament regulations.\nMay your spells be powerful, your resolve unyielding, and your destiny entwined with the stars!\nYours magically,\nThe Starfire Corporation"})
usr_story_list.append(cmds.story_choice(story.into_story(player_name)))
usr_story_list.append(cmds.story_choice(story.next_part(usr_story_list[-1], player_name)))
while usr_story_list[-1] != 'quit':
usr_story_list.append(cmds.story_choice(story.next_part(usr_story_list[-1], player_name)))
if __name__ == "__main__":
main()