@@ -331,12 +331,6 @@ procedure Node003 begin
331331 NOption(106,Node004,004);
332332end
333333
334- /*procedure Node004 begin
335- Reply(107);
336-
337- NOption(108,Node005,004);
338- end*/
339-
340334//edits by Darek
341335procedure Node004 begin
342336 if ((self_item_count(PID_FLINT) or (local_var(LVAR_Stole_Flint) == 1)) and (local_var(LVAR_Gave_Flint) == 0)) then begin
@@ -361,18 +355,6 @@ begin
361355end
362356//end
363357
364- /*procedure Node005 begin
365- set_global_var(GVAR_ARROYO_SPEAR, SPEAR_GET_POWDER);
366-
367- Reply(109);
368-
369- NOption(110,Node999,004);
370- if (dude_item_count(PID_HEALING_POWDER) > 2) then
371- NOption(118,Node007,004);
372- if (has_skill(dude_obj,SKILL_SPEECH) > 50) then
373- NOption(150,Node018,004);
374- end*/
375-
376358//added by Darek
377359procedure Node005a begin
378360 if (self_item_count(PID_FLINT)) then begin
@@ -426,17 +408,6 @@ procedure Node006 begin
426408end
427409//end
428410
429- /*procedure Node006 begin
430- Reply(111);
431-
432- if (dude_item_count(PID_HEALING_POWDER) > 2) then
433- NOption(112,Node007,004);
434- else
435- NOption(113,Node008,004);
436- end*/
437-
438-
439-
440411procedure Node007 begin
441412 variable item;
442413 variable item2;
@@ -488,79 +459,6 @@ begin
488459 end
489460end
490461
491-
492-
493-
494- /*procedure Node007 begin
495- variable item;
496- variable item2;
497- variable JunkIt;
498-
499- if (self_item_count(PID_FLINT)) then begin
500- if (dude_item_count(PID_HEALING_POWDER) > 2) then begin //condition added by killap
501- //remove healing powders
502- item:=dude_item(PID_HEALING_POWDER);
503- JunkIt:=rm_mult_objs_from_inven(dude_obj,item,3);
504- add_mult_objs_to_inven(self_obj,item,3);
505- //remove flint
506- item2:=self_item(PID_FLINT);
507- rm_obj_from_inven(self_obj,item2);
508- add_obj_to_inven(dude_obj,item2);
509-
510- set_local_var(LVAR_Gave_Flint,1);
511-
512- Reply(114);
513-
514- NOption(115,Node999,004);
515- end else begin
516- call Node008; //added by killap: no more tricking Morlis that you have powder when you really dropped it.
517- end
518- end else begin
519- if (local_var(LVAR_Said_17) == 0) then
520- Reply(300); //added check if she is no longer carrying the flint.
521- else
522- Reply(302);
523-
524- NOption(115,Node999,004);
525- end
526- end*/
527-
528- /*procedure Node007 begin
529- variable item;
530- variable item2;
531- variable JunkIt;
532- if (dude_item_count(PID_HEALING_POWDER) > 2) then begin //condition added by killap
533- item:=dude_item(PID_HEALING_POWDER);
534- JunkIt:=rm_mult_objs_from_inven(dude_obj,item,3);
535- add_mult_objs_to_inven(self_obj,item,3);
536-
537- //item2:=create_object(PID_FLINT,0,0); //comment out by killap
538- //added by killap
539- if (self_item_count(PID_FLINT)) then begin
540- item2:=self_item(PID_FLINT);
541- rm_obj_from_inven(self_obj,item2);
542- add_obj_to_inven(dude_obj,item2);
543- set_local_var(LVAR_Stole_Flint,0);
544- end
545- //end added
546-
547- set_local_var(LVAR_Gave_Flint,1);
548-
549- if (self_item_count(PID_FLINT)) then begin
550- Reply(114);
551- end else begin
552- if (local_var(LVAR_Said_17) == 0) then
553- Reply(300); //added check if she is no longer carrying the flint.
554- else
555- Reply(302);
556- end
557-
558- NOption(115,Node999,004);
559- end
560- else
561- call Node008; //added by killap: no more tricking Morlis that you have powder when you really dropped it.
562- end*/
563-
564462procedure Node008 begin
565463 if (not self_item_count(PID_FLINT)) then
566464 set_local_var(LVAR_Gave_Flint, 1);
@@ -669,32 +567,6 @@ begin
669567end
670568//end
671569
672- /*procedure Node018 begin
673- variable item;
674-
675- if (skill_success(dude_obj,SKILL_SPEECH,0)) then begin
676- if (self_item_count(PID_FLINT)) then begin
677- item:=self_item(PID_FLINT);
678- rm_obj_from_inven(self_obj,item);
679- add_obj_to_inven(dude_obj,item);
680-
681- if (local_var(LVAR_Gave_Flint) == 0) then begin
682- set_local_var(LVAR_Gave_Flint,1);
683- give_xp(EXP_TALK_FLINT);
684- end
685-
686- Reply(154);
687- end else begin
688- Reply(303); //added check if she is no longer carrying the flint.
689- end
690- end
691- else begin
692- Reply(155);
693- end
694-
695- NOption(156,Node999,001);
696- end*/
697-
698570//added by Darek
699571procedure Node018a begin
700572 if (is_success(roll_vs_skill(dude_obj, SKILL_SPEECH, 0))) then begin
@@ -712,5 +584,3 @@ procedure Node018b begin
712584 NOption(156,Node999,001);
713585end
714586//end added
715-
716- //xxxxxxxxxxxxxxxxxxxx
0 commit comments