2023-01-06 04:50:33 +01:00
|
|
|
"""
|
|
|
|
Object
|
|
|
|
|
|
|
|
The Object is the "naked" base class for things in the game world.
|
|
|
|
|
|
|
|
Note that the default Character, Room and Exit does not inherit from
|
|
|
|
this Object, but from their respective default implementations in the
|
|
|
|
evennia library. If you want to use this class as a parent to change
|
|
|
|
the other types, you can do so by adding this as a multiple
|
|
|
|
inheritance.
|
|
|
|
|
|
|
|
"""
|
2023-01-06 05:58:14 +01:00
|
|
|
from evennia.contrib.rpg.rpsystem import ContribRPObject
|
2023-01-06 04:50:33 +01:00
|
|
|
|
|
|
|
|
|
|
|
class ObjectParent:
|
|
|
|
"""
|
|
|
|
This is a mixin that can be used to override *all* entities inheriting at
|
|
|
|
some distance from DefaultObject (Objects, Exits, Characters and Rooms).
|
|
|
|
|
|
|
|
Just add any method that exists on `DefaultObject` to this class. If one
|
|
|
|
of the derived classes has itself defined that same hook already, that will
|
|
|
|
take precedence.
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
2023-01-06 05:58:14 +01:00
|
|
|
# rpsystem
|
|
|
|
class Object(ContribRPObject):
|
2023-01-06 04:50:33 +01:00
|
|
|
pass
|