Hi everybody! I wanted to ask about multiple inheritance for Evennia typeclassed objects...
Is it possible / useful / advised / tricky?
I haven't so far come across it in the Wiki or in the contrib examples (maybe I just missed it), apart from the prototypes.py relating to @SPAWN.
Let's say I create a typeclassed object that defines a kind of container, and another that defines a supporter (ie: things can be put on top of it, like a table). Then, could I just create a new object which inherits from both, so that I have an object that can both contain other objects and have them on top of it?
This case-example is just to illustrate the nature of my question. I have no idea yet how similar/different are Evennia-typeclassed objects from ordinary Python classes/objects; so I'm basically asking for some eye-opening on the subject.
What is clear to me is that multiple inheritance could provide some cool features to objects creations. But then ... there could also be some pitfalls and conflicts since Evennia objects have some specific features like Cmdsets, locks, ecc.
Thanks
Tristano