Skip to content

Commit

Permalink
message
Browse files Browse the repository at this point in the history
  • Loading branch information
realforest2001 committed Aug 24, 2023
1 parent a8525bd commit 3d611bc
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions code/game/objects/structures/blocker.dm
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
mouse_opacity = MOUSE_OPACITY_TRANSPARENT

/obj/structure/blocker/invisible_wall/Collided(atom/movable/AM)
to_chat(AM, SPAN_WARNING("You cannot go this way."))
var/msg = desc
if(!msg)
msg = "You cannot go this way."
to_chat(AM, SPAN_WARNING(msg))

/obj/structure/blocker/invisible_wall/New()
..()
Expand All @@ -35,10 +38,6 @@
desc = "You cannot wade out any further"
icon_state = "map_blocker"

/obj/structure/blocker/invisible_wall/water/Collided(atom/movable/AM)
to_chat(AM, SPAN_WARNING("You cannot wade out any further."))


/obj/structure/blocker/fog
name = "dense fog"
desc = "It looks way too dangerous to traverse. Best wait until it has cleared up."
Expand Down

0 comments on commit 3d611bc

Please sign in to comment.