Skip to content

Commit

Permalink
Actually not duplicating the text is better.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lexx2k committed Jun 17, 2024
1 parent 86b86d1 commit cc629d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 19 deletions.
8 changes: 4 additions & 4 deletions Fallout2/Fallout1in2/Mapper/source/scripts/GENERIC/IIMINE.ssl
Original file line number Diff line number Diff line change
Expand Up @@ -106,16 +106,16 @@ procedure spatial_p_proc begin

if (is_critical(Detection_Roll)) then begin
if source_is_dude then
display_msg(mstr(1000));
display_msg(message_str(SCRIPT_SPRTRP0, 100));
else if ((proto_data(obj_pid(source_obj), cr_body_type) == CR_BODY_BIPED) and (obj_can_see_obj(source_obj, dude_obj))) then
display_msg(obj_name(source_obj)+mstr(1010));
display_msg(obj_name(source_obj)+message_str(SCRIPT_SPRTRP0,101));
end

else begin
if source_is_dude then
display_msg(mstr(1020));
display_msg(message_str(SCRIPT_SPRTRP0,102));
else if ((proto_data(obj_pid(source_obj), cr_body_type) == CR_BODY_BIPED) and (obj_can_see_obj(source_obj, dude_obj))) then
display_msg(obj_name(source_obj)+mstr(1030));
display_msg(obj_name(source_obj)+message_str(SCRIPT_SPRTRP0,103));
end
end
end
Expand Down
15 changes: 0 additions & 15 deletions Fallout2/Fallout1in2/mods/fo1_base/text/english/dialog/IIMINE.msg
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
# Fo2
{1000}{}{You see a raised plate. It looks to be part of a trap.}

# NPC name prepends this line
{1010}{}{ sees a raised plate. It looks to be part of a trap.}
{1020}{}{You see a raised plate.}

# NPC name prepends this line
{1030}{}{ sees a raised plate.}
{1040}{}{You trigger the trap and narrowly avoid the projectile shot from the wall.}

# NPC name prepends this line
{1050}{}{ triggers the trap and narrowly avoids the projectile shot from the wall.}
{1060}{}{You see a raised plate that looks harmless.}

#############################################################
# The following lines are for what the player received #
# experience for (ie, picking a lock, disarming traps). #
Expand Down

0 comments on commit cc629d2

Please sign in to comment.