JimTheDinosaur said:I know you guys won't release the sources yet, but could somebody with access to the source obj_dude.ssl maybe send me the lines of sfall functions right beneath "procedure use_obj_on_p_proc"? I need those to recompile my RP-compatible script.
Not source but should be good enough.
Code:
if ((obj_pid(obj_being_used_with) == 124) or (obj_pid(obj_being_used_with) == 125) or (obj_pid(obj_being_used_with) == 310) or (obj_pid(obj_being_used_with) == 542) or (obj_pid(obj_being_used_with) == 311)) then begin
if (random(1, 100) <= 10) then begin
if (alcohol_addict == 0) then begin
display_msg(message_str(1, 500));
set_critter_stat(dude_obj, 1, -2);
if (not(is_iface_tag_active(4))) then begin
show_iface_tag(4);
end
set_global_var(26, 1);
alcohol_addict := 1;
end
end
end