MantisBT - Core Inform
View Issue Details
0002009Core InformActivitiespublic2017-04-03 23:012017-04-04 17:21
DrFell 
 
normalmildalways
confirmedopen 
x86WindowsVista
6M62 
 
(serious/mild) Game compiles but misbehaves
0002009: Standard "deciding whether all include" rules don't apply to an actor.
Asking someone to try taking all results in them trying to take fixed in place things and people (including the person asked but not the player).
The bedroom is a room. Jeeves is a man in the bedroom. A persuasion rule for asking Jeeves to try doing something: persuasion succeeds.

The bed is an enterable fixed in place supporter in the bedroom. Bertie is a man on the bed. The player is Bertie.

The breakfast tray is on the bed. The curtains are scenery in the bedroom. Aunt Dahlia is a woman in the bedroom.

test me with "Jeeves, take all"
I have not found a workaround that does not involve manipulating the multiple object list.

Oddly, there is a phrase "Deciding whether all includes the person asked" (Example 411) which appears to work correctly. But this doesn't deal with other people or fixed in place things.
No tags attached.
Issue History
2017-04-03 23:01DrFellNew Issue
2017-04-04 09:58zarfNote Added: 0004671
2017-04-04 09:58zarfStatusnew => confirmed
2017-04-04 09:59zarfNote Added: 0004672
2017-04-04 17:21DrFellNote Added: 0004673

Notes
(0004671)
zarf   
2017-04-04 09:58   
Confirmed. This is a consequence of the way the rules are written. E.g.

"Rule for deciding whether all includes people while taking..."

The "while taking" constraint conventionally applies to the player only. To apply to everyone, it would have to be

"Rule for deciding whether all includes people while someone trying taking..."

I don't immediately see any problem with rewriting the rules in this rulebook that way. But I haven't thought it through in detail.

(0004672)
zarf   
2017-04-04 09:59   
> Oddly, there is a phrase "Deciding whether all includes the person asked" (Example 411) which appears to work correctly...

This is just an instance of "Deciding whether all includes...". The "person asked" is a global variable.
(0004673)
DrFell   
2017-04-04 17:21   
> This is just an instance of "Deciding whether all includes...". The "person asked" is a global variable.

Oh yes, of course.

Maybe the "while someone trying" construction could be mentioned in the documentation somewhere? That one hadn't occurred to me.