![]() ![]() But the player will be able to refer to both the handle and the cover when the player is in the room below, because there, both can be seen. There won’t be a collision with the manhole cover because that’s in a different room.Īctually, in the inner world, the handle is on the underside of the cover–the player doesn’t see it, and cannot refer to it, when the player is in the room above it, where the cover actually is. Then any combination of those words (including “iron” and “handle”) will work. If they’re in different rooms, you should be able to get away with Understand "manhole","cover", "lid" as the iron handle. I’m not sure what you’re aiming at when you want the handle to be synonymous with the cover. What should you do instead? That depends on what kinds of inputs you want to recognize for this object. The lesson is to not use a single word in multiple places in a phrase like that. ![]() GET COVER COVER will succeed you can follow the logic through and see why. But no more words are available, so it fails the match. Then the parser looks at the third group (“cover/lid/handle”), which has no “–” option. Then it does matches the second group (“cover/lid/–”). When it sees GET COVER, the word COVER fails to match the first group (“manhole/iron/–”). The problem here is that the parser is greedy about accepting words. Understand “manhole/iron/- cover/lid/- cover/lid/handle” as the iron handle. So can someone please spell it out for me (to coin a phrase)? (by the way, the iron cover is a scenery item on the floor of one room, and the iron handle is another scenery item in a room directly under it, and I am making the handle synonymous with the cover that it is ‘under’) Now, when I type ‘manhole lid lid’, it works. Which leads me to think that many of the 500-odd other objects that I have implemented also have wrong ‘Understand’ clauses. But I get only ‘I couldn’t see any such thing.’ when I test it. I was thinking that the parser would take any one of the first two groups of words as ‘optional’ while one of the last group of words would be required, and any one of those words would be adequate. I was thinking that if the player typed only ‘cover’ or ‘lid’, that would work. ![]() The description is "The handle was hanging down from the manhole cover that I moved the cover was lying partially over the manholethe cover was now covering the hole." Understand "manhole/iron/- cover/lid/- cover/lid/handle" as the iron handle. Let me give you an example of how I have been doing it (thinking it is working). I have written several released games, but apparently I don’t fully understand 'Understand…(synonym part)/(synonym part)/- (synonym part)/- (synonym part)/(synonym part)" as (object). Can someone please explain to me, in full, how to write out synonyms for objects? ![]()
0 Comments
Leave a Reply. |