Skip to content

OnCoalingTowerGather

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnCoalingTowerGather(  )
{
    Puts( "OnCoalingTowerGather works!" );
}

Location

  • CoalingTower::EmptyTenPercent()
csharp
//---
			if (tcUnloadingNow.wagonType == TrainCarUnloadable.WagonType.Lootboxes)
			{
				item.Remove();
				continue;
			}
			if (Interface.CallHook("OnCoalingTowerGather", this, item) != null)
			{
				item.Remove();
				continue;
			}
			bool flag3 = item.MoveToContainer(newcontainer);
//---

Released under the MIT License.