|Anonymous | Login | Signup for a new account||2017-10-23 11:53 PDT|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001999||Core Inform||Relations||public||2017-03-03 16:55||2017-03-03 22:10|
|Platform||Windows 10||OS||OS Version|
|Target Version||Fixed in Version|
|Summary||0001999: concealment relation encompasses too much|
|Description||The relation "X conceals Y" does not imply "X encloses Y". |
|Minimal Source Text To Reproduce|
The Lounge is a room. Mr Smith is a man in the lounge. For deciding the concealed possessions of Mr Smith: yes. Instead of examining Mr Smith: say "Mr Smith is concealing [A list of things concealed by Mr Smith]." Mr Smith holds some contraband. Test me with "examine Mr Smith"
|Additional Information||Test me produces... |
Yourself, Mr Smith and some contraband
It may be that this is intended behaviour; if so then Section 3.24 of Writing with Inform and Example 225 in the Recipe Book are both rather misleading.
Section 3.24 says:
Here we make the Cloaked Villain invariably conceal anything she is holding or wearing:
Rule for deciding the concealed possessions of the Cloaked Villain: yes.
(In fact this makes the Cloaked Villain conceal every thing in the entire game.)
Example 225 "Interrogation" is too simple (just one room) to throw up problems in play, but we only need to modify it by adding a second room with an NPC in it to break the mechanics.
Add to the source:
The Antechamber is south of the Interrogation Chamber.
Dana is a person in the antechamber.
Test Dana with "go south / wave wand".
> go south
You can see Dana here.
> wave wand
The wand glows green. Immediately you see on the monitor a quantity of plastic explosive (carried by Brian) and a microfilm (carried by Janine).
|Tags||No tags attached.|
|Effect||(serious/mild) Game compiles but misbehaves|
The obvious soution is to add a check in TestConcealment() to make sure IndirectlyContains(A, B) before proceeding to the activity.
|2017-03-03 16:55||DrFell||New Issue|
|2017-03-03 22:10||zarf||Note Added: 0004658|
|2017-03-03 22:10||zarf||Status||new => confirmed|
|Copyright © 2000 - 2010 MantisBT Group|