#include <define.h>

//#define NAME                    SCRIPT_

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



procedure start;
#include <push.h>
procedure description_p_proc;
procedure use_p_proc;
procedure skills;

variable use_skill;


procedure start
begin
	if (script_action == description_proc) then begin
		call description_p_proc;
	end
	else begin
		if (script_action == use_skill_on_proc) then begin
			use_skill := action_being_used;
			call skills;
		end
		else begin
			if (script_action == use_proc) then begin
				call use_p_proc;
			end
		end
	end
end

procedure description_p_proc
begin
	script_overrides;
	display_msg(message_str(SCRIPT_BOOKCASE, 100));
end

procedure use_p_proc
begin
	script_overrides;
	display_msg(message_str(SCRIPT_BOOKCASE, 101));
end

procedure skills
begin
	script_overrides;
	display_msg(message_str(SCRIPT_BOOKCASE, 103));
end