mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-08-02 02:15:48 -04:00
who isn't sick of converting the freaking scripts? this negates the need
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
package script.structure.filler;
|
||||
|
||||
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.structure;
|
||||
|
||||
public class filler extends script.base_script
|
||||
{
|
||||
public filler()
|
||||
{
|
||||
}
|
||||
public static final String SCRIPT_ME = "structure.filler.filler";
|
||||
public static final float DELAY_TIME = 5f;
|
||||
public static final String HANDLER_INIT_FILLER_SPAWN = "handleInitFillerSpawn";
|
||||
public static final String HANDLER_CLEANUP_FILLER_SPAWN = "handleCleanupFillerSpawn";
|
||||
public int OnInitialize(obj_id self) throws InterruptedException
|
||||
{
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
public int OnDetach(obj_id self) throws InterruptedException
|
||||
{
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
public int OnUnloadedFromMemory(obj_id self) throws InterruptedException
|
||||
{
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
public int OnDestroy(obj_id self) throws InterruptedException
|
||||
{
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
public int handleInitFillerSpawn(obj_id self, dictionary params) throws InterruptedException
|
||||
{
|
||||
LOG("FILLER_BUILDING", "**************** TIME = " + getGameTime() + " ******************");
|
||||
structure.resetFillerSpawns(self);
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
public int handleCleanupFillerSpawn(obj_id self, dictionary params) throws InterruptedException
|
||||
{
|
||||
structure.cleanupFillerSpawns(self);
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user