dnd-npcs/npc/generator/human.py

13 lines
274 B
Python
Raw Normal View History

2022-08-03 00:19:13 -07:00
from npc.languages import common
from npc.generator.base import BaseNPC
class NPC(BaseNPC):
ancestry = 'Human'
language = common.CommonPerson()
@property
def full_name(self):
return ' '.join([str(x).capitalize() for x in self.language.person()])