who isn't sick of converting the freaking scripts? this negates the need

This commit is contained in:
DarthArgus
2015-11-24 09:27:45 -06:00
parent 2e64106bc8
commit bbee2d328c
11077 changed files with 2604347 additions and 3425075 deletions
@@ -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;
}
}