Skip to content

OnOvenStarted

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnOvenStarted( BaseOven instance )
{
    Puts( "OnOvenStarted works!" );
}

Location

  • BaseOven::StartCooking()
csharp
//---
	}
	base.inventory.temperature = this.cookingTemperature;
	this.UpdateAttachmentTemperature();
	base.InvokeRepeating(new Action(this.Cook), 0.5f, 0.5f);
	base.SetFlag(BaseEntity.Flags.On, true, false, true);
	Interface.CallHook("OnOvenStarted", this);
	if (this.hasOpenFlame)
	{
		SingletonComponent<NpcFireManager>.Instance.Add(this);
	}
}

Released under the MIT License.