mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-07-13 22:01:04 -04:00
23 lines
597 B
Java
Executable File
23 lines
597 B
Java
Executable File
package script.ai;
|
|
|
|
import script.obj_id;
|
|
|
|
public class beast_inventory extends script.base_script
|
|
{
|
|
public beast_inventory()
|
|
{
|
|
}
|
|
public int OnReceivedItem(obj_id self, obj_id srcContainer, obj_id transferer, obj_id item) throws InterruptedException
|
|
{
|
|
if (!isPlayer(transferer))
|
|
{
|
|
return SCRIPT_CONTINUE;
|
|
}
|
|
return SCRIPT_OVERRIDE;
|
|
}
|
|
public int OnAboutToLoseItem(obj_id self, obj_id destContainer, obj_id transferer, obj_id item) throws InterruptedException
|
|
{
|
|
return SCRIPT_OVERRIDE;
|
|
}
|
|
}
|