you can shake drink shakers to make a shaking sound to simulate shaking the drink (#8399)

This commit is contained in:
Wowzewow (Wezzy)
2020-03-11 03:00:27 -03:00
committed by GitHub
parent b82c2bbb0a
commit 4d51fdc72a
4 changed files with 57 additions and 11 deletions
+5 -6
View File
@@ -29,7 +29,7 @@
var/list/offset_x[0] //offsets stored for later
var/list/offset_y[0] //usage by the photocopier
var/rigged = 0
var/spam_flag = 0
var/last_honk = 0
var/old_name // The name of the paper before it was folded into a plane.
var/const/deffont = "Verdana"
@@ -161,11 +161,10 @@
user.examinate(src)
if(rigged && (Holiday == "April Fool's Day"))
if(spam_flag == 0)
spam_flag = 1
playsound(loc, 'sound/items/bikehorn.ogg', 50, 1)
spawn(20)
spam_flag = 0
if(last_honk <= world.time - 20) //Spam limiter.
last_honk = world.time
playsound(src.loc, 'sound/items/bikehorn.ogg', 50, 1)
src.add_fingerprint(user)
/obj/item/paper/attack_ai(var/mob/living/silicon/ai/user)
show_content(user)