Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001999Core InformRelationspublic2017-03-03 16:552017-03-03 22:10
ReporterDrFell 
Assigned To 
PrioritynormalSeveritymildReproducibilityalways
StatusconfirmedResolutionopen 
PlatformWindows 10OSOS Version
Product Version6M62 
Target VersionFixed in Version 
Summary0001999: concealment relation encompasses too much
DescriptionThe 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 InformationTest 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".


>Test Dana
(Testing.)

>[1] go south

anteroom
You can see Dana here.

>[2] 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).


   




TagsNo tags attached.
Effect(serious/mild) Game compiles but misbehaves
Attached Files

- Relationships

-  Notes
(0004658)
zarf (developer)
2017-03-03 22:10

Confirmed.

The obvious soution is to add a check in TestConcealment() to make sure IndirectlyContains(A, B) before proceeding to the activity.

- Issue History
Date Modified Username Field Change
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
Powered by Mantis Bugtracker