How do I make it so that it uses the second character only if a t-shirt is selected to be displayed?
Such a case, you can add the optional code after random.choice() in gen_metadata.py
defrand_attributes(id):# ...
random_model=random.choice(...random_clothes=random.choice(...# Add it!
ifrandom_clothes=="t-shirts":random_model="another"# assumed that the model names are "original" and "another"
# ...
random_model=random_model.replace(...random_clothes=random_clothes.replace(...attributes=[...]
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi,
Such a case, you can add the optional code after random.choice() in gen_metadata.py