I am trying to declare characters and it doesn't work right. I finally had to declare a female character as an object instead of a female_character.
Well, anyway, one of the objects has the 'female' attribute, but when I look at it, it changes and sometimes it has it and sometimes it doesn't. Also the character 'you' has the female attribute set which it shouldn't.
Here's a short piece:
Code: Select all
object Lisa "Lisa"
{
is enterable
is platform
is female
is living
[other new attributes]
[other new properties]
adjective "lisa", "she", "girl"
nouns "lisa","she", "girl"
in room_a
}
Code: Select all
print BANNER
player = you ! player initialization
if (lisa is female)
print " Lisa is female "
if (lisa is not female)
print " Lisa is not female "
Code: Select all
Hugo v3.1 / Library 31031
Lisa is not female
Code: Select all
verb "kiss"
* DoKiss
* female DoKiss