public String trapHere(MOB mob, Room R)
	{
		final StringBuffer msg=new StringBuffer("");
		if(CMLib.flags().canBeSeenBy(R,mob))
			msg.append(trapCheck(R));
		for(int d=0;d<Directions.NUM_DIRECTIONS();d++)
		{
			final Exit E=R.getExitInDir(d);
			final Room R2=R.getRoomInDir(d);
			if((R2!=null)
			&&(E!=null)
			&&(CMLib.flags().canBeSeenBy(E,mob)))
			{
				final Exit E2=R.getReverseExit(d);
				msg.append(trapCheck(R));
				msg.append(trapCheck(E2));
				msg.append(trapCheck(R2));
			}
		}
		for(Enumeration<Item> i=R.items();i.hasMoreElements();)
		{
			final Item I=i.nextElement();
			if((I!=null)
			&&(I.container()==null)
			&&(CMLib.flags().canBeSeenBy(I, mob)))
				msg.append(trapCheck(I));
		}
		return msg.toString();
	}