Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- instance DIA_Sagitta_EXIT(C_Info)
- {
- npc = BAU_980_Sagitta;
- nr = 999;
- condition = DIA_Sagitta_EXIT_Condition;
- information = DIA_Sagitta_EXIT_Info;
- permanent = TRUE;
- description = Dialog_Ende;
- };
- func int DIA_Sagitta_EXIT_Condition()
- {
- if(Kapitel < 3)
- {
- return TRUE;
- };
- };
- func void DIA_Sagitta_EXIT_Info()
- {
- AI_StopProcessInfos(self);
- };
- instance DIA_Sagitta_HALLO(C_Info)
- {
- npc = BAU_980_Sagitta;
- nr = 4;
- condition = DIA_Sagitta_HALLO_Condition;
- information = DIA_Sagitta_HALLO_Info;
- description = "Nie czujesz się trochę samotna?";
- };
- func int DIA_Sagitta_HALLO_Condition()
- {
- return TRUE;
- };
- func void DIA_Sagitta_HALLO_Info()
- {
- AI_Output(other,self,"DIA_Sagitta_HALLO_15_00"); //Nie czujesz się trochę samotna?
- AI_Output(self,other,"DIA_Sagitta_HALLO_17_01"); //Gadaj, co masz powiedzieć i spadaj. Jestem zajęta.
- Info_ClearChoices(DIA_Sagitta_HALLO);
- Info_AddChoice(DIA_Sagitta_HALLO,Dialog_Back,DIA_Sagitta_HALLO_ende);
- Info_AddChoice(DIA_Sagitta_HALLO,"Możesz mnie uzdrowić?",DIA_Sagitta_HALLO_Heil);
- Info_AddChoice(DIA_Sagitta_HALLO,"Co tutaj robisz?",DIA_Sagitta_HALLO_was);
- Info_AddChoice(DIA_Sagitta_HALLO,"Kim jesteś?",DIA_Sagitta_HALLO_wer);
- };
- func void DIA_Sagitta_HALLO_wer()
- {
- AI_Output(other,self,"DIA_Sagitta_HALLO_wer_15_00"); //Kim jesteś?
- AI_Output(self,other,"DIA_Sagitta_HALLO_wer_17_01"); //Widzę, żeś o mnie nie słyszał?
- AI_Output(self,other,"DIA_Sagitta_HALLO_wer_17_02"); //Nazywają mnie zielarką, szarlatanem w spódnicy.
- AI_Output(self,other,"DIA_Sagitta_HALLO_wer_17_03"); //Jednak kiedy poczują się gorzej, od razu przypominają sobie o starej, dobrej Sagicie i jej leczniczych ziołach.
- };
- func void DIA_Sagitta_HALLO_was()
- {
- AI_Output(other,self,"DIA_Sagitta_HALLO_was_15_00"); //Czym się zajmujesz?
- AI_Output(self,other,"DIA_Sagitta_HALLO_was_17_01"); //Mieszkam tu i hoduję zioła, odkąd tylko pamiętam.
- AI_Output(self,other,"DIA_Sagitta_HALLO_was_17_02"); //Las jest moim przyjacielem. Wśród jego darów znajduję wszystko, co jest mi potrzebne.
- };
- func void DIA_Sagitta_HALLO_Heil()
- {
- AI_Output(other,self,"DIA_Sagitta_HALLO_Heil_15_00"); //Czy mogłabyś mnie uzdrowić?
- AI_Output(self,other,"DIA_Sagitta_HALLO_Heil_17_01"); //Po to właśnie przyszedłeś, prawda? Daj mi znać, jeżeli będziesz potrzebował pomocy.
- Log_CreateTopic(Topic_SoldierTrader,LOG_NOTE);
- B_LogEntry(Topic_SoldierTrader,"Sagitta sprzedaje swoje towary za farmą Sekoba.");
- };
- func void DIA_Sagitta_HALLO_ende()
- {
- Info_ClearChoices(DIA_Sagitta_HALLO);
- };
- instance DIA_Sagitta_TeachAlchemyRequest(C_Info)
- {
- npc = BAU_980_Sagitta;
- nr = 6;
- condition = DIA_Sagitta_TeachAlchemyRequest_Condition;
- information = DIA_Sagitta_TeachAlchemyRequest_Info;
- permanent = TRUE;
- description = "Czy mogłabyś przekazać mi swą wiedzę o ziołach?";
- };
- func int DIA_Sagitta_TeachAlchemyRequest_Condition()
- {
- if(Npc_KnowsInfo(other,DIA_Sagitta_HALLO) && (MIS_Sagitta_Herb == FALSE))
- {
- return TRUE;
- };
- };
- var int DIA_Sagitta_TeachAlchemyRequest_OneTime;
- func void DIA_Sagitta_TeachAlchemyRequest_Info()
- {
- AI_Output(other,self,"DIA_Sagitta_TeachAlchemyRequest_15_00"); //Czy mogłabyś przekazać mi swoją wiedzę o ziołach?
- if(DIA_Sagitta_TeachAlchemyRequest_OneTime == FALSE)
- {
- AI_Output(self,other,"DIA_Sagitta_TeachAlchemyRequest_17_01"); //Interesujące. Ludzie nieczęsto mnie o to proszą.
- AI_Output(self,other,"DIA_Sagitta_TeachAlchemyRequest_17_02"); //Chcesz więc zostać moim uczniem? Jeśli tak, będziesz musiał dowieść uczciwości swoich intencji.
- AI_Output(self,other,"DIA_Sagitta_TeachAlchemyRequest_17_03"); //Od jakiegoś czasu pracuję nad bardzo rzadką miksturą z unikalnych ziół i soków.
- AI_Output(self,other,"DIA_Sagitta_TeachAlchemyRequest_17_04"); //Jeśli zdobędziesz dla mnie brakujący składnik mikstury, zostanę twoją nauczycielką.
- DIA_Sagitta_TeachAlchemyRequest_OneTime = TRUE;
- }
- else
- {
- AI_Output(self,other,"DIA_Sagitta_TeachAlchemyRequest_17_05"); //Już przecież mówiłam: tak, jednak najpierw musisz mi przynieść brakujący składnik.
- };
- Info_ClearChoices(DIA_Sagitta_TeachAlchemyRequest);
- Info_AddChoice(DIA_Sagitta_TeachAlchemyRequest,"Przykro mi, nie jestem zainteresowany.",DIA_Sagitta_TeachAlchemyRequest_nein);
- Info_AddChoice(DIA_Sagitta_TeachAlchemyRequest,"Gdzie mogę znaleźć ten składnik?",DIA_Sagitta_TeachAlchemyRequest_wo);
- Info_AddChoice(DIA_Sagitta_TeachAlchemyRequest,"Co to za składnik?",DIA_Sagitta_TeachAlchemyRequest_was);
- };
- func void DIA_Sagitta_TeachAlchemyRequest_was()
- {
- AI_Output(other,self,"DIA_Sagitta_TeachAlchemyRequest_was_15_00"); //Co to za składnik?
- AI_Output(self,other,"DIA_Sagitta_TeachAlchemyRequest_was_17_01"); //To niebywale rzadka roślina - ziele, zwane słonecznym aloesem. Poznasz je po intensywnym zapachu migdałów.
- };
- func void DIA_Sagitta_TeachAlchemyRequest_wo()
- {
- AI_Output(other,self,"DIA_Sagitta_TeachAlchemyRequest_wo_15_00"); //Gdzie mogę znaleźć ten składnik?
- AI_Output(self,other,"DIA_Sagitta_TeachAlchemyRequest_wo_17_01"); //Ziele, o którym mówię, można znaleźć tylko tam, gdzie są odpowiednie warunki.
- AI_Output(self,other,"DIA_Sagitta_TeachAlchemyRequest_wo_17_02"); //Odpowiednie gleby powstają jedynie na bazie odchodów czarnych trolli.
- AI_Output(self,other,"DIA_Sagitta_TeachAlchemyRequest_wo_17_03"); //Dlatego właśnie zdobycie tego składnika jest dla mnie tak trudne, rozumiesz chyba?
- Info_AddChoice(DIA_Sagitta_TeachAlchemyRequest,"W tej sytuacji nie pozostaje mi nic innego, jak się za nim rozejrzeć",DIA_Sagitta_TeachAlchemyRequest_wo_ja);
- };
- func void DIA_Sagitta_TeachAlchemyRequest_wo_ja()
- {
- AI_Output(other,self,"DIA_Sagitta_TeachAlchemyRequest_wo_ja_15_00"); //W tej sytuacji nie pozostaje mi nic innego, jak się za nim rozejrzeć.
- AI_Output(self,other,"DIA_Sagitta_TeachAlchemyRequest_wo_ja_17_01"); //Cóż, życzę powodzenia w poszukiwaniach.
- Info_ClearChoices(DIA_Sagitta_TeachAlchemyRequest);
- MIS_Sagitta_Herb = LOG_Running;
- Log_CreateTopic(TOPIC_SagittaHerb,LOG_MISSION);
- Log_SetTopicStatus(TOPIC_SagittaHerb,LOG_Running);
- B_LogEntry(TOPIC_SagittaHerb,"Sagitta prosiła mnie o dziwne ziele, zwane słonecznym aloesem. Rośnie ono tylko na odchodach czarnego trolla.");
- };
- func void DIA_Sagitta_TeachAlchemyRequest_nein()
- {
- AI_Output(other,self,"DIA_Sagitta_TeachAlchemyRequest_nein_15_00"); //Przykro mi, nie jestem zainteresowany.
- AI_Output(self,other,"DIA_Sagitta_TeachAlchemyRequest_nein_17_01"); //Nie marnuj więc mojego cennego czasu.
- Info_ClearChoices(DIA_Sagitta_TeachAlchemyRequest);
- };
- instance DIA_Sagitta_Sagitta_Herb(C_Info)
- {
- npc = BAU_980_Sagitta;
- nr = 3;
- condition = DIA_Sagitta_Sagitta_Herb_Condition;
- information = DIA_Sagitta_Sagitta_Herb_Info;
- description = "Znalazłem słoneczny aloes.";
- };
- func int DIA_Sagitta_Sagitta_Herb_Condition()
- {
- if(Npc_HasItems(other,ItPl_Sagitta_Herb_MIS) && (MIS_Sagitta_Herb == LOG_Running) && Npc_KnowsInfo(other,DIA_Sagitta_HALLO))
- {
- return TRUE;
- };
- };
- func void DIA_Sagitta_Sagitta_Herb_Info()
- {
- AI_Output(other,self,"DIA_Sagitta_Sagitta_Herb_15_00"); //Znalazłem słoneczny aloes.
- AI_Output(self,other,"DIA_Sagitta_Sagitta_Herb_17_01"); //Dziękuję. Możesz mnie pytać, o co tylko zechcesz.
- B_GiveInvItems(other,self,ItPl_Sagitta_Herb_MIS,1);
- Sagitta_TeachAlchemy = TRUE;
- MIS_Sagitta_Herb = LOG_SUCCESS;
- B_GivePlayerXP(XP_Sagitta_Sonnenaloe);
- Npc_RemoveInvItems(self,ItPl_Sagitta_Herb_MIS,1);
- };
- instance DIA_Sagitta_Teach(C_Info)
- {
- npc = BAU_980_Sagitta;
- nr = 2;
- condition = DIA_Sagitta_Teach_Condition;
- information = DIA_Sagitta_Teach_Info;
- permanent = TRUE;
- description = "Jakie mikstury możesz mnie nauczyć przyrządzać?";
- };
- var int DIA_Sagitta_Teach_permanent;
- func int DIA_Sagitta_Teach_Condition()
- {
- if((DIA_Sagitta_Teach_permanent == FALSE) && (Sagitta_TeachAlchemy == TRUE) && Npc_KnowsInfo(other,DIA_Sagitta_HALLO))
- {
- return TRUE;
- };
- };
- func void DIA_Sagitta_Teach_Info()
- {
- var int talente;
- talente = 0;
- AI_Output(other,self,"DIA_Sagitta_Teach_15_00"); //Jakie mikstury możesz mnie nauczyć przyrządzać?
- if((PLAYER_TALENT_ALCHEMY[POTION_Health_01] == FALSE) || (PLAYER_TALENT_ALCHEMY[POTION_Health_02] == FALSE) || (PLAYER_TALENT_ALCHEMY[POTION_Health_03] == FALSE) || (PLAYER_TALENT_ALCHEMY[POTION_Mana_01] == FALSE) || (PLAYER_TALENT_ALCHEMY[POTION_Mana_02] == FALSE) || (PLAYER_TALENT_ALCHEMY[POTION_Mana_03] == FALSE) || (PLAYER_TALENT_ALCHEMY[POTION_Perm_Mana] == FALSE) || (PLAYER_TALENT_ALCHEMY[POTION_Perm_Health] == FALSE) || (PLAYER_TALENT_ALCHEMY[POTION_Perm_DEX] == FALSE) || (PLAYER_TALENT_ALCHEMY[POTION_Perm_STR] == FALSE))
- {
- Info_ClearChoices(DIA_Sagitta_Teach);
- Info_AddChoice(DIA_Sagitta_Teach,Dialog_Back,DIA_Sagitta_Teach_BACK);
- };
- if(PLAYER_TALENT_ALCHEMY[POTION_Health_01] == FALSE)
- {
- Info_AddChoice(DIA_Sagitta_Teach,B_BuildLearnString("Esencja lecznicza",B_GetLearnCostTalent(other,NPC_TALENT_ALCHEMY,POTION_Health_01)),DIA_Sagitta_Teach_Health_01);
- talente = talente + 1;
- };
- if((PLAYER_TALENT_ALCHEMY[POTION_Health_02] == FALSE) && (PLAYER_TALENT_ALCHEMY[POTION_Health_01] == TRUE))
- {
- Info_AddChoice(DIA_Sagitta_Teach,B_BuildLearnString("Ekstrakt leczniczy",B_GetLearnCostTalent(other,NPC_TALENT_ALCHEMY,POTION_Health_02)),DIA_Sagitta_Teach_Health_02);
- talente = talente + 1;
- };
- if((PLAYER_TALENT_ALCHEMY[POTION_Health_03] == FALSE) && (PLAYER_TALENT_ALCHEMY[POTION_Health_02] == TRUE))
- {
- Info_AddChoice(DIA_Sagitta_Teach,B_BuildLearnString("Eliksir leczniczy",B_GetLearnCostTalent(other,NPC_TALENT_ALCHEMY,POTION_Health_03)),dia_sagitta_teach_health_03);
- talente = talente + 1;
- };
- if((PLAYER_TALENT_ALCHEMY[POTION_Perm_Health] == FALSE) && (PLAYER_TALENT_ALCHEMY[POTION_Health_03] == TRUE))
- {
- Info_AddChoice(DIA_Sagitta_Teach,B_BuildLearnString("Eliksir życia",B_GetLearnCostTalent(other,NPC_TALENT_ALCHEMY,POTION_Perm_Health)),dia_sagitta_teach_perm_health);
- talente = talente + 1;
- };
- if(PLAYER_TALENT_ALCHEMY[POTION_Perm_DEX] == FALSE)
- {
- Info_AddChoice(DIA_Sagitta_Teach,B_BuildLearnString("Eliksir zręczności",B_GetLearnCostTalent(other,NPC_TALENT_ALCHEMY,POTION_Perm_DEX)),DIA_Sagitta_Teach_Perm_DEX);
- talente = talente + 1;
- };
- if(PLAYER_TALENT_ALCHEMY[POTION_Perm_STR] == FALSE)
- {
- Info_AddChoice(DIA_Sagitta_Teach,B_BuildLearnString("Eliksir siły",B_GetLearnCostTalent(other,NPC_TALENT_ALCHEMY,POTION_Perm_STR)),DIA_Sagitta_Teach_Perm_STR);
- talente = talente + 1;
- };
- if(talente > 0)
- {
- if(Alchemy_Explain != TRUE)
- {
- AI_Output(self,other,"DIA_Sagitta_Teach_17_01"); //Nim nauczę cię trudnej sztuki alchemii, powiem ci, co jest potrzebne do sporządzania mikstur.
- AI_Output(self,other,"DIA_Sagitta_Teach_17_02"); //Stół alchemika służy jako swego rodzaju kuchnia dla sporządzania mikstur. Będziesz także potrzebował pustego flakonu, by przechowywać w nim gotową miksturę.
- AI_Output(self,other,"DIA_Sagitta_Teach_17_03"); //Następnie wystarczy połączyć odpowiednie składniki i mikstura gotowa.
- AI_Output(self,other,"DIA_Sagitta_Teach_17_04"); //Tej wiedzy nauczysz się jedynie ode mnie.
- Alchemy_Explain = TRUE;
- }
- else
- {
- AI_Output(self,other,"DIA_Sagitta_Teach_17_05"); //O której z mikstur chcesz posłuchać?
- };
- }
- else
- {
- AI_Output(self,other,"DIA_Sagitta_Teach_17_06"); //Wiesz już wszystko, czego mogłabym cię nauczyć.
- DIA_Sagitta_Teach_permanent = TRUE;
- };
- };
- func void DIA_Sagitta_Teach_BACK()
- {
- Info_ClearChoices(DIA_Sagitta_Teach);
- };
- func void DIA_Sagitta_Teach_Health_01()
- {
- B_TeachPlayerTalentAlchemy(self,other,POTION_Health_01);
- AI_Output(self,other,"DIA_Sagitta_Teach_17_03"); //Następnie wystarczy połączyć odpowiednie składniki i mikstura gotowa.
- Info_ClearChoices(DIA_Sagitta_Teach);
- };
- func void DIA_Sagitta_Teach_Health_02()
- {
- B_TeachPlayerTalentAlchemy(self,other,POTION_Health_02);
- AI_Output(self,other,"DIA_Sagitta_Teach_17_03"); //Następnie wystarczy połączyć odpowiednie składniki i mikstura gotowa.
- Info_ClearChoices(DIA_Sagitta_Teach);
- };
- func void dia_sagitta_teach_health_03()
- {
- B_TeachPlayerTalentAlchemy(self,other,POTION_Health_03);
- AI_Output(self,other,"DIA_Sagitta_Teach_17_03"); //Następnie wystarczy połączyć odpowiednie składniki i mikstura gotowa.
- Info_ClearChoices(DIA_Sagitta_Teach);
- };
- func void dia_sagitta_teach_perm_health()
- {
- B_TeachPlayerTalentAlchemy(self,other,POTION_Perm_Health);
- AI_Output(self,other,"DIA_Sagitta_Teach_17_03"); //Następnie wystarczy połączyć odpowiednie składniki i mikstura gotowa.
- Info_ClearChoices(DIA_Sagitta_Teach);
- };
- func void DIA_Sagitta_Teach_Perm_DEX()
- {
- B_TeachPlayerTalentAlchemy(self,other,POTION_Perm_DEX);
- Info_ClearChoices(DIA_Sagitta_Teach);
- };
- func void DIA_Sagitta_Teach_Perm_STR()
- {
- B_TeachPlayerTalentAlchemy(self,other,POTION_Perm_STR);
- Info_ClearChoices(DIA_Sagitta_Teach);
- };
- instance DIA_Sagitta_HEAL(C_Info)
- {
- npc = BAU_980_Sagitta;
- nr = 99;
- condition = DIA_Sagitta_HEAL_Condition;
- information = DIA_Sagitta_HEAL_Info;
- permanent = TRUE;
- description = "Ulecz moje rany.";
- };
- func int DIA_Sagitta_HEAL_Condition()
- {
- if(Npc_KnowsInfo(other,DIA_Sagitta_HALLO))
- {
- return TRUE;
- };
- };
- func void DIA_Sagitta_HEAL_Info()
- {
- AI_Output(other,self,"DIA_Sagitta_HEAL_15_00"); //Wylecz mnie.
- if(hero.attribute[ATR_HITPOINTS] < hero.attribute[ATR_HITPOINTS_MAX])
- {
- AI_Output(self,other,"DIA_Sagitta_HEAL_17_01"); //Chwileczkę. Mmm. Moja maść powinna wyleczyć najgorsze z twoich ran.
- hero.attribute[ATR_HITPOINTS] = hero.attribute[ATR_HITPOINTS_MAX];
- PrintScreen(PRINT_FullyHealed,-1,-1,FONT_Screen,2);
- }
- else
- {
- AI_Output(self,other,"DIA_Sagitta_HEAL_17_02"); //W tej chwili nie potrzebujesz leczenia.
- };
- };
- instance DIA_Sagitta_TRADE(C_Info)
- {
- npc = BAU_980_Sagitta;
- condition = DIA_Sagitta_TRADE_Condition;
- information = DIA_Sagitta_TRADE_Info;
- permanent = TRUE;
- trade = TRUE;
- description = "Co możesz mi zaoferować?";
- };
- func int DIA_Sagitta_TRADE_Condition()
- {
- if(Npc_KnowsInfo(other,DIA_Sagitta_HALLO))
- {
- return TRUE;
- };
- };
- func void DIA_Sagitta_TRADE_Info()
- {
- if(SAGITTA_FLAG == 1)
- {
- b_clearalchemyinv(self);
- if(SAGITTA_FLASKS > 0)
- {
- CreateInvItems(self,ItMi_Flask,SAGITTA_FLASKS);
- };
- SAGITTA_FLAG = 0;
- };
- AI_Output(other,self,"DIA_Sagitta_TRADE_15_00"); //Jakie towary masz do zaoferowania?
- B_GiveTradeInv(self);
- AI_Output(self,other,"DIA_Sagitta_TRADE_17_01"); //Powiedz, co cię interesuje.
- };
- instance DIA_Sagitta_KAP3_EXIT(C_Info)
- {
- npc = BAU_980_Sagitta;
- nr = 999;
- condition = DIA_Sagitta_KAP3_EXIT_Condition;
- information = DIA_Sagitta_KAP3_EXIT_Info;
- permanent = TRUE;
- description = Dialog_Ende;
- };
- func int DIA_Sagitta_KAP3_EXIT_Condition()
- {
- if(Kapitel == 3)
- {
- return TRUE;
- };
- };
- func void DIA_Sagitta_KAP3_EXIT_Info()
- {
- AI_StopProcessInfos(self);
- };
- instance DIA_Sagitta_OBSESSION(C_Info)
- {
- npc = BAU_980_Sagitta;
- nr = 30;
- condition = DIA_Sagitta_OBSESSION_Condition;
- information = DIA_Sagitta_OBSESSION_Info;
- description = "Chyba mam dreszcze.";
- };
- func int DIA_Sagitta_OBSESSION_Condition()
- {
- if((SC_IsObsessed == TRUE) && (SC_ObsessionTimes < 1) && Npc_KnowsInfo(other,DIA_Sagitta_HALLO))
- {
- return TRUE;
- };
- };
- func void DIA_Sagitta_OBSESSION_Info()
- {
- AI_Output(other,self,"DIA_Sagitta_OBSESSION_15_00"); //Od jakiegoś czasu cierpię na dziwaczne drgawki. Potrzebuję pomocy.
- AI_Output(self,other,"DIA_Sagitta_OBSESSION_17_01"); //Widzę, że w twoim przypadku sen nie będzie wystarczającym lekarstwem. Naraziłeś się na czarne spojrzenie Poszukiwaczy.
- AI_Output(self,other,"DIA_Sagitta_OBSESSION_17_02"); //Udaj się do Pyrokara, do klasztoru. Moje skromne leki nie wystarczą.
- };
- instance DIA_Sagitta_Thekla(C_Info)
- {
- npc = BAU_980_Sagitta;
- nr = 3;
- condition = DIA_Sagitta_Thekla_Condition;
- information = DIA_Sagitta_Thekla_Info;
- description = "Thekla przysyła mnie po odbiór przesyłki.";
- };
- func int DIA_Sagitta_Thekla_Condition()
- {
- if((MIS_Thekla_Paket == LOG_Running) && Npc_KnowsInfo(other,DIA_Sagitta_HALLO))
- {
- return TRUE;
- };
- };
- func void DIA_Sagitta_Thekla_Info()
- {
- AI_Output(other,self,"DIA_Sagitta_Thekla_15_00"); //Thekla przysyła mnie po odbiór przesyłki.
- AI_Output(self,other,"DIA_Sagitta_Thekla_17_01"); //Ach, tak. Właściwie spodziewałam się jej już kilka dni temu.
- AI_Output(self,other,"DIA_Sagitta_Thekla_17_02"); //Oto paczka, dbaj o nią!
- B_GivePlayerXP(XP_AmbientKap3);
- B_GiveInvItems(self,other,ItMi_TheklasPaket,1);
- };
- instance DIA_Sagitta_KAP4_EXIT(C_Info)
- {
- npc = BAU_980_Sagitta;
- nr = 999;
- condition = DIA_Sagitta_KAP4_EXIT_Condition;
- information = DIA_Sagitta_KAP4_EXIT_Info;
- permanent = TRUE;
- description = Dialog_Ende;
- };
- func int DIA_Sagitta_KAP4_EXIT_Condition()
- {
- if(Kapitel == 4)
- {
- return TRUE;
- };
- };
- func void DIA_Sagitta_KAP4_EXIT_Info()
- {
- AI_StopProcessInfos(self);
- };
- instance DIA_Sagitta_HEALRANDOLPH(C_Info)
- {
- npc = BAU_980_Sagitta;
- nr = 30;
- condition = DIA_Sagitta_HEALRANDOLPH_Condition;
- information = DIA_Sagitta_HEALRANDOLPH_Info;
- permanent = TRUE;
- description = "Randolph cierpi na syndrom odstawienia alkoholu.";
- };
- var int DIA_Sagitta_HEALRANDOLPH_GotOne;
- var int DIA_Sagitta_HEALRANDOLPH_KnowsPrice;
- func int DIA_Sagitta_HEALRANDOLPH_Condition()
- {
- if((MIS_HealRandolph == LOG_Running) && (Npc_HasItems(other,ItPo_HealRandolph_MIS) == 0) && Npc_KnowsInfo(other,DIA_Sagitta_HALLO))
- {
- return TRUE;
- };
- };
- func void DIA_Sagitta_HEALRANDOLPH_Info()
- {
- AI_Output(other,self,"DIA_Sagitta_HEALRANDOLPH_15_00"); //Randolph źle się czuje, odkąd przestał pić.
- if(DIA_Sagitta_HEALRANDOLPH_KnowsPrice == FALSE)
- {
- AI_Output(self,other,"DIA_Sagitta_HEALRANDOLPH_17_01"); //Kiedy ten człowiek w końcu zmądrzeje?
- DIA_Sagitta_HEALRANDOLPH_KnowsPrice = TRUE;
- };
- if(DIA_Sagitta_HEALRANDOLPH_GotOne == TRUE)
- {
- AI_Output(self,other,"DIA_Sagitta_HEALRANDOLPH_17_02"); //Dałam ci już odpowiednią dawkę dla niego. Lepiej bądź ostrożny.
- }
- else
- {
- AI_Output(self,other,"DIA_Sagitta_HEALRANDOLPH_17_03"); //Dam ci pewne remedium. W ciągu kilu dni powinno go postawić na nogi.
- };
- AI_Output(self,other,"DIA_Sagitta_HEALRANDOLPH_17_04"); //Będzie cię to kosztować 300 sztuk złota.
- if(DIA_Sagitta_HEALRANDOLPH_KnowsPrice == FALSE)
- {
- AI_Output(other,self,"DIA_Sagitta_HEALRANDOLPH_15_05"); //Ile?
- AI_Output(self,other,"DIA_Sagitta_HEALRANDOLPH_17_06"); //Jedyna rzecz, jaką możesz dostać za darmo, to śmierć.
- };
- Info_ClearChoices(DIA_Sagitta_HEALRANDOLPH);
- Info_AddChoice(DIA_Sagitta_HEALRANDOLPH,"Nie za taką bzdurę.",DIA_Sagitta_HEALRANDOLPH_no);
- Info_AddChoice(DIA_Sagitta_HEALRANDOLPH,"Oto twoje pieniądze.",DIA_Sagitta_HEALRANDOLPH_geld);
- };
- func void DIA_Sagitta_HEALRANDOLPH_geld()
- {
- AI_Output(other,self,"DIA_Sagitta_HEALRANDOLPH_geld_15_00"); //Oto twoje pieniądze.
- if(B_GiveInvItems(other,self,ItMi_Gold,300))
- {
- AI_Output(self,other,"DIA_Sagitta_HEALRANDOLPH_geld_17_01"); //Doskonale. Zawsze możesz poprosić go o ich zwrot.
- CreateInvItems(self,ItPo_HealRandolph_MIS,1);
- B_GiveInvItems(self,other,ItPo_HealRandolph_MIS,1);
- DIA_Sagitta_HEALRANDOLPH_GotOne = TRUE;
- B_LogEntry(TOPIC_HealRandolph,"Sagitta dała mi lekarstwo dla Randolpha.");
- }
- else
- {
- AI_Output(self,other,"DIA_Sagitta_HEALRANDOLPH_geld_17_02"); //Dopóki nie będziesz miał pieniędzy - nici z interesów.
- };
- Info_ClearChoices(DIA_Sagitta_HEALRANDOLPH);
- };
- func void DIA_Sagitta_HEALRANDOLPH_no()
- {
- AI_Output(other,self,"DIA_Sagitta_HEALRANDOLPH_no_15_00"); //Nie za taką bzdurę.
- AI_Output(self,other,"DIA_Sagitta_HEALRANDOLPH_no_17_01"); //Nie dał ci pieniędzy? To cały Randolph!
- Info_ClearChoices(DIA_Sagitta_HEALRANDOLPH);
- };
- instance DIA_Sagitta_KAP5_EXIT(C_Info)
- {
- npc = BAU_980_Sagitta;
- nr = 999;
- condition = DIA_Sagitta_KAP5_EXIT_Condition;
- information = DIA_Sagitta_KAP5_EXIT_Info;
- permanent = TRUE;
- description = Dialog_Ende;
- };
- func int DIA_Sagitta_KAP5_EXIT_Condition()
- {
- if(Kapitel == 5)
- {
- return TRUE;
- };
- };
- func void DIA_Sagitta_KAP5_EXIT_Info()
- {
- AI_StopProcessInfos(self);
- };
- instance DIA_Sagitta_KAP6_EXIT(C_Info)
- {
- npc = BAU_980_Sagitta;
- nr = 999;
- condition = DIA_Sagitta_KAP6_EXIT_Condition;
- information = DIA_Sagitta_KAP6_EXIT_Info;
- permanent = TRUE;
- description = Dialog_Ende;
- };
- func int DIA_Sagitta_KAP6_EXIT_Condition()
- {
- if(Kapitel == 6)
- {
- return TRUE;
- };
- };
- func void DIA_Sagitta_KAP6_EXIT_Info()
- {
- AI_StopProcessInfos(self);
- };
- instance DIA_Sagitta_PICKPOCKET(C_Info)
- {
- npc = BAU_980_Sagitta;
- nr = 900;
- condition = DIA_Sagitta_PICKPOCKET_Condition;
- information = DIA_Sagitta_PICKPOCKET_Info;
- permanent = TRUE;
- description = Pickpocket_120_Female;
- };
- func int DIA_Sagitta_PICKPOCKET_Condition()
- {
- return C_Beklauen(103,360);
- };
- func void DIA_Sagitta_PICKPOCKET_Info()
- {
- Info_ClearChoices(DIA_Sagitta_PICKPOCKET);
- Info_AddChoice(DIA_Sagitta_PICKPOCKET,Dialog_Back,DIA_Sagitta_PICKPOCKET_BACK);
- Info_AddChoice(DIA_Sagitta_PICKPOCKET,DIALOG_PICKPOCKET,DIA_Sagitta_PICKPOCKET_DoIt);
- };
- func void DIA_Sagitta_PICKPOCKET_DoIt()
- {
- B_Beklauen();
- Info_ClearChoices(DIA_Sagitta_PICKPOCKET);
- };
- func void DIA_Sagitta_PICKPOCKET_BACK()
- {
- Info_ClearChoices(DIA_Sagitta_PICKPOCKET);
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement