launch
index
/home/achifaifa/git/kirino/source/launch.py

Main procedure file.
All the crawl and configuration implementation are in this module.

 
Modules
       
dungeon
item
mob
os
player
random
sys

 
Functions
       
crawl()
Main crawling function. Displays the map, keys and different statistics.
keymap()
Key mapping configuration menu
lload(playa)
Loads all the global variables into a player object and then purges the temporal variables.
lsave(playa)
Takes a player object and saves all its attributes into global variables.
menu()
Main menu function. Loads the configuration file and enters the menu loop.
newchar()
This function displays the menu to create a new character.
Not yet implemented.
options()
Game options menu. This allows modification of the general options, such as key mappings, autosave, etc.
purge()
Sets to zero all the global temporal variables used to store player data.
Used when exiting a game so the data is not carried to the next one.
saveoptions()
Option saving function. Takes all the configuration variables and writes them into a file.
The file is located in ../player/, if the directory does not exist this creates the directory and the file.

 
Data
        autosave = 0
cha = 0
charsh = 'c'
con = 0
dex = 0
east = 'e'
fl = 1
flcounter = 1
hp2 = 0
intv = 0
lv = 1
mp2 = 0
name = 'empty'
north = 'n'
opt = 'o'
per = 0
pocket = 0
points = 0
quit = 'q'
report = 'z'
south = 's'
strv = 0
tempequiparr = []
tempinventory = []
west = 'w'
wil = 0
xp = 0