Feijoada's Recipe Makes It Not Need Meat


lakhnish
  • Version: PC/MAC/Linux Pending

Some work was being done on the crockpot simulator when this was noticed.

The conditions for Feijoada's recipe are written such that meat is only needed when it's 3 Raw Jellybugs.

If you have 3 Cooked Jellybugs, or a combination of Raw and Cooked Jellybugs, you can put whatever you want afterwords (i.e. zero meat), and you'll still get Feijoada.

This is the current recipe for Feijoada, spaced out to show why:

test = function(cooker, names, tags) 
  return 
  
  tags.meat and (names.jellybug == 3) "<- Meat only needed here, not for the other conditions"
  
  or (names.jellybug_cooked == 3) 
  
  or (names.jellybug and names.jellybug_cooked and names.jellybug + names.jellybug_cooked == 3)
  
end

 

Adding a pair of parenthesis encasing all of the Jellybug conditions solves this (again spaced out to show what I mean):

test = function(cooker, names, tags) 
  return 
  
  tags.meat 
  
  and ((names.jellybug == 3) or (names.jellybug_cooked == 3) or (names.jellybug and names.jellybug_cooked and names.jellybug + names.jellybug_cooked == 3)) "<- parathesis encasing the jellybug conditions so that it checks each condition rather than just one condition like before"
  
end

 


Steps to Reproduce
3 Cooked Jellybugs, or a combination of Raw and Cooked Jellybugs, will give Feijoada without requiring a piece of meat.
  • Thanks 1


User Feedback


There are no comments to display.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now