24 lines
		
	
	
		
			469 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			469 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/*   Script generated by
 | 
						|
Lilac Soul's NWN Script Generator, v. 2.2
 | 
						|
 | 
						|
For download info, please visit:
 | 
						|
http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625    */
 | 
						|
 | 
						|
//Put this on action taken in the conversation editor
 | 
						|
void main()
 | 
						|
{
 | 
						|
 | 
						|
object oPC = GetPCSpeaker();
 | 
						|
 | 
						|
object oItem;
 | 
						|
oItem = GetFirstItemInInventory(oPC);
 | 
						|
 | 
						|
while (GetIsObjectValid(oItem))
 | 
						|
   {
 | 
						|
   if (GetTag(oItem)=="stoleniron") DestroyObject(oItem);
 | 
						|
 | 
						|
   oItem = GetNextItemInInventory(oPC);
 | 
						|
   }
 | 
						|
 | 
						|
}
 |