20 lines
		
	
	
		
			628 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			628 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
//::///////////////////////////////////////////////
 | 
						|
//:: FileName at_005
 | 
						|
//:://////////////////////////////////////////////
 | 
						|
//:://////////////////////////////////////////////
 | 
						|
//:: Created By: Script Wizard
 | 
						|
//:: Created On: 7/27/02 7:28:29 PM
 | 
						|
//:://////////////////////////////////////////////
 | 
						|
void main()
 | 
						|
{
 | 
						|
    // Give the speaker the items
 | 
						|
    CreateItemOnObject("AR_KEY_MAGDAS", GetPCSpeaker(), 1);
 | 
						|
 | 
						|
 | 
						|
    // Remove items from the player's inventory
 | 
						|
    object oItemToTake;
 | 
						|
    oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "CRFT_SPIDERSAC");
 | 
						|
    if(GetIsObjectValid(oItemToTake) != 0)
 | 
						|
        DestroyObject(oItemToTake);
 | 
						|
}
 |