Soup doesn't yell at you when you drink it (#95913)

This commit is contained in:
MrMelbert
2026-04-29 06:45:50 +02:00
committed by GitHub
parent a6821ca4f4
commit e4671b260a
@@ -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]."))