I'm trying to implement layeredimage sprites to save on file size, but I have no idea how to implement this when it comes to how my outfits are set up
Outfits are split into "cold" and "warm", but then ALSO "uniform" and "casual". Which is to say, the casual outfit a character wears in winter requires both "cold" and "cas" to be true. So how am I supposed to set that up in the code?
An obvious solution might be "just do cold_cas or something", and use cold_cas as the attribute, but I don't think that will work, because the sprite being displayed requires code which determines what the weather is, then automatically picks between cold and warm. The code I use is here:
Code: Select all
$ renpy.show("ani {} cas neutralright".format(v_clothes))
with dissolveCode: Select all
$ v_clothes = "cold"Code: Select all
$ renpy.show("ani {}_cas neutralright".format(v_clothes))
with dissolve