Industrial (2)

All currently available hooks that are found in Carbon. Most hooks would be ones compatible with Oxide, although there are Carbon-only ones as well.

  • Returning a non-null value cancels default behavior.

  • This hook is compatible within Carbon and Oxide.

  • Patches IndustrialConveyor.RPC_ChangeFilters of Assembly-CSharp.dll.

Example
object OnConveyorFiltersChange(IndustrialConveyor IndustrialConveyor , BasePlayer BasePlayer , ProtoBuf.IndustrialConveyor.ItemFilterList ItemFilterList )
{
    Puts("OnConveyorFiltersChange was called!");
    return (object) null;
}
  • Called right after an item is added to the crafting queue.

  • Returning a non-null value cancels default behavior.

  • This hook is compatible within Carbon and Oxide.

  • Patches IndustrialCrafter.RunJob of Assembly-CSharp.dll.

Example
object OnItemCraft(IndustrialCrafter IndustrialCrafter , ItemBlueprint ItemBlueprint )
{
    Puts("OnItemCraft was called!");
    return (object) null;
}

Last updated