Name:Chef's Boss Effect
ManaCost:no cost
Colors:blue,green,white
Types:Enchantment
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Command | Execute$ TrigToken | TriggerDescription$ At the beginning of your upkeep, create a Food token. 
SVar:TrigToken:DB$ Token | TokenScript$ c_a_food_sac | TokenOwner$ You
S:Mode$ Continuous | IsPresent$ Food.YouCtrl | PresentCompare$ GE3 | AddType$ Creature | SetPower$ 2 | SetToughness$ 2 | Affected$ Food.YouCtrl | EffectZone$ Command | AffectedZone$ Battlefield | Description$ As long as you have 3 or more Foods, Foods you control are creatures in addition to their other types,have base power and toughness 2/2 and attack each turn if able. 
S:Mode$ MustAttack | IsPresent$ Food.YouCtrl | PresentCompare$ GE3 | ValidCreature$ Food.YouCtrl | EffectZone$ Command | Secondary$ True | Description$ As long as you have 3 or more Foods, Foods you control are creatures in addition to their other types,have base power and toughness 2/2 and attack each turn if able. 
T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Command | CheckSVar$ X | SVarCompare$ LT5 | Execute$ TrigDraw | TriggerDescription$ At the beginning of your end step, if you have less than 5 cards in hand, draw cards equal to the difference. 
SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ Difference
SVar:X:Count$ValidHand Card.YouOwn
SVar:Difference:Number$5/Minus.X
Oracle:At the beginning of your upkeep, create a Food token. \nAs long as you have 3 or more Foods, Foods you control are creatures in addition to their other types,have base power and toughness 2/2 and attack each turn if able.\nAt the beginning of your end step, if you have less than 5 cards in hand, draw cards equal to the difference. 
