       
     
   lineToAction: (line) ->
+    # Make item recognition non-case-sensitive
+    line = line.toLowerCase()
+    
     if line.startsWith "*"
       # Assumed to be just a comment, e.g. "* Back to start of observatory"
       return 'comment'

  addAlias: (alias) ->
    # Add to the class variable 'aliases'.
    # Map from alias to the standard name.
    @constructor.aliases[alias] = this
      
      
  text: () ->

      return Action.aliases[line]
      
    # Check for just the star name
    if line of Level.starNameLookup
      return Level.starNameLookup[line.toLowerCase()]
      
    # Check if there's a dash, and if so, see if we can find a
