Files
dsrc/sku.0/sys.server/compiled/game/script/ai/beast_inventory.java
T
2018-06-07 00:32:29 +01:00

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;
}
}