Fixes harmonicas acting like muzzles (and runtiming instead of properly muting you too.)
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user