// nullobj.txt

beginobjectscript;

variables;

short did_switch = 0;

body;

beginstate INIT_STATE;
	set_obj_act_at_dist(ME,1);
		set_object_blockage(ME,0);
			set_object_icon(ME,9);
	break;

beginstate DEAD_STATE;

break;

beginstate START_STATE; 
	if ((gf(167,18) > 0) && (did_switch == 0)) {
		did_switch = 1;
		set_object_blockage(ME,1);
		set_object_icon(ME,4);
		}
break;

beginstate 3;
	
break;

beginstate USE_STATE;
	print_str_color("Use: You can't use this object.",2);
break;