dnd-npcs/npc/ancestries/malseid.py
2023-12-17 14:35:11 -08:00

30 lines
421 B
Python

import random
from npc import types
from language.languages import druidic
tail_traits = [
'small',
'clipped',
'stubby',
'stiff',
'strong',
'thick',
'thin',
]
class Malseid(types.NPC):
language = druidic
has_tail = True
@property
def tail(self):
if self._tail is None:
self._tail = random.choice(tail_traits)
return self._tail
NPC = Malseid