33 lines
885 B
Python
33 lines
885 B
Python
"""
|
|
Characters
|
|
|
|
Characters are (by default) Objects setup to be puppeted by Accounts.
|
|
They are what you "see" in game. The Character class in this module
|
|
is setup to be the "default" character type created by the default
|
|
creation commands.
|
|
|
|
"""
|
|
|
|
from evennia.objects.objects import DefaultCharacter
|
|
|
|
from .objects import ObjectParent
|
|
|
|
|
|
class Character(ObjectParent, DefaultCharacter):
|
|
"""
|
|
The Character just re-implements some of the Object's methods and hooks
|
|
to represent a Character entity in-game.
|
|
|
|
See mygame/typeclasses/objects.py for a list of
|
|
properties and methods available on all Object child classes like this.
|
|
|
|
"""
|
|
|
|
def at_object_creation(self):
|
|
super().at_object_creation()
|
|
# Gamification of Sovereign Canon
|
|
self.db.coherence = 100
|
|
self.db.coherence_max = 100
|
|
self.db.fieldprint = "Unaligned Observer"
|
|
|