Skip to content

Commit

Permalink
les chat spam for instrument playing
Browse files Browse the repository at this point in the history
  • Loading branch information
pali6 committed Oct 26, 2023
1 parent bbd9463 commit d4a8693
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/obj/item/instruments.dm
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
user.showContextActions(contextActions, src)

proc/show_play_message(mob/user as mob)
if (user) return user.visible_message("<B>[user]</B> [islist(src.desc_verb) ? pick(src.desc_verb) : src.desc_verb] \a [islist(src.desc_sound) ? pick(src.desc_sound) : src.desc_sound] [islist(src.desc_music) ? pick(src.desc_music) : src.desc_music] on [his_or_her(user)] [src.name]!")
if (user) return user.visible_message("<B>[user]</B> [islist(src.desc_verb) ? pick(src.desc_verb) : src.desc_verb] \a [islist(src.desc_sound) ? pick(src.desc_sound) : src.desc_sound] [islist(src.desc_music) ? pick(src.desc_music) : src.desc_music] on [his_or_her(user)] [src.name]!", group="instrument_[src]")

proc/post_play_effect(mob/user as mob)
return
Expand Down Expand Up @@ -253,7 +253,7 @@
src.play(user)

show_play_message(mob/user as mob)
if (user) return src.visible_message("<B>[user]</B> [islist(src.desc_verb) ? pick(src.desc_verb) : src.desc_verb] \a [islist(src.desc_sound) ? pick(src.desc_sound) : src.desc_sound] [islist(src.desc_music) ? pick(src.desc_music) : src.desc_music] on [src]!")
if (user) return src.visible_message("<B>[user]</B> [islist(src.desc_verb) ? pick(src.desc_verb) : src.desc_verb] \a [islist(src.desc_sound) ? pick(src.desc_sound) : src.desc_sound] [islist(src.desc_music) ? pick(src.desc_music) : src.desc_music] on [src]!", group="instrument_[src]")

attackby(obj/item/W, mob/user)
if (istool(W, TOOL_SCREWING | TOOL_WRENCHING))
Expand Down

0 comments on commit d4a8693

Please sign in to comment.