u can compile it with:
[php:1:e1a31c9568].
class warrior_loot : warrior
{
handler:
EventHandler SEE_ITEM(item)
{
AddGetItemDesire(item, 10);
super;
}
}
.[/php:1:e1a31c9568]
to get exactly this ai.obj snippet ^^
prob is to deal with the looted items
- how much items can such a looter carry
- what happens with the items
- only to pickup specific items
etc.
|