Using the door from the previous section, you often want various parts of a description to show under difference circumstances, therefore, you end up with a room description that is relevant to what is currently available or going on in an area.
If the door is open I want the rooms description to be
You are standing in a cupboard, you can see a number of boxes on the shelves in front of you, you feel a little claustrophobic. In fact, you don't really like it here.
If the door is close I want the rooms description to be
It is very dark here.
Therefore, I need to test the property of the lock and display the text as required, please remember that a , in MPI is sacred, so if you need them in the text to make them {lit:,}
@desc #1234={if:{eq:{prop:locked,#1237},no},You are standing in a cupboard{lit:,} you can see a number of boxes on the shelves in front of you{lit:,} you feel a little claustrophobic. In fact{lit:,} you don't really like it here.,It is very dark here.}
See, wasn't so hard now was it?
Hopefully this will give you the inspiration and the ideas to help you build more interesting objects. A list of useful programs can be found on the 'info' pages. Plus, you can enhance your areas with weather if you speak to Woof.
Fake Objects >>