Commit
•
d288038
1
Parent(s):
e88ce07
Upload pets.py
Browse files
pets.py
CHANGED
@@ -310,7 +310,8 @@ class Animal:
|
|
310 |
if local_attrs[attr] in ( 'random','none'):
|
311 |
local_attrs[attr] = random.choice(pet_description[attr][1:])
|
312 |
|
313 |
-
pt=f'A {local_attrs["name"]} with {local_attrs["eyes"]} Eyes And {local_attrs["skin"]} Skin and {local_attrs["physique"]} Body. {local_attrs["place"]}..'
|
|
|
314 |
return pt+"\n"+hashTagsaAnimal(pt)
|
315 |
def shortStr(self):
|
316 |
attrs = pet_description.keys()
|
@@ -321,7 +322,7 @@ class Animal:
|
|
321 |
if local_attrs[attr] in( 'random','none'):
|
322 |
local_attrs[attr] = random.choice(man_description[attr][1:])
|
323 |
|
324 |
-
pt=
|
325 |
return pt
|
326 |
|
327 |
def toJson(self):
|
|
|
310 |
if local_attrs[attr] in ( 'random','none'):
|
311 |
local_attrs[attr] = random.choice(pet_description[attr][1:])
|
312 |
|
313 |
+
#pt=f'A {local_attrs["name"]} with {local_attrs["eyes"]} Eyes And {local_attrs["skin"]} Skin and {local_attrs["physique"]} Body. {local_attrs["place"]}..'
|
314 |
+
pt=f'A {local_attrs["name"]} Animal with {local_attrs["eyes"]} Eyes and {local_attrs["physique"]} Body. And it is {local_attrs["action"]}.'
|
315 |
return pt+"\n"+hashTagsaAnimal(pt)
|
316 |
def shortStr(self):
|
317 |
attrs = pet_description.keys()
|
|
|
322 |
if local_attrs[attr] in( 'random','none'):
|
323 |
local_attrs[attr] = random.choice(man_description[attr][1:])
|
324 |
|
325 |
+
pt=f'A {local_attrs["name"]} Animal with {local_attrs["eyes"]} Eyes and {local_attrs["physique"]} Body. '
|
326 |
return pt
|
327 |
|
328 |
def toJson(self):
|