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 self, BasePlayer player, ProtoBuf.IndustrialConveyor.ItemFilterList local0)
{
    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 self, ItemBlueprint local2)
{
    Puts("OnItemCraft was called!");
    return (object) null;
}

Last updated