Inform - Support - Patches

About Patches  


DM4 Errata  

Issue L61019

Object already in/on another
Submitted by: Francesco Cordella     Appeared in: Library 6/10 or before     Fixed in: Library 6/11

This patch avoids the answer "You need to be holding it before you can put it into something else" when you try to place an object in/on an object where it is already. It would be better to answer: "It's already there".

Solution (by Francesco Cordella, David Glasser and Gunther Schmidl)

In VerbLibm.h, in the routines InsertSub and PutonSub, after the line

  if (second == d_obj || player in second) <<Drop noun>>;

Add this line:

  if (parent(noun) == second) return L__M(##Drop,1,noun);

Last updated 17 April 2013. This web site has not been fully supported since April 2008. Information may be out of date. This page was originally managed by Roger Firth.