Skip to content
This repository was archived by the owner on Jan 17, 2026. It is now read-only.

Commit e5e168d

Browse files
committed
double you tee eff!?
1 parent 477fc4c commit e5e168d

4 files changed

Lines changed: 40 additions & 6 deletions

File tree

assets/bundles/bundle.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ block.biotech-bio-piercer.name = Tissue Piercer
101101
block.biotech-bio-piercer.description = Breaks off chunks of flesh from flesh floors.
102102
block.biotech-drill-upgrader.name = Drill Upgrader
103103
block.biotech-drill-upgrader.description = Boosts connected drill's with a higher durability to allow the mining of rougher materials.
104+
block.biotech-filter.name = Filter
105+
block.biotech-filter.description = Filters particles in the air into small clumps of dust.
104106
105107
block.biotech-magnesium-convayor.name = Magnesium Belt
106108
block.biotech-magnesium-convayor.description = Transports items.
290 Bytes
Loading
1 KB
Loading

src/biotech/content/BioBlocks.java

Lines changed: 38 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public class BioBlocks {
5757
magnesiumConveyor, splitter, conveyorOverpass,
5858

5959
//drill
60-
bioDrill, boneCrusher, bioPiercer, drillUpgrader,
60+
bioDrill, boneCrusher, bioPiercer, drillUpgrader, filter,
6161

6262
//env
6363
flesh, rottenFlesh, decayedFlesh, scarredFlesh, adiposeTissue,
@@ -202,7 +202,6 @@ public static void load() {
202202
boostScale = 1f / 4f;
203203
group = BlockGroup.drills;
204204
size = 2;
205-
ambientSound = Sounds.hum;
206205
ambientSoundVolume = 0.06f;
207206
craftTime = 200f;
208207
itemCapacity = 30;
@@ -237,6 +236,38 @@ public static void load() {
237236
);
238237
}};
239238

239+
filter = new AttributeCrafter("filter") {{
240+
attribute = Attribute.steam;
241+
requirements(production, with(BioItems.calciticFragment, 120, BioItems.phosphorus, 25));
242+
consumePower(25 / 60f);
243+
244+
baseEfficiency = minEfficiency = 0.5f;
245+
displayEfficiency = true;
246+
boostScale = 1f / 4f;
247+
group = BlockGroup.drills;
248+
size = 2;
249+
ambientSound = Sounds.hum;
250+
ambientSoundVolume = 0.03f;
251+
craftTime = 4 * 60f;
252+
itemCapacity = 20;
253+
254+
outputItem = new ItemStack(BioItems.dustClump, 4);
255+
squareSprite = false;
256+
craftEffect = new ParticleEffect() {{
257+
colorFrom = Pal.gray;
258+
colorTo = Pal.lightishGray;
259+
sizeFrom = 3;
260+
sizeTo = 0;
261+
particles = 8;
262+
length = 20f;
263+
}};
264+
265+
drawer = new DrawMulti(
266+
new DrawRegion("-bottom"),
267+
new DrawDefault()
268+
);
269+
}};
270+
240271
boneCrusher = new WallCrafter("bone-crusher") {{
241272
researchCost = with(BioItems.magnesium, 70, BioItems.calciticFragment, 50);
242273
requirements(Category.production, with(BioItems.magnesium, 40, BioItems.calciticFragment, 25));
@@ -297,6 +328,7 @@ public static void load() {
297328

298329
poreHole = new SteamVent("pore-hole") {{
299330
parent = blendGroup = flesh;
331+
attributes.set(Attribute.steam, 1f);
300332
variants = 3;
301333
effectSpacing = 100f;
302334
effectColor = Color.valueOf("a69780");
@@ -966,7 +998,7 @@ BioItems.calciticFragment, new BasicBulletType(7, 20){{
966998
hasItems = true;
967999
liquidCapacity = 60f;
9681000
craftTime = 4 * 60f;
969-
outputItem = new ItemStack(BioItems.potash, 5);
1001+
outputItem = new ItemStack(BioItems.potash, 4);
9701002
drawer = new DrawMulti(new DrawRegion("-bottom"), new DrawLiquidTile(BioLiquids.hemoFluid, 2), new DrawDefault());
9711003
size = 3;
9721004
health = 850;
@@ -1017,15 +1049,15 @@ BioItems.calciticFragment, new BasicBulletType(7, 20){{
10171049
}};
10181050

10191051
consumeLiquid(BioLiquids.hemoFluid, 0.40f);
1020-
consumeItem(BioItems.potash, 1);
1052+
consumeItem(BioItems.potash, 2);
10211053
}};
10221054

10231055
pasteCompactor = new GenericCrafter("paste-compactor") {{
10241056
requirements(Category.crafting, with(BioItems.magnesium, 120, BioItems.phosphorus, 50, BioItems.carminite, 25));
10251057
squareSprite = false;
10261058
hasItems = true;
10271059
liquidCapacity = 60f;
1028-
consumePower(65 / 60f);
1060+
consumePower(250 / 60f);
10291061
craftTime = 2 * 60f;
10301062
outputItem = new ItemStack(BioItems.proteicPaste, 2);
10311063
drawer = new DrawMulti(
@@ -1064,7 +1096,7 @@ BioItems.calciticFragment, new BasicBulletType(7, 20){{
10641096
}}
10651097
);
10661098

1067-
consumeLiquid(BioLiquids.hemoFluid, 0.60f);
1099+
consumeLiquid(BioLiquids.hemoFluid, 48 / 60f);
10681100
consumeItem(BioItems.dustClump, 4);
10691101
}};
10701102
//endregion

0 commit comments

Comments
 (0)