//first candle stick find script

beginterrainscript; 

variables;

body;

beginstate INIT_STATE;
//called when this terrain script is first created in the game

break;

beginstate START_STATE;
//called every turn

break;

beginstate SEARCH_STATE;
//called when the party searches this terrain
	if(get_flag(2,5)==1 && get_flag(1,4)==0){
		set_flag(1,4,1);
		message_dialog("In the drawer you find the candle stick you were sent to steal. It's clearly valuable, although not fabulously so. ","Hurridly, you pick it up and bundle it up in a bag");
		change_spec_item(0,1);
	}
	
break;

beginstate BLOCK_MOVE_STATE;
//called when this terrain blocks the party's motion

break;

beginstate STEP_INTO_SPOT_STATE;
//called when the party steps on this terrain
	
break;

beginstate UNLOCK_SPELL_STATE;
//called when the party casts Unlock Doors on this terrain
	
break;

beginstate SANCTIFICATION_STATE;
//called when the party casts the Ritual of Sactification on this terrain

break;