Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001806I6 LibraryGeneralpublic2015-12-27 00:122015-12-29 18:57
ReporterDavidG 
Assigned ToDavidG 
PrioritynormalSeveritymildReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version6/12 
Target Version6/12Fixed in Version6/13 
Summary0001806: After rule not being called after putting an object into a container
DescriptionThe After rule not being called when putting an object into a container
Minimal Source Text To Reproduce
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";
Additional InformationStart 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
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0004244)
DavidG (developer)
2015-12-27 00:12

https://github.com/DavidGriffith/inform6lib/issues/21 [^]

- Issue History
Date Modified Username Field Change
2015-12-27 00:12 DavidG New Issue
2015-12-27 00:12 DavidG Status new => assigned
2015-12-27 00:12 DavidG Assigned To => DavidG
2015-12-27 00:12 DavidG Note Added: 0004244
2015-12-29 18:57 DavidG Status assigned => resolved
2015-12-29 18:57 DavidG Fixed in Version => 6/13
2015-12-29 18:57 DavidG Resolution open => fixed


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker