Changeset 396 for trunk/game/scripts


Ignore:
Timestamp:
11/24/09 22:52:57 (10 years ago)
Author:
zenbitz
Message:

dialogue fixes

Location:
trunk/game/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/scripts/console.py

    r389 r396  
    106106            end_python = command[python_matches.end() + 1:] 
    107107            try: 
    108                 result = str(eval(compile(end_python,'<string>','single'))) 
     108                result = str(eval(compile(end_python,'<string>','eval'))) 
    109109            except Exception, e: 
    110110                result = str(e) 
  • trunk/game/scripts/gui/dialoguegui.py

    r372 r396  
    4747 
    4848        def set_value(state,quest_id, variable, value): 
    49             print "Set %s to %i"%(variable,value) 
     49            print "Set %s to %s"%(variable,value) 
    5050            state['quest'][quest_id].setValue(variable,value) 
    5151 
Note: See TracChangeset for help on using the changeset viewer.