How do i use the {if object.attribute = value:} thing?

WCBlazeheart
27 May 2019, 01:21

I'm a newbie to coding. I mean, I have an attribute.It changes to true after the player casts a fire spell on an object.

I'm trying to alter the object's "look at" description, so if the attribute was true, then the description would change. How do I use it?


Richard Headkid
27 May 2019, 01:45

Hello.

I highly recommend completing the tutorial before trying to create your own game, but, if you'd prefer to dive right in, this should help:

http://docs.textadventures.co.uk/quest/text_processor.html


WCBlazeheart
27 May 2019, 15:33

thx