1
0
Fork 0
inform6_examination/examine_en.h

18 lines
318 B
C
Raw Permalink Normal View History

2019-08-13 05:57:59 +03:00
Global thing_to_examine;
2019-08-12 13:54:47 +03:00
2019-08-14 20:17:09 +03:00
[ UnknownVerb thing;
2019-08-14 19:49:33 +03:00
objectloop ( thing provides name) {
2019-08-14 20:17:09 +03:00
if (TestScope(thing, player) && Refers(thing, 1)) {
thing_to_examine = thing;
return 'unknown';
2019-08-14 19:49:33 +03:00
};
};
rfalse;
2019-08-12 14:24:53 +03:00
];
2019-08-14 20:17:09 +03:00
[ ExamineObjectSub;
<< Examine (thing_to_examine) >>;
];
verb 'unknown' * -> ExamineObject;