18 lines
429 B
Plaintext
18 lines
429 B
Plaintext
void main()
|
|
{
|
|
object oSigil = GetFirstItemInInventory( GetPCSpeaker() );
|
|
int nCount = 0;
|
|
while( GetIsObjectValid( oSigil ) )
|
|
{
|
|
if( GetTag( oSigil ) == "ShadowknightSigil" )
|
|
{
|
|
DestroyObject( oSigil );
|
|
nCount++;
|
|
}
|
|
oSigil = GetNextItemInInventory( GetPCSpeaker() );
|
|
}
|
|
int nPrice = 200;
|
|
GiveGoldToCreature( GetPCSpeaker(), ( nCount * nPrice ) );
|
|
}
|
|
|