Advertisement
Guest User

Untitled

a guest
Mar 27th, 2020
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.33 KB | None | 0 0
  1.  
  2. instance DIA_Sagitta_EXIT(C_Info)
  3. {
  4. npc = BAU_980_Sagitta;
  5. nr = 999;
  6. condition = DIA_Sagitta_EXIT_Condition;
  7. information = DIA_Sagitta_EXIT_Info;
  8. permanent = TRUE;
  9. description = Dialog_Ende;
  10. };
  11.  
  12.  
  13. func int DIA_Sagitta_EXIT_Condition()
  14. {
  15. if(Kapitel < 3)
  16. {
  17. return TRUE;
  18. };
  19. };
  20.  
  21. func void DIA_Sagitta_EXIT_Info()
  22. {
  23. AI_StopProcessInfos(self);
  24. };
  25.  
  26.  
  27. instance DIA_Sagitta_HALLO(C_Info)
  28. {
  29. npc = BAU_980_Sagitta;
  30. nr = 4;
  31. condition = DIA_Sagitta_HALLO_Condition;
  32. information = DIA_Sagitta_HALLO_Info;
  33. description = "Nie czujesz się trochę samotna?";
  34. };
  35.  
  36.  
  37. func int DIA_Sagitta_HALLO_Condition()
  38. {
  39. return TRUE;
  40. };
  41.  
  42. func void DIA_Sagitta_HALLO_Info()
  43. {
  44. AI_Output(other,self,"DIA_Sagitta_HALLO_15_00"); //Nie czujesz się trochę samotna?
  45. AI_Output(self,other,"DIA_Sagitta_HALLO_17_01"); //Gadaj, co masz powiedzieć i spadaj. Jestem zajęta.
  46. Info_ClearChoices(DIA_Sagitta_HALLO);
  47. Info_AddChoice(DIA_Sagitta_HALLO,Dialog_Back,DIA_Sagitta_HALLO_ende);
  48. Info_AddChoice(DIA_Sagitta_HALLO,"Możesz mnie uzdrowić?",DIA_Sagitta_HALLO_Heil);
  49. Info_AddChoice(DIA_Sagitta_HALLO,"Co tutaj robisz?",DIA_Sagitta_HALLO_was);
  50. Info_AddChoice(DIA_Sagitta_HALLO,"Kim jesteś?",DIA_Sagitta_HALLO_wer);
  51. };
  52.  
  53. func void DIA_Sagitta_HALLO_wer()
  54. {
  55. AI_Output(other,self,"DIA_Sagitta_HALLO_wer_15_00"); //Kim jesteś?
  56. AI_Output(self,other,"DIA_Sagitta_HALLO_wer_17_01"); //Widzę, żeś o mnie nie słyszał?
  57. AI_Output(self,other,"DIA_Sagitta_HALLO_wer_17_02"); //Nazywają mnie zielarką, szarlatanem w spódnicy.
  58. 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.
  59. };
  60.  
  61. func void DIA_Sagitta_HALLO_was()
  62. {
  63. AI_Output(other,self,"DIA_Sagitta_HALLO_was_15_00"); //Czym się zajmujesz?
  64. AI_Output(self,other,"DIA_Sagitta_HALLO_was_17_01"); //Mieszkam tu i hoduję zioła, odkąd tylko pamiętam.
  65. 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.
  66. };
  67.  
  68. func void DIA_Sagitta_HALLO_Heil()
  69. {
  70. AI_Output(other,self,"DIA_Sagitta_HALLO_Heil_15_00"); //Czy mogłabyś mnie uzdrowić?
  71. 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.
  72. Log_CreateTopic(Topic_SoldierTrader,LOG_NOTE);
  73. B_LogEntry(Topic_SoldierTrader,"Sagitta sprzedaje swoje towary za farmą Sekoba.");
  74. };
  75.  
  76. func void DIA_Sagitta_HALLO_ende()
  77. {
  78. Info_ClearChoices(DIA_Sagitta_HALLO);
  79. };
  80.  
  81.  
  82. instance DIA_Sagitta_TeachAlchemyRequest(C_Info)
  83. {
  84. npc = BAU_980_Sagitta;
  85. nr = 6;
  86. condition = DIA_Sagitta_TeachAlchemyRequest_Condition;
  87. information = DIA_Sagitta_TeachAlchemyRequest_Info;
  88. permanent = TRUE;
  89. description = "Czy mogłabyś przekazać mi swą wiedzę o ziołach?";
  90. };
  91.  
  92.  
  93. func int DIA_Sagitta_TeachAlchemyRequest_Condition()
  94. {
  95. if(Npc_KnowsInfo(other,DIA_Sagitta_HALLO) && (MIS_Sagitta_Herb == FALSE))
  96. {
  97. return TRUE;
  98. };
  99. };
  100.  
  101.  
  102. var int DIA_Sagitta_TeachAlchemyRequest_OneTime;
  103.  
  104. func void DIA_Sagitta_TeachAlchemyRequest_Info()
  105. {
  106. AI_Output(other,self,"DIA_Sagitta_TeachAlchemyRequest_15_00"); //Czy mogłabyś przekazać mi swoją wiedzę o ziołach?
  107. if(DIA_Sagitta_TeachAlchemyRequest_OneTime == FALSE)
  108. {
  109. AI_Output(self,other,"DIA_Sagitta_TeachAlchemyRequest_17_01"); //Interesujące. Ludzie nieczęsto mnie o to proszą.
  110. 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.
  111. AI_Output(self,other,"DIA_Sagitta_TeachAlchemyRequest_17_03"); //Od jakiegoś czasu pracuję nad bardzo rzadką miksturą z unikalnych ziół i soków.
  112. AI_Output(self,other,"DIA_Sagitta_TeachAlchemyRequest_17_04"); //Jeśli zdobędziesz dla mnie brakujący składnik mikstury, zostanę twoją nauczycielką.
  113. DIA_Sagitta_TeachAlchemyRequest_OneTime = TRUE;
  114. }
  115. else
  116. {
  117. AI_Output(self,other,"DIA_Sagitta_TeachAlchemyRequest_17_05"); //Już przecież mówiłam: tak, jednak najpierw musisz mi przynieść brakujący składnik.
  118. };
  119. Info_ClearChoices(DIA_Sagitta_TeachAlchemyRequest);
  120. Info_AddChoice(DIA_Sagitta_TeachAlchemyRequest,"Przykro mi, nie jestem zainteresowany.",DIA_Sagitta_TeachAlchemyRequest_nein);
  121. Info_AddChoice(DIA_Sagitta_TeachAlchemyRequest,"Gdzie mogę znaleźć ten składnik?",DIA_Sagitta_TeachAlchemyRequest_wo);
  122. Info_AddChoice(DIA_Sagitta_TeachAlchemyRequest,"Co to za składnik?",DIA_Sagitta_TeachAlchemyRequest_was);
  123. };
  124.  
  125. func void DIA_Sagitta_TeachAlchemyRequest_was()
  126. {
  127. AI_Output(other,self,"DIA_Sagitta_TeachAlchemyRequest_was_15_00"); //Co to za składnik?
  128. 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.
  129. };
  130.  
  131. func void DIA_Sagitta_TeachAlchemyRequest_wo()
  132. {
  133. AI_Output(other,self,"DIA_Sagitta_TeachAlchemyRequest_wo_15_00"); //Gdzie mogę znaleźć ten składnik?
  134. 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.
  135. AI_Output(self,other,"DIA_Sagitta_TeachAlchemyRequest_wo_17_02"); //Odpowiednie gleby powstają jedynie na bazie odchodów czarnych trolli.
  136. 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?
  137. Info_AddChoice(DIA_Sagitta_TeachAlchemyRequest,"W tej sytuacji nie pozostaje mi nic innego, jak się za nim rozejrzeć",DIA_Sagitta_TeachAlchemyRequest_wo_ja);
  138. };
  139.  
  140. func void DIA_Sagitta_TeachAlchemyRequest_wo_ja()
  141. {
  142. AI_Output(other,self,"DIA_Sagitta_TeachAlchemyRequest_wo_ja_15_00"); //W tej sytuacji nie pozostaje mi nic innego, jak się za nim rozejrzeć.
  143. AI_Output(self,other,"DIA_Sagitta_TeachAlchemyRequest_wo_ja_17_01"); //Cóż, życzę powodzenia w poszukiwaniach.
  144. Info_ClearChoices(DIA_Sagitta_TeachAlchemyRequest);
  145. MIS_Sagitta_Herb = LOG_Running;
  146. Log_CreateTopic(TOPIC_SagittaHerb,LOG_MISSION);
  147. Log_SetTopicStatus(TOPIC_SagittaHerb,LOG_Running);
  148. B_LogEntry(TOPIC_SagittaHerb,"Sagitta prosiła mnie o dziwne ziele, zwane słonecznym aloesem. Rośnie ono tylko na odchodach czarnego trolla.");
  149. };
  150.  
  151. func void DIA_Sagitta_TeachAlchemyRequest_nein()
  152. {
  153. AI_Output(other,self,"DIA_Sagitta_TeachAlchemyRequest_nein_15_00"); //Przykro mi, nie jestem zainteresowany.
  154. AI_Output(self,other,"DIA_Sagitta_TeachAlchemyRequest_nein_17_01"); //Nie marnuj więc mojego cennego czasu.
  155. Info_ClearChoices(DIA_Sagitta_TeachAlchemyRequest);
  156. };
  157.  
  158.  
  159. instance DIA_Sagitta_Sagitta_Herb(C_Info)
  160. {
  161. npc = BAU_980_Sagitta;
  162. nr = 3;
  163. condition = DIA_Sagitta_Sagitta_Herb_Condition;
  164. information = DIA_Sagitta_Sagitta_Herb_Info;
  165. description = "Znalazłem słoneczny aloes.";
  166. };
  167.  
  168.  
  169. func int DIA_Sagitta_Sagitta_Herb_Condition()
  170. {
  171. if(Npc_HasItems(other,ItPl_Sagitta_Herb_MIS) && (MIS_Sagitta_Herb == LOG_Running) && Npc_KnowsInfo(other,DIA_Sagitta_HALLO))
  172. {
  173. return TRUE;
  174. };
  175. };
  176.  
  177. func void DIA_Sagitta_Sagitta_Herb_Info()
  178. {
  179. AI_Output(other,self,"DIA_Sagitta_Sagitta_Herb_15_00"); //Znalazłem słoneczny aloes.
  180. AI_Output(self,other,"DIA_Sagitta_Sagitta_Herb_17_01"); //Dziękuję. Możesz mnie pytać, o co tylko zechcesz.
  181. B_GiveInvItems(other,self,ItPl_Sagitta_Herb_MIS,1);
  182. Sagitta_TeachAlchemy = TRUE;
  183. MIS_Sagitta_Herb = LOG_SUCCESS;
  184. B_GivePlayerXP(XP_Sagitta_Sonnenaloe);
  185. Npc_RemoveInvItems(self,ItPl_Sagitta_Herb_MIS,1);
  186. };
  187.  
  188.  
  189. instance DIA_Sagitta_Teach(C_Info)
  190. {
  191. npc = BAU_980_Sagitta;
  192. nr = 2;
  193. condition = DIA_Sagitta_Teach_Condition;
  194. information = DIA_Sagitta_Teach_Info;
  195. permanent = TRUE;
  196. description = "Jakie mikstury możesz mnie nauczyć przyrządzać?";
  197. };
  198.  
  199.  
  200. var int DIA_Sagitta_Teach_permanent;
  201.  
  202. func int DIA_Sagitta_Teach_Condition()
  203. {
  204. if((DIA_Sagitta_Teach_permanent == FALSE) && (Sagitta_TeachAlchemy == TRUE) && Npc_KnowsInfo(other,DIA_Sagitta_HALLO))
  205. {
  206. return TRUE;
  207. };
  208. };
  209.  
  210. func void DIA_Sagitta_Teach_Info()
  211. {
  212. var int talente;
  213. talente = 0;
  214. AI_Output(other,self,"DIA_Sagitta_Teach_15_00"); //Jakie mikstury możesz mnie nauczyć przyrządzać?
  215. 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))
  216. {
  217. Info_ClearChoices(DIA_Sagitta_Teach);
  218. Info_AddChoice(DIA_Sagitta_Teach,Dialog_Back,DIA_Sagitta_Teach_BACK);
  219. };
  220. if(PLAYER_TALENT_ALCHEMY[POTION_Health_01] == FALSE)
  221. {
  222. Info_AddChoice(DIA_Sagitta_Teach,B_BuildLearnString("Esencja lecznicza",B_GetLearnCostTalent(other,NPC_TALENT_ALCHEMY,POTION_Health_01)),DIA_Sagitta_Teach_Health_01);
  223. talente = talente + 1;
  224. };
  225. if((PLAYER_TALENT_ALCHEMY[POTION_Health_02] == FALSE) && (PLAYER_TALENT_ALCHEMY[POTION_Health_01] == TRUE))
  226. {
  227. Info_AddChoice(DIA_Sagitta_Teach,B_BuildLearnString("Ekstrakt leczniczy",B_GetLearnCostTalent(other,NPC_TALENT_ALCHEMY,POTION_Health_02)),DIA_Sagitta_Teach_Health_02);
  228. talente = talente + 1;
  229. };
  230. if((PLAYER_TALENT_ALCHEMY[POTION_Health_03] == FALSE) && (PLAYER_TALENT_ALCHEMY[POTION_Health_02] == TRUE))
  231. {
  232. Info_AddChoice(DIA_Sagitta_Teach,B_BuildLearnString("Eliksir leczniczy",B_GetLearnCostTalent(other,NPC_TALENT_ALCHEMY,POTION_Health_03)),dia_sagitta_teach_health_03);
  233. talente = talente + 1;
  234. };
  235. if((PLAYER_TALENT_ALCHEMY[POTION_Perm_Health] == FALSE) && (PLAYER_TALENT_ALCHEMY[POTION_Health_03] == TRUE))
  236. {
  237. Info_AddChoice(DIA_Sagitta_Teach,B_BuildLearnString("Eliksir życia",B_GetLearnCostTalent(other,NPC_TALENT_ALCHEMY,POTION_Perm_Health)),dia_sagitta_teach_perm_health);
  238. talente = talente + 1;
  239. };
  240. if(PLAYER_TALENT_ALCHEMY[POTION_Perm_DEX] == FALSE)
  241. {
  242. 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);
  243. talente = talente + 1;
  244. };
  245. if(PLAYER_TALENT_ALCHEMY[POTION_Perm_STR] == FALSE)
  246. {
  247. Info_AddChoice(DIA_Sagitta_Teach,B_BuildLearnString("Eliksir siły",B_GetLearnCostTalent(other,NPC_TALENT_ALCHEMY,POTION_Perm_STR)),DIA_Sagitta_Teach_Perm_STR);
  248. talente = talente + 1;
  249. };
  250. if(talente > 0)
  251. {
  252. if(Alchemy_Explain != TRUE)
  253. {
  254. AI_Output(self,other,"DIA_Sagitta_Teach_17_01"); //Nim nauczę cię trudnej sztuki alchemii, powiem ci, co jest potrzebne do sporządzania mikstur.
  255. 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ę.
  256. AI_Output(self,other,"DIA_Sagitta_Teach_17_03"); //Następnie wystarczy połączyć odpowiednie składniki i mikstura gotowa.
  257. AI_Output(self,other,"DIA_Sagitta_Teach_17_04"); //Tej wiedzy nauczysz się jedynie ode mnie.
  258. Alchemy_Explain = TRUE;
  259. }
  260. else
  261. {
  262. AI_Output(self,other,"DIA_Sagitta_Teach_17_05"); //O której z mikstur chcesz posłuchać?
  263. };
  264. }
  265. else
  266. {
  267. AI_Output(self,other,"DIA_Sagitta_Teach_17_06"); //Wiesz już wszystko, czego mogłabym cię nauczyć.
  268. DIA_Sagitta_Teach_permanent = TRUE;
  269. };
  270. };
  271.  
  272. func void DIA_Sagitta_Teach_BACK()
  273. {
  274. Info_ClearChoices(DIA_Sagitta_Teach);
  275. };
  276.  
  277. func void DIA_Sagitta_Teach_Health_01()
  278. {
  279. B_TeachPlayerTalentAlchemy(self,other,POTION_Health_01);
  280. AI_Output(self,other,"DIA_Sagitta_Teach_17_03"); //Następnie wystarczy połączyć odpowiednie składniki i mikstura gotowa.
  281. Info_ClearChoices(DIA_Sagitta_Teach);
  282. };
  283.  
  284. func void DIA_Sagitta_Teach_Health_02()
  285. {
  286. B_TeachPlayerTalentAlchemy(self,other,POTION_Health_02);
  287. AI_Output(self,other,"DIA_Sagitta_Teach_17_03"); //Następnie wystarczy połączyć odpowiednie składniki i mikstura gotowa.
  288. Info_ClearChoices(DIA_Sagitta_Teach);
  289. };
  290.  
  291. func void dia_sagitta_teach_health_03()
  292. {
  293. B_TeachPlayerTalentAlchemy(self,other,POTION_Health_03);
  294. AI_Output(self,other,"DIA_Sagitta_Teach_17_03"); //Następnie wystarczy połączyć odpowiednie składniki i mikstura gotowa.
  295. Info_ClearChoices(DIA_Sagitta_Teach);
  296. };
  297.  
  298. func void dia_sagitta_teach_perm_health()
  299. {
  300. B_TeachPlayerTalentAlchemy(self,other,POTION_Perm_Health);
  301. AI_Output(self,other,"DIA_Sagitta_Teach_17_03"); //Następnie wystarczy połączyć odpowiednie składniki i mikstura gotowa.
  302. Info_ClearChoices(DIA_Sagitta_Teach);
  303. };
  304.  
  305. func void DIA_Sagitta_Teach_Perm_DEX()
  306. {
  307. B_TeachPlayerTalentAlchemy(self,other,POTION_Perm_DEX);
  308. Info_ClearChoices(DIA_Sagitta_Teach);
  309. };
  310.  
  311. func void DIA_Sagitta_Teach_Perm_STR()
  312. {
  313. B_TeachPlayerTalentAlchemy(self,other,POTION_Perm_STR);
  314. Info_ClearChoices(DIA_Sagitta_Teach);
  315. };
  316.  
  317.  
  318. instance DIA_Sagitta_HEAL(C_Info)
  319. {
  320. npc = BAU_980_Sagitta;
  321. nr = 99;
  322. condition = DIA_Sagitta_HEAL_Condition;
  323. information = DIA_Sagitta_HEAL_Info;
  324. permanent = TRUE;
  325. description = "Ulecz moje rany.";
  326. };
  327.  
  328.  
  329. func int DIA_Sagitta_HEAL_Condition()
  330. {
  331. if(Npc_KnowsInfo(other,DIA_Sagitta_HALLO))
  332. {
  333. return TRUE;
  334. };
  335. };
  336.  
  337. func void DIA_Sagitta_HEAL_Info()
  338. {
  339. AI_Output(other,self,"DIA_Sagitta_HEAL_15_00"); //Wylecz mnie.
  340. if(hero.attribute[ATR_HITPOINTS] < hero.attribute[ATR_HITPOINTS_MAX])
  341. {
  342. AI_Output(self,other,"DIA_Sagitta_HEAL_17_01"); //Chwileczkę. Mmm. Moja maść powinna wyleczyć najgorsze z twoich ran.
  343. hero.attribute[ATR_HITPOINTS] = hero.attribute[ATR_HITPOINTS_MAX];
  344. PrintScreen(PRINT_FullyHealed,-1,-1,FONT_Screen,2);
  345. }
  346. else
  347. {
  348. AI_Output(self,other,"DIA_Sagitta_HEAL_17_02"); //W tej chwili nie potrzebujesz leczenia.
  349. };
  350. };
  351.  
  352.  
  353. instance DIA_Sagitta_TRADE(C_Info)
  354. {
  355. npc = BAU_980_Sagitta;
  356. condition = DIA_Sagitta_TRADE_Condition;
  357. information = DIA_Sagitta_TRADE_Info;
  358. permanent = TRUE;
  359. trade = TRUE;
  360. description = "Co możesz mi zaoferować?";
  361. };
  362.  
  363.  
  364. func int DIA_Sagitta_TRADE_Condition()
  365. {
  366. if(Npc_KnowsInfo(other,DIA_Sagitta_HALLO))
  367. {
  368. return TRUE;
  369. };
  370. };
  371.  
  372. func void DIA_Sagitta_TRADE_Info()
  373. {
  374. if(SAGITTA_FLAG == 1)
  375. {
  376. b_clearalchemyinv(self);
  377. if(SAGITTA_FLASKS > 0)
  378. {
  379. CreateInvItems(self,ItMi_Flask,SAGITTA_FLASKS);
  380. };
  381. SAGITTA_FLAG = 0;
  382. };
  383. AI_Output(other,self,"DIA_Sagitta_TRADE_15_00"); //Jakie towary masz do zaoferowania?
  384. B_GiveTradeInv(self);
  385. AI_Output(self,other,"DIA_Sagitta_TRADE_17_01"); //Powiedz, co cię interesuje.
  386. };
  387.  
  388.  
  389. instance DIA_Sagitta_KAP3_EXIT(C_Info)
  390. {
  391. npc = BAU_980_Sagitta;
  392. nr = 999;
  393. condition = DIA_Sagitta_KAP3_EXIT_Condition;
  394. information = DIA_Sagitta_KAP3_EXIT_Info;
  395. permanent = TRUE;
  396. description = Dialog_Ende;
  397. };
  398.  
  399.  
  400. func int DIA_Sagitta_KAP3_EXIT_Condition()
  401. {
  402. if(Kapitel == 3)
  403. {
  404. return TRUE;
  405. };
  406. };
  407.  
  408. func void DIA_Sagitta_KAP3_EXIT_Info()
  409. {
  410. AI_StopProcessInfos(self);
  411. };
  412.  
  413.  
  414. instance DIA_Sagitta_OBSESSION(C_Info)
  415. {
  416. npc = BAU_980_Sagitta;
  417. nr = 30;
  418. condition = DIA_Sagitta_OBSESSION_Condition;
  419. information = DIA_Sagitta_OBSESSION_Info;
  420. description = "Chyba mam dreszcze.";
  421. };
  422.  
  423.  
  424. func int DIA_Sagitta_OBSESSION_Condition()
  425. {
  426. if((SC_IsObsessed == TRUE) && (SC_ObsessionTimes < 1) && Npc_KnowsInfo(other,DIA_Sagitta_HALLO))
  427. {
  428. return TRUE;
  429. };
  430. };
  431.  
  432. func void DIA_Sagitta_OBSESSION_Info()
  433. {
  434. AI_Output(other,self,"DIA_Sagitta_OBSESSION_15_00"); //Od jakiegoś czasu cierpię na dziwaczne drgawki. Potrzebuję pomocy.
  435. 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.
  436. AI_Output(self,other,"DIA_Sagitta_OBSESSION_17_02"); //Udaj się do Pyrokara, do klasztoru. Moje skromne leki nie wystarczą.
  437. };
  438.  
  439.  
  440. instance DIA_Sagitta_Thekla(C_Info)
  441. {
  442. npc = BAU_980_Sagitta;
  443. nr = 3;
  444. condition = DIA_Sagitta_Thekla_Condition;
  445. information = DIA_Sagitta_Thekla_Info;
  446. description = "Thekla przysyła mnie po odbiór przesyłki.";
  447. };
  448.  
  449.  
  450. func int DIA_Sagitta_Thekla_Condition()
  451. {
  452. if((MIS_Thekla_Paket == LOG_Running) && Npc_KnowsInfo(other,DIA_Sagitta_HALLO))
  453. {
  454. return TRUE;
  455. };
  456. };
  457.  
  458. func void DIA_Sagitta_Thekla_Info()
  459. {
  460. AI_Output(other,self,"DIA_Sagitta_Thekla_15_00"); //Thekla przysyła mnie po odbiór przesyłki.
  461. AI_Output(self,other,"DIA_Sagitta_Thekla_17_01"); //Ach, tak. Właściwie spodziewałam się jej już kilka dni temu.
  462. AI_Output(self,other,"DIA_Sagitta_Thekla_17_02"); //Oto paczka, dbaj o nią!
  463. B_GivePlayerXP(XP_AmbientKap3);
  464. B_GiveInvItems(self,other,ItMi_TheklasPaket,1);
  465. };
  466.  
  467.  
  468. instance DIA_Sagitta_KAP4_EXIT(C_Info)
  469. {
  470. npc = BAU_980_Sagitta;
  471. nr = 999;
  472. condition = DIA_Sagitta_KAP4_EXIT_Condition;
  473. information = DIA_Sagitta_KAP4_EXIT_Info;
  474. permanent = TRUE;
  475. description = Dialog_Ende;
  476. };
  477.  
  478.  
  479. func int DIA_Sagitta_KAP4_EXIT_Condition()
  480. {
  481. if(Kapitel == 4)
  482. {
  483. return TRUE;
  484. };
  485. };
  486.  
  487. func void DIA_Sagitta_KAP4_EXIT_Info()
  488. {
  489. AI_StopProcessInfos(self);
  490. };
  491.  
  492.  
  493. instance DIA_Sagitta_HEALRANDOLPH(C_Info)
  494. {
  495. npc = BAU_980_Sagitta;
  496. nr = 30;
  497. condition = DIA_Sagitta_HEALRANDOLPH_Condition;
  498. information = DIA_Sagitta_HEALRANDOLPH_Info;
  499. permanent = TRUE;
  500. description = "Randolph cierpi na syndrom odstawienia alkoholu.";
  501. };
  502.  
  503.  
  504. var int DIA_Sagitta_HEALRANDOLPH_GotOne;
  505. var int DIA_Sagitta_HEALRANDOLPH_KnowsPrice;
  506.  
  507. func int DIA_Sagitta_HEALRANDOLPH_Condition()
  508. {
  509. if((MIS_HealRandolph == LOG_Running) && (Npc_HasItems(other,ItPo_HealRandolph_MIS) == 0) && Npc_KnowsInfo(other,DIA_Sagitta_HALLO))
  510. {
  511. return TRUE;
  512. };
  513. };
  514.  
  515. func void DIA_Sagitta_HEALRANDOLPH_Info()
  516. {
  517. AI_Output(other,self,"DIA_Sagitta_HEALRANDOLPH_15_00"); //Randolph źle się czuje, odkąd przestał pić.
  518. if(DIA_Sagitta_HEALRANDOLPH_KnowsPrice == FALSE)
  519. {
  520. AI_Output(self,other,"DIA_Sagitta_HEALRANDOLPH_17_01"); //Kiedy ten człowiek w końcu zmądrzeje?
  521. DIA_Sagitta_HEALRANDOLPH_KnowsPrice = TRUE;
  522. };
  523. if(DIA_Sagitta_HEALRANDOLPH_GotOne == TRUE)
  524. {
  525. AI_Output(self,other,"DIA_Sagitta_HEALRANDOLPH_17_02"); //Dałam ci już odpowiednią dawkę dla niego. Lepiej bądź ostrożny.
  526. }
  527. else
  528. {
  529. AI_Output(self,other,"DIA_Sagitta_HEALRANDOLPH_17_03"); //Dam ci pewne remedium. W ciągu kilu dni powinno go postawić na nogi.
  530. };
  531. AI_Output(self,other,"DIA_Sagitta_HEALRANDOLPH_17_04"); //Będzie cię to kosztować 300 sztuk złota.
  532. if(DIA_Sagitta_HEALRANDOLPH_KnowsPrice == FALSE)
  533. {
  534. AI_Output(other,self,"DIA_Sagitta_HEALRANDOLPH_15_05"); //Ile?
  535. AI_Output(self,other,"DIA_Sagitta_HEALRANDOLPH_17_06"); //Jedyna rzecz, jaką możesz dostać za darmo, to śmierć.
  536. };
  537. Info_ClearChoices(DIA_Sagitta_HEALRANDOLPH);
  538. Info_AddChoice(DIA_Sagitta_HEALRANDOLPH,"Nie za taką bzdurę.",DIA_Sagitta_HEALRANDOLPH_no);
  539. Info_AddChoice(DIA_Sagitta_HEALRANDOLPH,"Oto twoje pieniądze.",DIA_Sagitta_HEALRANDOLPH_geld);
  540. };
  541.  
  542. func void DIA_Sagitta_HEALRANDOLPH_geld()
  543. {
  544. AI_Output(other,self,"DIA_Sagitta_HEALRANDOLPH_geld_15_00"); //Oto twoje pieniądze.
  545. if(B_GiveInvItems(other,self,ItMi_Gold,300))
  546. {
  547. AI_Output(self,other,"DIA_Sagitta_HEALRANDOLPH_geld_17_01"); //Doskonale. Zawsze możesz poprosić go o ich zwrot.
  548. CreateInvItems(self,ItPo_HealRandolph_MIS,1);
  549. B_GiveInvItems(self,other,ItPo_HealRandolph_MIS,1);
  550. DIA_Sagitta_HEALRANDOLPH_GotOne = TRUE;
  551. B_LogEntry(TOPIC_HealRandolph,"Sagitta dała mi lekarstwo dla Randolpha.");
  552. }
  553. else
  554. {
  555. AI_Output(self,other,"DIA_Sagitta_HEALRANDOLPH_geld_17_02"); //Dopóki nie będziesz miał pieniędzy - nici z interesów.
  556. };
  557. Info_ClearChoices(DIA_Sagitta_HEALRANDOLPH);
  558. };
  559.  
  560. func void DIA_Sagitta_HEALRANDOLPH_no()
  561. {
  562. AI_Output(other,self,"DIA_Sagitta_HEALRANDOLPH_no_15_00"); //Nie za taką bzdurę.
  563. AI_Output(self,other,"DIA_Sagitta_HEALRANDOLPH_no_17_01"); //Nie dał ci pieniędzy? To cały Randolph!
  564. Info_ClearChoices(DIA_Sagitta_HEALRANDOLPH);
  565. };
  566.  
  567.  
  568. instance DIA_Sagitta_KAP5_EXIT(C_Info)
  569. {
  570. npc = BAU_980_Sagitta;
  571. nr = 999;
  572. condition = DIA_Sagitta_KAP5_EXIT_Condition;
  573. information = DIA_Sagitta_KAP5_EXIT_Info;
  574. permanent = TRUE;
  575. description = Dialog_Ende;
  576. };
  577.  
  578.  
  579. func int DIA_Sagitta_KAP5_EXIT_Condition()
  580. {
  581. if(Kapitel == 5)
  582. {
  583. return TRUE;
  584. };
  585. };
  586.  
  587. func void DIA_Sagitta_KAP5_EXIT_Info()
  588. {
  589. AI_StopProcessInfos(self);
  590. };
  591.  
  592.  
  593. instance DIA_Sagitta_KAP6_EXIT(C_Info)
  594. {
  595. npc = BAU_980_Sagitta;
  596. nr = 999;
  597. condition = DIA_Sagitta_KAP6_EXIT_Condition;
  598. information = DIA_Sagitta_KAP6_EXIT_Info;
  599. permanent = TRUE;
  600. description = Dialog_Ende;
  601. };
  602.  
  603.  
  604. func int DIA_Sagitta_KAP6_EXIT_Condition()
  605. {
  606. if(Kapitel == 6)
  607. {
  608. return TRUE;
  609. };
  610. };
  611.  
  612. func void DIA_Sagitta_KAP6_EXIT_Info()
  613. {
  614. AI_StopProcessInfos(self);
  615. };
  616.  
  617.  
  618. instance DIA_Sagitta_PICKPOCKET(C_Info)
  619. {
  620. npc = BAU_980_Sagitta;
  621. nr = 900;
  622. condition = DIA_Sagitta_PICKPOCKET_Condition;
  623. information = DIA_Sagitta_PICKPOCKET_Info;
  624. permanent = TRUE;
  625. description = Pickpocket_120_Female;
  626. };
  627.  
  628.  
  629. func int DIA_Sagitta_PICKPOCKET_Condition()
  630. {
  631. return C_Beklauen(103,360);
  632. };
  633.  
  634. func void DIA_Sagitta_PICKPOCKET_Info()
  635. {
  636. Info_ClearChoices(DIA_Sagitta_PICKPOCKET);
  637. Info_AddChoice(DIA_Sagitta_PICKPOCKET,Dialog_Back,DIA_Sagitta_PICKPOCKET_BACK);
  638. Info_AddChoice(DIA_Sagitta_PICKPOCKET,DIALOG_PICKPOCKET,DIA_Sagitta_PICKPOCKET_DoIt);
  639. };
  640.  
  641. func void DIA_Sagitta_PICKPOCKET_DoIt()
  642. {
  643. B_Beklauen();
  644. Info_ClearChoices(DIA_Sagitta_PICKPOCKET);
  645. };
  646.  
  647. func void DIA_Sagitta_PICKPOCKET_BACK()
  648. {
  649. Info_ClearChoices(DIA_Sagitta_PICKPOCKET);
  650. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement