From c6d82bec66f116fb6402e535057379e436462ff4 Mon Sep 17 00:00:00 2001 From: Anuken Date: Sun, 2 Feb 2025 10:54:51 -0500 Subject: [PATCH] Allowed drills to output multiple items per frame --- core/src/mindustry/world/blocks/production/Drill.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/src/mindustry/world/blocks/production/Drill.java b/core/src/mindustry/world/blocks/production/Drill.java index 0068ed4d65..64929d08fe 100644 --- a/core/src/mindustry/world/blocks/production/Drill.java +++ b/core/src/mindustry/world/blocks/production/Drill.java @@ -315,7 +315,10 @@ public class Drill extends Block{ } if(dominantItems > 0 && progress >= delay && items.total() < itemCapacity){ - offload(dominantItem); + int amount = (int)(progress / delay); + for(int i = 0; i < amount; i++){ + offload(dominantItem); + } progress %= delay;