17 lines
356 B
Python
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()
|
||
|
])
|