#include <define.h>

//#define NAME                    SCRIPT_

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



procedure start;
#include <push.h>


procedure start
begin
	if ((script_action == look_at_proc) or (script_action == description_proc)) then begin
		script_overrides;
		display_msg(message_str(SCRIPT_CODEDISK, 100));
	end
	else begin
		if (script_action == use_proc) then begin
			script_overrides;
			if (local_var(0) == 1) then begin
				display_msg(message_str(SCRIPT_CODEDISK, 101));
			end
			else begin
				set_local_var(0, 1);
				display_msg(message_str(SCRIPT_CODEDISK, 102));
				set_global_var(GVAR_HONOR_DISK, 1);
				display_msg(message_str(SCRIPT_GENCHAT, 103) + "100" + message_str(SCRIPT_GENCHAT, 104));
				give_exp_points(100);
			end
		end
	end
end