add alignment info
This commit is contained in:
@@ -12,10 +12,17 @@ class Alignment(Enum):
|
||||
def __str__(self) -> str:
|
||||
return alignment_strs.get(self, self.value)
|
||||
|
||||
def get_info(self) -> str:
|
||||
return alignment_strs[self] + ": " + alignment_infos[self]
|
||||
|
||||
|
||||
alignment_strs = {
|
||||
Alignment.RIGHTEOUS: "正",
|
||||
Alignment.EVIL: "邪",
|
||||
}
|
||||
|
||||
alignment_infos = {
|
||||
Alignment.RIGHTEOUS: "正义阵营的理念是:扶助弱小,维护秩序,除魔卫道。",
|
||||
Alignment.EVIL: "邪恶阵营的理念是:弱肉强食,以自身利益为先,蔑视规则,推崇权力与恐惧。",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user