Mech and Locker Sounds

This commit is contained in:
Cerebulon
2022-01-17 13:22:33 +00:00
parent 4d8c43f106
commit c2f4d10b8b
28 changed files with 32 additions and 9 deletions

View File

@@ -23,8 +23,8 @@
//then open it in a populated area to crash clients.
var/storage_cost = 40 //How much space this closet takes up if it's stuffed in another closet
var/open_sound = 'sound/machines/click.ogg'
var/close_sound = 'sound/machines/click.ogg'
var/open_sound = 'sound/machines/closet/closet_open.ogg'
var/close_sound = 'sound/machines/closet/closet_close.ogg'
var/store_misc = 1 //Chameleon item check
var/store_items = 1 //Will the closet store items?

View File

@@ -6,6 +6,8 @@
icon_state = "closed_unlocked"
seal_tool = /obj/item/weapon/tool/screwdriver
breakout_sound = 'sound/weapons/tablehit1.ogg'
open_sound = 'sound/machines/closet/crate_open.ogg'
close_sound = 'sound/machines/closet/crate_close.ogg'
closet_appearance = null // Special icon for us
door_anim_time = 0 //Unsupported

View File

@@ -2,6 +2,8 @@
name = "booze closet"
req_access = list(access_bar)
closet_appearance = /decl/closet_appearance/cabinet/secure
open_sound = 'sound/machines/closet/closet_wood_open.ogg'
close_sound = 'sound/machines/closet/closet_wood_close.ogg'
starts_with = list(
/obj/item/weapon/reagent_containers/food/drinks/bottle/small/beer = 10)

View File

@@ -200,6 +200,8 @@
desc = "Store psychology tools and medicines in here."
req_access = list(access_psychiatrist)
closet_appearance = /decl/closet_appearance/cabinet/secure
open_sound = 'sound/machines/closet/closet_wood_open.ogg'
close_sound = 'sound/machines/closet/closet_wood_close.ogg'
starts_with = list(
/obj/item/clothing/under/rank/psych,

View File

@@ -27,6 +27,8 @@
/obj/structure/closet/secure_closet/personal/cabinet
closet_appearance = /decl/closet_appearance/cabinet/secure
door_anim_time = 0 //Unsupported
open_sound = 'sound/machines/closet/closet_wood_open.ogg'
close_sound = 'sound/machines/closet/closet_wood_close.ogg'
starts_with = list(
/obj/item/weapon/storage/backpack/satchel/withwallet,

View File

@@ -224,6 +224,8 @@
req_access = list(access_forensics_lockers)
closet_appearance = /decl/closet_appearance/cabinet/secure
door_anim_time = 0 //Unsupported
open_sound = 'sound/machines/closet/closet_wood_open.ogg'
close_sound = 'sound/machines/closet/closet_wood_close.ogg'
starts_with = list(
/obj/item/clothing/accessory/badge/holo/detective,

View File

@@ -40,6 +40,8 @@
/obj/structure/closet/wardrobe/detective
name = "detective wardrobe"
closet_appearance = /decl/closet_appearance/cabinet
open_sound = 'sound/machines/closet/closet_wood_open.ogg'
close_sound = 'sound/machines/closet/closet_wood_close.ogg'
starts_with = list(
/obj/item/clothing/head/det = 2,
@@ -441,6 +443,8 @@
/obj/structure/closet/wardrobe/captain
name = "site manager's wardrobe"
closet_appearance = /decl/closet_appearance/cabinet
open_sound = 'sound/machines/closet/closet_wood_open.ogg'
close_sound = 'sound/machines/closet/closet_wood_close.ogg'
starts_with = list(
/obj/item/weapon/storage/backpack/captain,

View File

@@ -8,6 +8,8 @@
climbable = 1
dir = 4 //Spawn facing 'forward' by default.
door_anim_time = 0 //Unsupported until appropriate sprites are available
open_sound = 'sound/machines/closet/crate_open.ogg'
close_sound = 'sound/machines/closet/crate_close.ogg'
var/points_per_crate = 5
var/rigged = 0
@@ -33,7 +35,7 @@
if(usr.stunned)
return 2
playsound(src, 'sound/machines/click.ogg', 15, 1, -3)
playsound(src, open_sound, 15, 1, -3)
for(var/obj/O in src)
O.forceMove(get_turf(src))
src.opened = 1
@@ -49,7 +51,7 @@
if(!src.can_close())
return 0
playsound(src, 'sound/machines/click.ogg', 15, 1, -3)
playsound(src, close_sound, 15, 1, -3)
var/itemcount = 0
for(var/obj/O in get_turf(src))
if(itemcount >= storage_capacity)