dnd-npcs/npc/ancestries/tiefling.py
evilchili 1208616ab3 # This is a combination of 2 commits.
# This is the 1st commit message:

Rewrite!

This is a full rewrite of the npc generator code to use the
newly-refactored dnd-name-generator code

# This is the commit message #2:

bugfixen
2023-12-02 18:25:03 -08:00

33 lines
634 B
Python

import random
from language.languages import infernal
from npc import types
class Tiefling(types.NPC):
language = infernal
has_tail = True
has_horns = True
has_fangs = True
@property
def skin_color(self):
if not self._skin_color:
self._skin_color = random.choice([
'reddish',
'white',
'green',
'black',
'blue',
'brassy',
'bronze',
'coppery',
'silvery',
'gold',
])
return self._skin_color
NPC = Tiefling