Skip to content

Commit

Permalink
obj_dude.ssl: cleanup dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
burner1024 committed Jan 11, 2025
1 parent 0c3fdfc commit 6737c01
Showing 1 changed file with 0 additions and 45 deletions.
45 changes: 0 additions & 45 deletions scripts_src/main/obj_dude.ssl
Original file line number Diff line number Diff line change
Expand Up @@ -115,51 +115,6 @@ procedure is_dropping_p_proc begin
end

procedure map_enter_p_proc begin
/*
variable Outdoor;
variable Doctor;
variable First_Aid;
variable tail;
variable flower;
variable root;
variable item;
variable count;
variable count1;
variable Junkit;
variable Junkit1;

if (not(is_loading_game)) then begin
if (self_item_count(PID_SCORPION_TAIL)) then begin
First_Aid:=has_skill(self_obj,SKILL_FIRST_AID);
Outdoor:=has_skill(self_obj,SKILL_OUTDOORSMAN);
if (((First_Aid + Outdoor) >= 125) and (skill_success(self_obj,SKILL_SCIENCE,0))) then begin
tail:=self_item(PID_SCORPION_TAIL);
count:=self_item_count(PID_SCORPION_TAIL);
Junkit:=rm_mult_objs_from_inven(self_obj,tail,count);
item:=create_object(PID_ANTIDOTE,0,0);
add_mult_objs_to_inven(self_obj,item,count);
display_msg(g_mstr(1050));
end
end
if ((self_item_count(PID_XANDER_ROOT)) and (self_item_count(PID_BROC_FLOWER))) then begin
Doctor:=has_skill(self_obj,SKILL_DOCTOR);
Outdoor:=has_skill(self_obj,SKILL_OUTDOORSMAN);
if (((Doctor + Outdoor) >= 125) and (skill_success(self_obj,SKILL_SCIENCE,0))) then begin
flower:=self_item(PID_BROC_FLOWER);
root:=self_item(PID_XANDER_ROOT);
count:=self_item_count(PID_BROC_FLOWER);
count1:=self_item_count(PID_XANDER_ROOT);
if (count > count1) then
count:=count1;
Junkit:=rm_mult_objs_from_inven(self_obj,flower,count);
Junkit1:=rm_mult_objs_from_inven(self_obj,root,count);
item:=create_object(PID_HEALING_POWDER,0,0);
add_mult_objs_to_inven(self_obj,item,count);
display_msg(g_mstr(1051));
end
end
end
*/
end

procedure timed_event_p_proc begin
Expand Down

0 comments on commit 6737c01

Please sign in to comment.