mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-30 12:02:24 +00:00
Water bottles (and other closed non-carbonated drinks) no longer explode when shaken (#7221)
This commit is contained in:
@@ -29,9 +29,11 @@
|
||||
playsound(loc,'sound/items/soda_shaking.ogg', rand(10,50), 1)
|
||||
return
|
||||
if(shaken)
|
||||
boom(user)
|
||||
else
|
||||
open(user)
|
||||
for(var/datum/reagent/R in reagents.reagent_list)
|
||||
if(R.carbonated)
|
||||
boom(user)
|
||||
return
|
||||
open(user)
|
||||
|
||||
/obj/item/weapon/reagent_containers/food/drinks/proc/open(mob/user as mob)
|
||||
playsound(loc,'sound/effects/canopen.ogg', rand(10,50), 1)
|
||||
|
||||
Reference in New Issue
Block a user