Commits

Anonymous committed 2304706

Persistent game states verified.

  • Participants
  • Parent commits 25b0e54

Comments (0)

Files changed (3)

         # creation from amov template/char
         self.source = source
         self.ID = Versionsverwaltung.Versionen(self.source, _(u"Vorlagen")).neuste
-        print self.ID
         self.amov = Charakter.Charakter(self.ID)
         
         # rank

File ministory.py

 from save import save
 
 name = ask("What's your name?")
+#identifier = ask("Please give a unique identifier for yourself (your email or a domain name):")
+identifier = "1w6.org"
 
 # First load the chars for better gameflow. 
 char2 = Char(source="tag:1w6.org,2008:Nasfar")
-char1 = Char(source="tag:1w6.org,2008:" + name)
+char1 = Char(source="tag:" + identifier + ",2008:" + name)
 
 story('''
 Where the sun doesn't shine, 
     return raw_input(_(question) + " ")
 
 def story(data):
-	data = _(data)
-	for i in data.split("\n"): 
-		diag(i, localize=False)
+    data = _(data)
+    for i in data.split("\n"): 
+        if i.strip() != "": 
+            diag(i, localize=False)
+        # If the string is empty, just add a blank line without the characters name. 
+        else: diag("...", localize=False)
 	
 
 def save(chars=[]):