29 lines
		
	
	
		
			590 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			590 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
object oItem;
 | 
						|
/*   Script generated by
 | 
						|
Lilac Soul's NWN Script Generator, v. 2.1
 | 
						|
 | 
						|
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();
 | 
						|
 | 
						|
if (GetItemPossessedBy(oPC, "QST_LG_SAPPHIRE")!= OBJECT_INVALID)
 | 
						|
   {
 | 
						|
   oItem = GetItemPossessedBy(oPC, "QST_LG_SAPPHIRE");
 | 
						|
 | 
						|
   if (GetIsObjectValid(oItem))
 | 
						|
      DestroyObject(oItem);
 | 
						|
 | 
						|
   }
 | 
						|
else
 | 
						|
   {
 | 
						|
   FloatingTextStringOnCreature("You must give Justl the gem to progress this quest.", oPC);
 | 
						|
 | 
						|
   }
 | 
						|
 | 
						|
}
 |