private string DropItem(Player p, string thingId, string containerId) { IHaveInventory container = FetchContainer(p, containerId); if (container == null) { return("I cannot find the " + containerId); } GameObject containerThing = container.Locate(thingId); if (containerThing == null) { return("I cannot find the " + thingId + (containerId == null ? "" : " in the " + containerId)); } bool dropped = container.Drop(thingId); return(containerThing.FullDescription); }