fix lizardfolk
This commit is contained in:
parent
1af88dd147
commit
ffb3a34842
|
@ -69,7 +69,7 @@ class Lizardfolk(types.NPC):
|
|||
self.facial_structure,
|
||||
])
|
||||
return (
|
||||
f"{self.fullname} ({self.pronouns}) is {types.a_or_an(self.age)} {self.age}, {self.skin_color}-scaled "
|
||||
f"{self.name} ({self.pronouns}) is {types.a_or_an(self.age)} {self.age}, {self.skin_color}-scaled "
|
||||
f"{self.ancestry.lower()} with {types.a_or_an(self.nose)} {self.nose} snout, {self.body} body and {trait}."
|
||||
)
|
||||
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
import pytest
|
||||
from language.types import WeightedSet
|
||||
from language.languages.common import common
|
||||
|
||||
|
||||
@pytest.mark.parametrize('values,expected_members,expected_weights', [
|
||||
((('foo', 1.0), ('bar', 0.5)), ('foo', 'bar'), (1.0, 0.5))
|
||||
])
|
||||
def test_WeightedSet(values, expected_members, expected_weights):
|
||||
|
||||
print(*values)
|
||||
ws = WeightedSet(*values)
|
||||
assert ws.members == expected_members
|
||||
assert ws.weights == expected_weights
|
||||
assert ws.random()
|
||||
|
||||
|
||||
def test_common():
|
||||
for i in range(50000):
|
||||
assert common.word()
|
Loading…
Reference in New Issue
Block a user