#include <define.h>

//#define NAME                    SCRIPT_

#include <command.h>
//#include <ModReact.h>



procedure start;
#include <push.h>
procedure do_dialogue;

variable rndx;


procedure start
begin
	variable LVar0 := 0;
	if (script_action == talk_proc) then begin
		call do_dialogue;
		detach;
	end
	else begin
		if (script_action == look_at_proc) then begin
			script_overrides;
			display_msg("You see one of the acrolytes of the Children of the Cathedral.");
			detach;
		end
		else begin
			if (script_action == critter_proc) then begin
				detach;
			end
			else begin
				if (script_action == combat_proc) then begin
					detach;
				end
			end
		end
	end
end

procedure do_dialogue
begin
	rndx := random(1, 3);
	start_gdialog(SCRIPT_GENINT, self_obj, 4, -1, -1);
	gsay_start;
	if (rndx == 1) then begin
		gsay_message(SCRIPT_GENINT, "Peace be with you. Please talk to Laura.", NEUTRAL_REACTION);
	end
	if (rndx == 2) then begin
		gsay_message(SCRIPT_GENINT, "Laura taught me that we are all one people and should look to the good in them. She is very wise.", NEUTRAL_REACTION);
	end
	if (rndx == 3) then begin
		gsay_message(SCRIPT_GENINT, "Laura is a wise and wonderful person.", NEUTRAL_REACTION);
	end
	gsay_end;
	end_dialogue;
end