mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-22 12:47:16 +01:00
Big Bastard Incidental Sound Port
This commit is contained in:
@@ -37,7 +37,9 @@
|
||||
user.drop_item()
|
||||
P.loc = src
|
||||
icon_state = "[initial(icon_state)]-open"
|
||||
sleep(5)
|
||||
flick("[initial(icon_state)]-open",src)
|
||||
playsound(loc, 'sound/bureaucracy/filingcabinet.ogg', 50, 1)
|
||||
sleep(40)
|
||||
icon_state = initial(icon_state)
|
||||
updateUsrDialog()
|
||||
else if(P.is_wrench())
|
||||
@@ -98,9 +100,10 @@
|
||||
if(istype(P) && (P.loc == src) && src.Adjacent(usr))
|
||||
usr.put_in_hands(P)
|
||||
updateUsrDialog()
|
||||
icon_state = "[initial(icon_state)]-open"
|
||||
flick("[initial(icon_state)]-open",src)
|
||||
playsound(loc, 'sound/bureaucracy/filingcabinet.ogg', 50, 1)
|
||||
spawn(0)
|
||||
sleep(5)
|
||||
sleep(20)
|
||||
icon_state = initial(icon_state)
|
||||
|
||||
/*
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
icon_state = "folder"
|
||||
w_class = ITEMSIZE_SMALL
|
||||
pressure_resistance = 2
|
||||
drop_sound = 'sound/items/drop/paper.ogg'
|
||||
|
||||
/obj/item/weapon/folder/blue
|
||||
desc = "A blue folder."
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
slot_flags = SLOT_HEAD
|
||||
body_parts_covered = HEAD
|
||||
attack_verb = list("bapped")
|
||||
drop_sound = 'sound/items/drop/paper.ogg'
|
||||
|
||||
var/info //What's actually written on the paper.
|
||||
var/info_links //A different version of the paper which includes html links at fields and EOF
|
||||
@@ -183,6 +184,7 @@
|
||||
//crumple dat paper
|
||||
info = stars(info,85)
|
||||
user.visible_message("\The [user] crumples \the [src] into a ball!")
|
||||
playsound(src, 'sound/bureaucracy/papercrumple.ogg', 50, 1)
|
||||
icon_state = "scrap"
|
||||
return
|
||||
user.examinate(src)
|
||||
@@ -374,6 +376,7 @@
|
||||
|
||||
user.visible_message("<span class='[class]'>[user] holds \the [P] up to \the [src], it looks like [TU.hes] trying to burn it!</span>", \
|
||||
"<span class='[class]'>You hold \the [P] up to \the [src], burning it slowly.</span>")
|
||||
playsound(src.loc, 'sound/bureaucracy/paperburn.ogg', 50, 1)
|
||||
|
||||
spawn(20)
|
||||
if(get_dist(src, user) < 2 && user.get_active_hand() == P && P.lit)
|
||||
@@ -467,6 +470,8 @@
|
||||
|
||||
usr << browse("<HTML><HEAD><TITLE>[name]</TITLE></HEAD><BODY>[info_links][stamps]</BODY></HTML>", "window=[name]") // Update the window
|
||||
|
||||
playsound(src, pick('sound/bureaucracy/pen1.ogg','sound/bureaucracy/pen2.ogg'), 10)
|
||||
|
||||
update_icon()
|
||||
|
||||
/obj/item/weapon/paper/get_worn_icon_state(var/slot_name)
|
||||
@@ -579,6 +584,7 @@
|
||||
stamped += P.type
|
||||
overlays += stampoverlay
|
||||
|
||||
playsound(src, 'sound/bureaucracy/stamp.ogg', 50, 1)
|
||||
to_chat(user, "<span class='notice'>You stamp the paper with your rubber stamp.</span>")
|
||||
|
||||
else if(istype(P, /obj/item/weapon/flame))
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
layer = MOB_LAYER
|
||||
pressure_resistance = 1
|
||||
attack_verb = list("bapped")
|
||||
drop_sound = 'sound/items/drop/paper.ogg'
|
||||
var/page = 1 // current page
|
||||
var/list/pages = list() // Ordered list of pages as they are to be displayed. Can be different order than src.contents.
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 10)
|
||||
var/colour = "black" //what colour the ink is!
|
||||
pressure_resistance = 2
|
||||
drop_sound = 'sound/items/drop/accessory.ogg'
|
||||
|
||||
/obj/item/weapon/pen/attack_self(var/mob/user)
|
||||
to_chat(user, "<span class='notice'>Click.</span>")
|
||||
|
||||
Reference in New Issue
Block a user