prefs/tweaks

This commit is contained in:
Cerebulon
2020-03-15 17:20:02 +00:00
parent 4b9531c972
commit 9fbd9b2caf
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -131,5 +131,5 @@ datum/announcement/proc/Log(message as text, message_title as text)
AnnounceArrivalSimple(character.real_name, rank, join_message)
/proc/AnnounceArrivalSimple(var/name, var/rank = "visitor", var/join_message = "will arrive to the station shortly by shuttle", var/new_sound = 'sound/misc/notice3.ogg')
/proc/AnnounceArrivalSimple(var/name, var/rank = "visitor", var/join_message = "will arrive to the station shortly by shuttle", new_sound = 'sound/misc/notice3.ogg')
global_announcer.autosay("[name], [rank], [join_message].", "Arrivals Announcement Computer")
+2 -2
View File
@@ -278,8 +278,8 @@
/obj/item/throw_impact(atom/hit_atom)
..()
if(drop_sound && usr.is_preference_enabled(/datum/client_preference/drop_sounds))
playsound(src, drop_sound, 50, 0)
if(drop_sound)
playsound(src, drop_sound, 50, 0, preference = /datum/client_preference/drop_sounds)
// apparently called whenever an item is removed from a slot, container, or anything else.
/obj/item/proc/dropped(mob/user as mob)
+1 -1
View File
@@ -39,7 +39,7 @@
w_class = ITEMSIZE_SMALL
root_type = /datum/lore/codex/category/main_news
libcategory = "Reference"
drop_sound = 'sound/items/drop/device.ogg'
// Combines SOP/Regs/Law
/obj/item/weapon/book/codex/corp_regs
name = "NanoTrasen Regulatory Compendium"
+1 -1
View File
@@ -50,7 +50,7 @@
return
if(I.drop_sound)
playsound(I, I.drop_sound, 25, 0)
playsound(I, I.drop_sound, 25, 0, preference = /datum/client_preference/drop_sounds)
//Drops the item in our left hand