OutlandsMud/world/intromenu.py

97 lines
5.0 KiB
Python

from typing import Text
from evennia.utils.evmenu import EvMenu
def start(caller):
text = \
"""
|r▄▄▄·▄▄▌ ▄▄▄· ▐ ▄ ▄▄▄ .▄▄▄▄▄
█ ▄███• ▐█ ▀█ •█▌▐█▀▄.▀·•██
██▀·██▪ ▄█▀▀█ ▐█▐▐▌▐▀▀▪▄ ▐█.▪
█▪·•▐█▌▐▌▐█ ▪▐▌██▐█▌▐█▄▄▌ ▐█▌·
.▀ .▀▀▀ ▀ ▀ ▀▀ █▪ ▀▀▀ ▀▀▀
▄▄ • ▄• ▄▌▄▄▌ ▄▄▄· ▄▄ •
▐█ ▀ ▪█▪██▌██• ▐█ ▀█ ▐█ ▀ ▪
▄█ ▀█▄█▌▐█▌██▪ ▄█▀▀█ ▄█ ▀█▄
▐█▄▪▐█▐█▄█▌▐█▌▐▌▐█ ▪▐▌▐█▄▪▐█
·▀▀▀▀ ▀▀▀ .▀▀▀ ▀ ▀ ·▀▀▀▀ |n
Weldome to Planet Gulag. Since this is a newly created character
you can choose if you want to play the introduction, which will
give you a background story to the world or skip introduction
alltogether and go straight to the character generation and
customization.
Which will it be?
(NOTE: At any time in the intro you can type 'q' to exit the
tutorial and explore your starting area. But you cannot start
the game proper before you have generated your character)
"""
options = ( {"desc": "Show me the introduction",
"goto": "intro_start"},
{"desc": "Skip introduction and proceed to character generation",
"goto": "character_generation"})
return text, options
def intro_start(caller):
text = \
"""
|wCHAPTER ONE:|n
oooooooo_oo______________________ooo_________________________________________________
___oo____oo_ooo___ooooo___________oo__ooooo__oo____o_oo_ooo__oo_ooo___ooooo___o___oo_
___oo____ooo___o_oo____o__________oo_oo___oo_oo____o_ooo___o_ooo___o_oo____o__o___oo_
___oo____oo____o_ooooooo____oo____oo_oo___oo_oo____o_oo______oo____o_ooooooo__o___oo_
___oo____oo____o_oo_________oo____oo_oo___oo_ooo___o_oo______oo____o_oo________ooooo_
___oo____oo____o__ooooo______ooooo____ooooo__oo_ooo__oo______oo____o__ooooo__o____oo_
______________________________________________________________________________ooooo__
The year is 2892. You are a former, but now ostracized citizen of your home planet
earth. Former being the key word as you where deemed a criminal by the courts back
home, and sentenced to serve off world at a penal colony floating somewhere in the
cold void of space.
There where no appeal process, no jury of your peers safeguarding any semblence of
legal justice. The court case was more a tribunal formality and now your fate is
sealed to a uncertain future. Apart from loose rumours that have circulated among
your fellow convicts headed for the same destination, you have no idea what avaits
you. What kind of biome that inevitably will be your next home for the rest of your
life. How society functions, if at all. Only one certainty is cemented in the minds
of the hapless group of convicts you are apart of: the penal system wouldn't have
shipped you here for a fate of comfort and happiness.
"""
options = ( {"desc": "Continue the journey",
"goto": "intro_step_1"},
{"desc": "Skip rest of introduction and proceed to character generation",
"goto": "character_generation"})
return text, options
def intro_step_1(caller):
text = \
"""
The journey to your final destination is mostly behind you at this point. You have
spent most of the last five months and three weeks in the solitude of your small cell
aboard an "October" class freighter. The only event that gave away a hint of your
journey nearing it's end, was the short but violent jerk of the gigantic hull
dropping out of hyperspace to coast towards it's final destination through the solar
system of the penal colony.
You have comforted yourself in the probability that your final destination will at
least have some kind of functioning society, since the freighter is not only carrying
human cargo, but also necessary goods. And deducing from the fact that it could carry
a lot more of it, it will probably also fill up the cargohold for the return trip with
whatever the end destination is producing of industrial output.
At least that is what you're telling yourself.
"""
options = ( {"desc": "Continue the journey",
"goto": "intro_step_1"},
{"desc": "Skip rest of introduction and proceed to character generation",
"goto": "character_generation"})
return text, options