MantisBT - I6 Library
View Issue Details
0001806I6 LibraryGeneralpublic2015-12-27 00:122015-12-29 18:57
DavidG 
DavidG 
normalmildalways
resolvedfixed 
6/12 
6/126/13 
0001806: After rule not being called after putting an object into a container
The After rule not being called when putting an object into a container
Constant Story "INSERTION RULES";
Constant Headline "^An Interactive Bug Reproduction^";

Include "Parser";
Include "VerbLib";

Object Start_Room "Somewhere",
  with description "You're not sure where you are.",
  has light;

Object -> packing_case "packing case"
  with name 'packing' 'case',
       before [;
           Receive: print "[packing_case: before: Receive]^";
       ],
       after [;
           Receive: print "[packing_case: after: Receive]^";
       ],
  has static container openable open;

Object -> rock "rock"
  with name 'rock',
       before [;
           Insert: print "[rock: before: Insert]^";
       ],
       after [;
           Insert: print "[rock: after: Insert]^";
       ];

[ Initialise;
  location = Start_Room;
];

Include "Grammar";
Start of a transcript of

INSERTION RULES
An Interactive Bug Reproduction
Release 1 / Serial number 151226 / Inform v6.33 Library 6/12-beta1 S
Standard interpreter 1.0 (1F) / Library serial number 140724

>take rock
Taken.

>put rock in case
[rock: before: Insert]
[packing_case: before: Receive]
[packing_case: after: Receive]
You put the rock into the packing case.

>script off
No tags attached.
Issue History
2015-12-27 00:12DavidGNew Issue
2015-12-27 00:12DavidGStatusnew => assigned
2015-12-27 00:12DavidGAssigned To => DavidG
2015-12-27 00:12DavidGNote Added: 0004244
2015-12-29 18:57DavidGStatusassigned => resolved
2015-12-29 18:57DavidGFixed in Version => 6/13
2015-12-29 18:57DavidGResolutionopen => fixed

Notes
(0004244)
DavidG   
2015-12-27 00:12   
https://github.com/DavidGriffith/inform6lib/issues/21 [^]