added graphical inventar function and validated parser for dialogs
final parser