Commits

Anonymous committed c2d0702

Design update.

  • Participants
  • Parent commits 9824921

Comments (0)

Files changed (2)

     
     - Actions should be written as verb_noun or simply verb. 
        -> char.say() and char.compete_skill() instead of char.text() and char.skill_compete()
+     
+    - In the story function, an action is a parameter of the story. 
+       -> story(switch_background_image="bg_image.png")
+     
 
 Design:
     - revert: story() is a function, but should be heavily overloaded, so it gets 
       It creates the setting, just like an exposition. 
       So it can be treated in a special way. 
       This means: Doing it this way makes the scripts appear more natural (to me). 
+      Also this allows story() to rearrange the order of passed arguments, if all get passed in one step -> a simpler way to say "new scene". 
 
 This (and other) code can be found at U{http://freehg.org/ArneBab/textrpg}
 
     
     - Actions should be written as verb_noun or simply verb. 
        -> char.say() and char.compete_skill() instead of char.text() and char.skill_compete()
+    
+    - In the story function, an action is a parameter of the story. 
+       -> story(switch_background_image="bg_image.png")
 
 Design:
     - revert: story() is a function, but should be heavily overloaded, so it gets