Search found 2 matches

by Versial
Fri Jan 27, 2023 10:26 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Show clothes with tag in wardrobe
Replies: 1
Views: 292

Re: Show clothes with tag in wardrobe

I found a fix, for those interested:

Code: Select all

$ clothes_with_tag = wardrobe.check_tag("under bottom")
            for i, item in enumerate(clothes_with_tag):
                $ x += 320
                $ pic = "clothes/" + clothes_with_tag[i].image
by Versial
Fri Jan 27, 2023 10:04 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Show clothes with tag in wardrobe
Replies: 1
Views: 292

[Solved] Show clothes with tag in wardrobe

Here's the code I'm working with: init python: class ClothingItem: def __init__(self, name, tag, image, girly = 0,): self.name = name self.girly = girly self.image = image self.tag = tag def check_valid_position(self, layer, position): if self.layer == layer and self.position == position: return Tru...