mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
* implementation * add tests, testclient support for wear_item todo * add UpdateConfiguration to ResourceManager for tests * add test that can only move equipped items * add docs, core-changes * add macro defs for Lord British, Blackthorn, Dupre * update doc xmls' datemodified * add test for paperdoll flags * fix test_equip_npc_dragdrop race condition
13 lines
358 B
Text
13 lines
358 B
Text
use uo;
|
|
use os;
|
|
|
|
program equiptest( equipped_on, item, startup, equipped_by )
|
|
var pid := GetObjProperty( item, "#TestPid" );
|
|
if ( pid )
|
|
var ev := struct{ type := "equiptest", on_chr := equipped_on,
|
|
item := item, startup := startup, by_chr := equipped_by };
|
|
|
|
GetProcess( pid ).SendEvent( ev );
|
|
endif
|
|
return 1;
|
|
endprogram
|