@LabelIndex 425757
@StringIndex 0
class 1 maker_cratae_npc0 : default_maker {
parameter:
	string	maker_name_70 = "etc10_1717_026m1";
	string	maker_name_75 = "etc10_1715_026m1";
	string	maker_name_80 = "etc10_1815_026m1";
	string	cratae_lotto_70 = "etc10_1717_001m6";
	string	cratae_lotto_75 = "etc10_1715_001m6";
	string	cratae_lotto_80 = "etc10_1815_001m6";

handler:
	EventHandler ON_START() {
		super;
		myself::AddTimerEx(1300,3000);
	}

	EventHandler ON_TIMER(timer_id,maker0,def0) {
		if( timer_id == 1300 ) {
			def0 = myself::GetSpawnDefine(0);
			if( gg::IsNull(def0) == 0 ) {
				def0::SendScriptEvent(1717001,0,0);
			} else {
				myself::AddTimerEx(1300,3000);
			}
		}
	}

	EventHandler ON_SCRIPT_EVENT(script_event_arg1,script_event_arg2,script_event_arg3,def0,i0,maker0) {
		switch(script_event_arg1) {
			case 1717070: {
				def0 = myself::GetSpawnDefine(0);
				if( gg::IsNull(def0) == 0 ) {
					def0::SendScriptEvent(1717070,script_event_arg2,0);
				}
				break;
			}
			case 1717075: {
				def0 = myself::GetSpawnDefine(0);
				if( gg::IsNull(def0) == 0 ) {
					def0::SendScriptEvent(1717075,script_event_arg2,0);
				}
				break;
			}
			case 1717080: {
				def0 = myself::GetSpawnDefine(0);
				if( gg::IsNull(def0) == 0 ) {
					def0::SendScriptEvent(1717080,script_event_arg2,0);
				}
				break;
			}
			case 1717005: {
				def0 = myself::GetSpawnDefine(0);
				if( gg::IsNull(def0) == 0 ) {
					def0::SendScriptEvent(1717005,script_event_arg2,0);
				}
				break;
			}
			case 1717006: {
				def0 = myself::GetSpawnDefine(0);
				if( gg::IsNull(def0) == 0 ) {
					def0::SendScriptEvent(1717006,script_event_arg2,0);
				}
				break;
			}
		}
		super;
	}

}
