dnd-npcs/npc/generator/elf.py
2022-08-03 00:19:13 -07:00

17 lines
356 B
Python

from npc.languages import elven
from npc.generator.base import BaseNPC
class NPC(BaseNPC):
ancestry = 'Elf'
language = elven.ElvenPerson()
@property
def full_name(self):
return ' '.join([
str(self.names[0]).capitalize(),
str(self.names[1]).lower(),
str(self.names[2]).capitalize()
])