20 lines
		
	
	
		
			608 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			608 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| //::///////////////////////////////////////////////
 | |
| //:: FileName murkypot
 | |
| //:://////////////////////////////////////////////
 | |
| //:://////////////////////////////////////////////
 | |
| //:: Created By: Script Wizard
 | |
| //:: Created On: 9/23/2002 2:17:56 PM
 | |
| //:://////////////////////////////////////////////
 | |
| void main()
 | |
| {
 | |
| 	// Give the speaker the items
 | |
| 	CreateItemOnObject("nw_it_mpotion015", GetPCSpeaker(), 1);
 | |
| 
 | |
| 
 | |
| 	// Remove items from the player's inventory
 | |
| 	object oItemToTake;
 | |
| 	oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "EmptyBottle");
 | |
| 	if(GetIsObjectValid(oItemToTake) != 0)
 | |
| 		DestroyObject(oItemToTake);
 | |
| }
 |