Fixes harmonicas acting like muzzles (and runtiming instead of properly muting you too.)

This commit is contained in:
CitadelStationBot
2017-07-21 18:26:06 -05:00
parent 5db90b28dc
commit e937aeaa51
3 changed files with 8 additions and 5 deletions
+2
View File
@@ -204,6 +204,8 @@ GLOBAL_VAR_INIT(rpg_loot_items, FALSE)
msg += "*--------*"
to_chat(user, msg)
/obj/item/proc/speechModification(message) //For speech modification by mask slot items.
return message
/obj/item/attack_self(mob/user)
interact(user)
@@ -140,6 +140,12 @@
w_class = WEIGHT_CLASS_SMALL
actions_types = list(/datum/action/item_action/instrument)
/obj/item/device/instrument/harmonica/speechModification(message)
if(song.playing && ismob(loc))
to_chat(loc, "<span class='warning'>You stop playing the harmonica to talk...</span>")
song.playing = FALSE
return message
/obj/item/device/instrument/bikehorn
name = "gilded bike horn"
desc = "An exquisitely decorated bike horn, capable of honking in a variety of notes."