Because you can open MiningQuarry class and see that it takes resources from
_linkedDeposit._resources
it doesnt matter what type of quarry is
Merged postpublic void ProcessResources()
{
if (this._linkedDeposit == null || (UnityEngine.Object) this.hopperPrefab.instance == (UnityEngine.Object) null)
return;
foreach (var resource in this._linkedDeposit._resources)
{
if ((this.canExtractLiquid || !resource.isLiquid) && (this.canExtractSolid || resource.isLiquid))
{
resource.workDone += this.workToAdd;
if ((double) resource.workDone >= (double) resource.workNeeded)
{
int iAmount = Mathf.FloorToInt(resource.workDone / resource.workNeeded);
resource.workDone -= (float) iAmount * resource.workNeeded;
Item obj = ItemManager.Create(resource.type, iAmount, 0UL);
Interface.CallHook("OnQuarryGather", (object) this, (object) obj);
if (!obj.MoveToContainer(this.hopperPrefab.instance.GetComponent<StorageContainer>().inventory, -1, true))
{
obj.Remove(0.0f);
this.SetOn(false);
}
}
}
}
if (this.FuelCheck())
return;
this.SetOn(false);
}