Skip to content

OnFindBurnable

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

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

Location

  • BaseOven::FindBurnable()
csharp
public Item FindBurnable()
{
	object returnvar = Interface.CallHook("OnFindBurnable", this);
	if (returnvar is Item)
	{
		return (Item)returnvar;
	}
	if (base.inventory == null)
//---

Released under the MIT License.