Mógłbyś powiedzieć co mam poprawić i co gdzie dodać?
Mam w Story_Globals:
var int Bronek_Kasa;
INSTANCE DIA_Bronek_Zaplata (C_INFO)
{
npc = VLK_5644_Bronek;
nr = 3;
condition = DIA_Bronek_Zaplata_Condition;
information = DIA_Bronek_Zaplata_Info;
permanent = TRUE;
description = "Co z zapłatą?";
};
FUNC int DIA_Bronek_Zaplata_Condition()
{
return 1;
};
FUNC void DIA_Bronek_Zaplata_Info()
{
if (bronek_kasa = Wld_GetDay())
{
AI_Output (other, self ,"DIA_Bronek_Zaplata_15_01"); //Przychodzę po kase.
AI_Output (self, other ,"DIA_Bronek_Zaplata_03_02"); //Proszę.
CreateInvItems (self, ItMi_Gold, 100);
B_GiveInvItems (self, other, ItMi_Gold, 100);
bronek_kasa = Wld_GetDay();
};
if (bronek_kasa == Wld_GetDay())
{
AI_Output (other, self ,"DIA_Bronek_Zaplata_15_01"); //Przychodzę po kase.
AI_Output (self, other ,"DIA_Bronek_Zaplata_03_02"); //Chyba cie coś boli.
};
};