Skip to content

Commit

Permalink
you can now add whole eggs to pans on help intent (#36767)
Browse files Browse the repository at this point in the history
  • Loading branch information
mentgah authored Jul 16, 2024
1 parent 92440ec commit f2f7c71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/modules/reagents/reagent_containers/food/snacks/egg.dm
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
var/static/list/allowed_targets = list(/obj/item/weapon/reagent_containers, /obj/structure/reagent_dispensers/cauldron)
if(!adjacency_flag || !is_type_in_list(target, allowed_targets) || !target.is_open_container())
return

if(user.a_intent == I_HELP)
return
if(target.reagents.is_full())
to_chat(user, "<span class='notice'>\The [target] is full!</span>")
return
Expand Down

0 comments on commit f2f7c71

Please sign in to comment.