mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-16 01:23:41 +01:00
Allows voice activators, etc to work in storage items
This commit is contained in:
@@ -69,6 +69,10 @@
|
||||
origin_tech = null //wipe out any origin tech if it's unlocked in any way so you can't double-dip tech levels at R&D.
|
||||
return
|
||||
|
||||
/obj/item/weapon/storage/lockbox/hear_talk(mob/living/M as mob, msg)
|
||||
|
||||
/obj/item/weapon/storage/lockbox/hear_message(mob/living/M as mob, msg)
|
||||
|
||||
/obj/item/weapon/storage/lockbox/large
|
||||
name = "Large lockbox"
|
||||
desc = "A large lockbox"
|
||||
|
||||
@@ -147,6 +147,9 @@
|
||||
usr << "<span class='notice'>[src] is locked!</span>"
|
||||
return 0
|
||||
|
||||
/obj/item/weapon/storage/secure/hear_talk(mob/living/M as mob, msg)
|
||||
|
||||
/obj/item/weapon/storage/secure/hear_message(mob/living/M as mob, msg)
|
||||
|
||||
// -----------------------------
|
||||
// Secure Briefcase
|
||||
|
||||
@@ -462,6 +462,16 @@
|
||||
O.emp_act(severity)
|
||||
..()
|
||||
|
||||
/obj/item/weapon/storage/hear_talk(mob/living/M as mob, msg)
|
||||
..()
|
||||
for(var/obj/O in contents)
|
||||
O.hear_talk(M, msg)
|
||||
|
||||
/obj/item/weapon/storage/hear_message(mob/living/M as mob, msg)
|
||||
..()
|
||||
for(var/obj/O in contents)
|
||||
O.hear_message(M, msg)
|
||||
|
||||
// BubbleWrap - A box can be folded up to make card
|
||||
/obj/item/weapon/storage/attack_self(mob/user as mob)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user