mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
Soup doesn't yell at you when you drink it (#95913)
This commit is contained in:
@@ -121,16 +121,16 @@
|
||||
if(DOING_INTERACTION_WITH_TARGET(user, user))
|
||||
return ITEM_INTERACT_BLOCKING
|
||||
user.visible_message(
|
||||
span_danger("[user] attempts to drink from [src]."),
|
||||
span_userdanger("[user] attempts to drink from [src]."),
|
||||
span_notice("[user] attempts to drink from [src]."),
|
||||
ignored_mobs = list(user),
|
||||
)
|
||||
to_chat(user, span_notice("You attempt to drink from [src]."))
|
||||
if(!do_after(user, 1.25 SECONDS, user))
|
||||
return ITEM_INTERACT_BLOCKING
|
||||
if(!reagents || !reagents.total_volume)
|
||||
return ITEM_INTERACT_BLOCKING
|
||||
user.visible_message(
|
||||
span_danger("[user] drinks from [src]."),
|
||||
span_userdanger("[user] drinks from [src]."),
|
||||
span_notice("[user] drinks from [src]."),
|
||||
ignored_mobs = list(user),
|
||||
)
|
||||
to_chat(user, span_notice("You swallow a gulp of [src]."))
|
||||
|
||||
Reference in New Issue
Block a user