mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-07-19 12:12:43 +01:00
prefs/tweaks
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user