There's now an xml containing all possible actions in scene. The players_action_interface now generates a concatenated function evaluated with exec().
Actually at the moment it doesn't :-/
Don't know why it does not know the name of the function ... maybe it has to be allowed in the third parameter of exec()? ...
Some progress with generic action menu. some functions like quit habe still to be adapted to name and parameter standards. But besides yesterday's problem seems to be solved ... ongoing ..
menus now are extendable so that new actions can be added in data/CLI/[menu]_actions.xml
functions and parameters have to be added in libCLI in safe_dict. functions need of course to be defined in libCLI. Maybe there will be a way to define them in seperate files in future but not yet.
Observed a minor bug regarding inventory: When dropped an item an take it in scene, then returning to inventory it will be listed doubled. This has to fixed separately.
Converted files to Python3 with 2to3. No problems spotted after conversion. So I will merge branch with master and project now is an p3 project.