1
					Skrypty / Skrypt Mod
« dnia: 2013-01-18, 18:35 »
					ODŚWIEŻAM
					
				Ta sekcja pozwala Ci zobaczyć wszystkie wiadomości wysłane przez tego użytkownika. Zwróć uwagę, że możesz widzieć tylko wiadomości wysłane w działach do których masz aktualnie dostęp.
var int Coragon_ItemsGiven_Chapter_1;
var int Coragon_ItemsGiven_Chapter_2;
var int Coragon_ItemsGiven_Chapter_3;
var int Coragon_ItemsGiven_Chapter_4;
var int Coragon_ItemsGiven_Chapter_5;
FUNC VOID B_GiveTradeInv_Coragon (var C_NPC slf)
{
	if ((Kapitel >= 1)
	&& (Coragon_ItemsGiven_Chapter_1 == TRUE))
	{
		CreateInvItems (slf, ItMi_Gold, 50); 
		CreateInvItems (slf, ItFo_Wine, 6); 
		CreateInvItems (slf, ItFo_Booze, 3); 
		CreateInvItems (slf, ItFo_Beer, 5); 
		CreateInvItems (slf, ItFo_Apple, 5); 
		CreateInvItems (slf, ItFo_Stew, 5); 
			
		Coragon_ItemsGiven_Chapter_1 = TRUE;
	};
	if ((Kapitel >= 2)
	&& (Coragon_ItemsGiven_Chapter_2 == TRUE))
	{
			CreateInvItems (slf, ItMi_Gold, 50); 
		CreateInvItems (slf, ItFo_Wine, 100); 
		CreateInvItems (slf, ItFo_Booze, 100); 
		CreateInvItems (slf, ItFo_Beer, 100); 
		CreateInvItems (slf, ItFo_Bacon, 100); 
		CreateInvItems (slf, ItFo_Sausage, 100); 
		CreateInvItems (slf, ItFo_Honey, 100); 
        CreateInvItems (slf, ItFo_Stew, 100);  
		CreateInvItems (slf, ItFo_Bread, 100); 
 CreateInvItems (slf, ItFo_Cheese, 100); 
		
		Coragon_ItemsGiven_Chapter_2 = TRUE;
	};
	if ((Kapitel >= 3)
	&& (Coragon_ItemsGiven_Chapter_3 == TRUE))
	{
		CreateInvItems (slf, ItMi_Gold, 50); 
		CreateInvItems (slf, ItFo_Wine, 100); 
		CreateInvItems (slf, ItFo_Booze, 100); 
		CreateInvItems (slf, ItFo_Beer, 100); 
		CreateInvItems (slf, ItFo_Bacon, 100); 
		CreateInvItems (slf, ItFo_Sausage, 100); 
		CreateInvItems (slf, ItFo_Honey, 100); 
        CreateInvItems (slf, ItFo_Stew, 100);  
		CreateInvItems (slf, ItFo_Bread, 100); 
 CreateInvItems (slf, ItFo_Cheese, 100); 
		
		Coragon_ItemsGiven_Chapter_3 = TRUE;
	};
	if ((Kapitel >= 4)
	&& (Coragon_ItemsGiven_Chapter_4 == TRUE))
	{
		CreateInvItems (slf, ItMi_Gold, 150); 
		CreateInvItems (slf, ItFo_Wine, 7); 
		CreateInvItems (slf, ItFo_Booze, 4); 
		CreateInvItems (slf, ItFo_Beer, 6); 
		CreateInvItems (slf, ItFo_Apple, 5); 
		CreateInvItems (slf, ItFo_Stew, 5); 
		
		Coragon_ItemsGiven_Chapter_4 = TRUE;
	};
	if ((Kapitel >= 5)
	&& (Coragon_ItemsGiven_Chapter_5 == TRUE))
	{
		CreateInvItems (slf, ItMi_Gold, 150); 
		CreateInvItems (slf, ItFo_Wine, 5); 
		CreateInvItems (slf, ItFo_Booze, 4); 
		CreateInvItems (slf, ItFo_Beer, 5); 
		CreateInvItems (slf, ItFo_Apple, 5); 
		CreateInvItems (slf, ItFo_Stew, 5); 
		CreateInvItems (slf, ItFo_Bacon, 5); 
		CreateInvItems (slf, ItFo_Sausage, 5); 
		CreateInvItems (slf, ItFo_Honey, 5); 
		Coragon_ItemsGiven_Chapter_5 = TRUE;
	};
};