O temacie
Autor Abubaker
Zaczęty 24.11.2009 roku
Wyświetleń 3507
Odpowiedzi 4
Abubaker
inż. Avallach Administrator
<span style="color: rgb(0, 0, 0); font-family: 'MS Shell Dlg 2'; font-size: 8pt;">//======================================== //-----------------> oldletter //======================================== INSTANCE DIA_Norvid_oldletter (C_INFO) { npc = DJG_50000_Norvid; nr = 8; condition = DIA_Norvid_oldletter_Condition; information = DIA_Norvid_oldletter_Info; permanent = FALSE; description = "Co do starożytnego pisma .... "; }; FUNC INT DIA_Norvid_oldletter_Condition() { if (Npc_HasItems (other,ITWr_przedpapier) >=1) { return TRUE; }; }; func VOID DIA_Norvid_oldletter_Info() { var int timereaming; timereaming = Wld_GetDay; AI_Output (other, self ,"DIA_Norvid_oldletter_15_01"); //Co do starożytnego pisma .... AI_Output (self, other ,"DIA_Norvid_oldletter_03_02"); //tak? AI_Output (other, self ,"DIA_Norvid_oldletter_15_03"); //Wiesz jak je odczytać ? AI_Output (self, other ,"DIA_Norvid_oldletter_03_04"); //kiedyś uczyłem sie starorzytnego języka może sie uda. pokaż ten pergamin. AI_Output (other, self ,"DIA_Norvid_oldletter_15_05"); //Proszę weś go. B_GiveInvItems (other, self, ITWr_przedpapier, 1); AI_Output (self, other ,"DIA_Norvid_oldletter_03_06"); //Dobrze przetłumaczę go, ale nie na poczekaniu. AI_Output (other, self ,"DIA_Norvid_oldletter_15_07"); //Ile ci to zajmie? AI_Output (self, other ,"DIA_Norvid_oldletter_03_08"); //Do jutra się wyrobię. AI_StopProcessInfos (self); }; //======================================== //-----------------> Lettergive //======================================== INSTANCE DIA_Norvid_Lettergive (C_INFO) { npc = DJG_50000_Norvid; nr = 9; condition = DIA_Norvid_Lettergive_Condition; information = DIA_Norvid_Lettergive_Info; permanent = FALSE; Important = TRUE; }; FUNC INT DIA_Norvid_Lettergive_Condition() { if (Npc_KnowsInfo (other, DIA_Norvid_oldletter)) && (Timereaming >= Timereaming + 24) { return TRUE; }; };
maciejG
if (Npc_KnowsInfo (other, DIA_Norvid_oldletter)) && (Timereaming >= Timereaming + 24) {
if (Npc_KnowsInfo (other, DIA_Norvid_oldletter) && (Timereaming >= Timereaming + 24)) {