Exemplo n.º 1
0
 public override bool Run()
 {
     OverridedGrill_Have.Definition definition = base.InteractionDefinition as OverridedGrill_Have.Definition;
     if (this.Target.LotCurrent.IsCommunityLot)
     {
         return(this.StartCookingProcessWithFoodTray(definition.MenuText, definition.MenuPath, definition.Destination, Recipe.MealQuantity.Group, definition.Repetition));
     }
     return(Fridge.ForcePushFridgeHave(this.Actor, this.Target, this.ChosenRecipe, definition.MenuText, definition.MenuPath, definition.ObjectClickedOn, definition.Destination, Recipe.MealQuantity.Group, definition.Repetition, false, definition.Cost));
 }
Exemplo n.º 2
0
 public override bool Run()
 {
     OverridedMicrowave_Have.Definition definition = base.InteractionDefinition as OverridedMicrowave_Have.Definition;
     return(Fridge.ForcePushFridgeHave(this.Actor, this.Target, definition.ChosenRecipe, definition.MenuText, definition.MenuPath, definition.ObjectClickedOn, definition.Destination, definition.Quantity, definition.Repetition, false, definition.Cost));
 }
Exemplo n.º 3
0
 public override bool Run()
 {
     OverridedStove_Have.Definition definition = base.InteractionDefinition as OverridedStove_Have.Definition;
     TraitFunctions.CheckForNeuroticAnxiety(this.Actor, TraitFunctions.NeuroticTraitAnxietyType.Stove);
     return(Fridge.ForcePushFridgeHave(this.Actor, this.Target, definition.ChosenRecipe, definition.MenuText, definition.MenuPath, definition.ObjectClickedOn, definition.Destination, definition.Quantity, definition.Repetition, false, definition.Cost));
 }