Skip to content

Commit

Permalink
Merge pull request #779 from LikeLakers2/fix-mulebot-prying-messages
Browse files Browse the repository at this point in the history
[Port from /tg/] Fixes Cell Message With Mulebots
  • Loading branch information
wraith-54321 authored Dec 23, 2023
2 parents a2e8055 + 761fbe6 commit b387bd9
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions code/modules/mob/living/simple_animal/bot/mulebot.dm
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,10 @@
user.put_in_hands(cell)
else
cell.forceMove(drop_location())
visible_message(span_notice("[user] crowbars [cell] out from [src]."),
span_notice("You pry [cell] out of [src]."))
user.visible_message(
span_notice("[user] crowbars [cell] out from [src]."),
span_notice("You pry [cell] out of [src]."),
)
cell = null
diag_hud_set_mulebotcell()
return TOOL_ACT_TOOLTYPE_SUCCESS
Expand All @@ -171,8 +173,10 @@
return TRUE
cell = I
diag_hud_set_mulebotcell()
visible_message(span_notice("[user] inserts \a [cell] into [src]."),
span_notice("You insert [cell] into [src]."))
user.visible_message(
span_notice("[user] inserts \a [cell] into [src]."),
span_notice("You insert [cell] into [src]."),
)
return TRUE
else if(is_wire_tool(I) && bot_cover_flags & BOT_COVER_OPEN)
return attack_hand(user)
Expand Down

0 comments on commit b387bd9

Please sign in to comment.