Page 1 of 1

say-with-attribute Negation Not Working for Layered Image

Posted: Wed Jun 20, 2018 9:17 am
by trooper6
I'm testing some Layered Image stuff and I think I've found a bug.

I have a layered image and the attribute "photo" shows the image holding a photo. default is the image not showing the photo.
It seems that adding say-with-attributes works fine, but negating and attribute with a say-with-attribute isn't working.

This works:

Code: Select all

label start:
    show barber
    b photo "I'm holding a photo."
    show barber -photo
    b "I'm no longer holding a photo."
This doesn't work even though my reading says it should:

Code: Select all

label start:
    show barber
    b photo "I'm holding a photo."
    b -photo "I'm no longer holding a photo."
This seems like a bug, no?

Re: say-with-attribute Negation Not Working for Layered Image

Posted: Wed Jun 27, 2018 12:58 am
by trooper6
Doing a bit more testing on negating attributes with layered images, I noticed another things that seems to not work the way the documentation indicates.

The May Patreon article says that if you have an image: eileen casual concerned sweatdrop showing and you want to get rid of the sweat drop, there are two ways to do it:

a)
show eileen casual concerned

and

b)
show eileen -sweatdrop

with a layered image, b works but a doesn't.

Re: say-with-attribute Negation Not Working for Layered Image

Posted: Wed Jun 27, 2018 3:18 am
by PyTom
I have the negation issue marked as a bug to work on.

Re: say-with-attribute Negation Not Working for Layered Image

Posted: Wed Jun 27, 2018 11:16 am
by trooper6
Thanks a lot PyTom! That is pretty awesome of you.