package script.quest.task.ground; import script.*; import script.base_class.*; import script.combat_engine.*; import java.util.Arrays; import java.util.Hashtable; import java.util.Vector; import script.base_script; import script.library.groundquests; public class nothing extends script.quest.task.ground.base_task { public nothing() { } public static final String taskType = "nothing"; public int OnTaskActivated(obj_id self, int questCrc, int taskId) throws InterruptedException { groundquests.questOutputDebugInfo(self, questCrc, taskId, taskType, "OnTaskActivated", taskType + "task entered."); questCompleteTask(questCrc, taskId, self); return super.OnTaskActivated(self, questCrc, taskId); } public int OnTaskCompleted(obj_id self, int questCrc, int taskId) throws InterruptedException { groundquests.questOutputDebugInfo(self, questCrc, taskId, taskType, "OnTaskCompleted", taskType + "task completed."); return super.OnTaskCompleted(self, questCrc, taskId); } public int OnTaskFailed(obj_id self, int questCrc, int taskId) throws InterruptedException { groundquests.questOutputDebugInfo(self, questCrc, taskId, taskType, "OnTaskFailed", taskType + "task failed."); return super.OnTaskFailed(self, questCrc, taskId); } public int OnTaskCleared(obj_id self, int questCrc, int taskId) throws InterruptedException { groundquests.questOutputDebugInfo(self, questCrc, taskId, taskType, "OnTaskCleared", taskType + " task cleared."); return super.OnTaskCleared(self, questCrc, taskId); } public int OnDetach(obj_id self) throws InterruptedException { removeObjVar(self, groundquests.getTaskTypeObjVar(self, taskType)); return SCRIPT_CONTINUE; } }