mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 13:05:44 +01:00
you can shake drink shakers to make a shaking sound to simulate shaking the drink (#8399)
This commit is contained in:
@@ -300,6 +300,14 @@
|
||||
amount_per_transfer_from_this = 10
|
||||
volume = 120
|
||||
center_of_mass = list("x"=16, "y"=8)
|
||||
var/last_shake = 0
|
||||
|
||||
/obj/item/reagent_containers/food/drinks/shaker/attack_self(mob/user)
|
||||
if(last_shake <= world.time - 10) //Spam limiter.
|
||||
last_shake = world.time
|
||||
playsound(src.loc, 'sound/items/soda_shaking.ogg', 50, 1)
|
||||
src.add_fingerprint(user)
|
||||
return
|
||||
|
||||
/obj/item/reagent_containers/food/drinks/teapot
|
||||
name = "teapot"
|
||||
|
||||
Reference in New Issue
Block a user