RPGs are often engines on engines. So there is a level of programming that does the graphics, interface etc. and built on top of that is a second level which controls the flow of the game itself.
But basically, yes. C2 struggles a bit with complex object hierarchies and data structures, but it's not really designed for that sort of thing. Something like this may benefit from code in an app-specific plugin for example.