mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-08-01 01:15:59 -04:00
who isn't sick of converting the freaking scripts? this negates the need
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
package script.item.component;
|
||||
|
||||
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;
|
||||
|
||||
public class serialize extends script.base_script
|
||||
{
|
||||
public serialize()
|
||||
{
|
||||
}
|
||||
public int OnAttach(obj_id self) throws InterruptedException
|
||||
{
|
||||
obj_id serial = getTopMostContainer(self);
|
||||
if (!isIdValid(serial))
|
||||
{
|
||||
long id = 192837465;
|
||||
serial = getObjIdWithNull(id);
|
||||
}
|
||||
setCraftedId(self, serial);
|
||||
setCrafter(self, serial);
|
||||
detachScript(self, "item.component.serialize");
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user