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

Commit 477fc4c

Browse files
committed
paste
1 parent ea55907 commit 477fc4c

File tree

11 files changed

+68
-12
lines changed

11 files changed

+68
-12
lines changed

assets/bundles/bundle.properties

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ block.biotech-hematic-sieve.name = Hematic Sieve
7474
block.biotech-hematic-sieve.description = Filters potash from blood.
7575
block.biotech-hemo-crystallizer.name = Hemo Crystallizer
7676
block.biotech-hemo-crystallizer.description = Condenses blood into carminite.
77+
block.biotech-paste-compactor.name = Paste Compactor
78+
block.biotech-paste-compactor.description = Compresses dust clumps into Yummy baby food.
7779

7880
block.biotech-core-sight.name = Core: Sight
7981
block.biotech-core-sight.description = Core of the base. Made with some biological materials. Once destroyed, the sector is lost.
@@ -137,14 +139,19 @@ item.biotech-carminite.name = Carminite
137139
item.biotech-carminite.description = Condensed Blood. Used mainly to power tier 2 infrastructure.
138140
item.biotech-stem-capsule.name = Stem Capsule
139141
item.biotech-stem-capsule.description = A capsule used mostly for ammo.
140-
item.biotech-heratic-acid.name = Heratic Acid
141-
item.biotech-heratic-acid.description = Highly corrosive acid found on the surface of Andori.
142+
item.biotech-stem-capsule.detail = Struggling in STEM major.
143+
item.biotech-dust-clump.name = Dust Clump
144+
item.biotech-dust-clump.description = A clump of dust.
145+
item.biotech-proteic-paste.name = Proteic Paste
146+
item.biotech-proteic-paste.description = A proteic paste.
142147
143148
liquid.biotech-hemo-fluid.name = Hemo Fluid
144149
liquid.biotech-hemo-fluid.description = Used for ammunition and basic biotechnology, hot.
145150
liquid.biotech-hemo-fluid.details = Substance made from dead creatures who lived in Andori.
146151
liquid.biotech-plasmoid.name = Plasmoid
147152
liquid.biotech-plasmoid.description = Liquid found in the environment of Andori. Useful for tier 2 mechanisms
153+
liquid.biotech-heratic-acid.name = Heratic Acid
154+
liquid.biotech-heratic-acid.description = Highly corrosive acid found on the surface of Andori.
148155
149156
unit.biotech-carrier.name = Carrier
150157
unit.biotech-watcher.name = Watcher
@@ -183,7 +190,7 @@ planet.biotech-andori.name = Andori
183190
sector.biotech-ankle.name = Ankle
184191
sector.biotech-crus.name = Crus
185192
sector.biotech-femur.name = Femur
186-
sector.biotech-putridum = Putridum
193+
sector.biotech-putridum.name = Putridum
187194
188195
setting.biotech-category = Heart Of Andori
189196
setting.biotech-clear-campaign = [red]Irritate Immune System
766 Bytes
Loading
358 Bytes
Loading
4.4 KB
Loading

src/biotech/content/BioBlocks.java

Lines changed: 52 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public class BioBlocks {
8080
magnesiumBurner, cablePole, cableAccumulator,
8181

8282
//production
83-
hematicSieve, hemoCrystallizer,
83+
hematicSieve, hemoCrystallizer, pasteCompactor,
8484

8585
//defense
8686
magnesiumWall, largeMagnesiumWall,
@@ -789,7 +789,7 @@ BioItems.magnesium, new BasicBulletType(4f, 8) {{
789789

790790
consumePower(100 / 60f);
791791

792-
outlineColor = Color.valueOf("2b2626");;
792+
outlineColor = Color.valueOf("2b2626");
793793

794794
shootType = new BasicBulletType(0, 0) {{
795795
spawnUnit = new MissileUnitType("glisten-missile"){{
@@ -830,8 +830,9 @@ BioItems.magnesium, new BasicBulletType(4f, 8) {{
830830
hitColor = BioPal.magnesiumPurpleLight;
831831
spawnUnit = new EmpUnitType("glisten-emp"){{
832832
health = 650;
833+
hidden = true;
833834
killShooter = true;
834-
outlineColor = Color.valueOf("2b2626");;
835+
outlineColor = Color.valueOf("2b2626");
835836
lifetime = 60f * 2.5f;
836837
empRadius = 50;
837838
empEffect = BioStatusEffects.overloaded;
@@ -1018,6 +1019,54 @@ BioItems.calciticFragment, new BasicBulletType(7, 20){{
10181019
consumeLiquid(BioLiquids.hemoFluid, 0.40f);
10191020
consumeItem(BioItems.potash, 1);
10201021
}};
1022+
1023+
pasteCompactor = new GenericCrafter("paste-compactor") {{
1024+
requirements(Category.crafting, with(BioItems.magnesium, 120, BioItems.phosphorus, 50, BioItems.carminite, 25));
1025+
squareSprite = false;
1026+
hasItems = true;
1027+
liquidCapacity = 60f;
1028+
consumePower(65 / 60f);
1029+
craftTime = 2 * 60f;
1030+
outputItem = new ItemStack(BioItems.proteicPaste, 2);
1031+
drawer = new DrawMulti(
1032+
new DrawRegion("-bottom"),
1033+
new DrawGlowRegion("-glow"){{ color = BioPal.bloodRedLight; }},
1034+
new DrawParticles(){{
1035+
color = Pal.lightishGray;
1036+
}},
1037+
new DrawParticles(){{
1038+
particles = 20;
1039+
color = Pal.gray;
1040+
}},
1041+
new DrawDefault());
1042+
size = 5;
1043+
health = 1450;
1044+
hasLiquids = true;
1045+
craftEffect = new MultiEffect(
1046+
new ParticleEffect() {{
1047+
particles = 10;
1048+
line = true;
1049+
length = 16;
1050+
lenFrom = 6;
1051+
lenTo = 0;
1052+
strokeFrom = 3;
1053+
strokeTo = 0;
1054+
colorFrom = BioPal.bloodRedLight;
1055+
colorTo = BioPal.bloodRedLight;
1056+
}},
1057+
new ParticleEffect() {{
1058+
particles = 15;
1059+
length = 20;
1060+
sizeFrom = 4;
1061+
sizeTo = 0;
1062+
colorFrom = Pal.gray;
1063+
colorTo = Pal.darkerGray;
1064+
}}
1065+
);
1066+
1067+
consumeLiquid(BioLiquids.hemoFluid, 0.60f);
1068+
consumeItem(BioItems.dustClump, 4);
1069+
}};
10211070
//endregion
10221071

10231072
//power

src/biotech/content/BioItems.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public static void load() {
5858
cost = 1.5f;
5959
}};
6060

61-
stemCapsule = new Item("stem-capsule", Color.valueOf("48e070")){{
61+
stemCapsule = new Item("stem-capsule", BioPal.bloodRedLight){{
6262
hardness = 2;
6363
cost = 1.8f;
6464
}};

src/biotech/content/BioUnits.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,7 @@ public static void load() {
10121012
x = 0f;
10131013
y = 0f;
10141014
}},
1015-
new BiologicalRegionPart("-pupil-1"){{;
1015+
new BiologicalRegionPart("-pupil-1"){{
10161016
moveX = 0.5f;
10171017
moveY = -0.5f;
10181018
x = 0f;

src/biotech/entities/part/BiologicalRegionPart.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public void draw(PartParams params){
3030
if(under && turretShading) Draw.z(z - 0.0001f);
3131
Draw.z(Draw.z() + layerOffset);
3232

33-
float randProg = (Time.time * Mathf.randomSeed((long) (BioPartProgParams.bioparams.id), 0.5f, 1.1f));
33+
float randProg = (Time.time * Mathf.randomSeed(BioPartProgParams.bioparams.id, 0.5f, 1.1f));
3434

3535
float prevZ = Draw.z();
3636
float prog = Mathf.clamp(progress.get(params) + Mathf.sin(randProg, 50f, 0.5f))

src/biotech/type/unit/ShomeretUnitType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public ShomeretUnitType(String name) {
4646
new BiologicalRegionPart("-2"){{
4747
x = y = 0;
4848
growX = 0.1f;
49-
growY = 0.1f;;
49+
growY = 0.1f;
5050
moveX = -1.5f;
5151
moveY = 0.6f;
5252
moveRot = -3f;

src/biotech/ui/BioResearchDialog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ void checkMargin() {
216216
public void rebuildItems() {
217217
items = new ItemSeq() {
218218
// Store sector item amounts for modifications
219-
ObjectMap<Sector, ItemSeq> cache = new ObjectMap<>();
219+
final ObjectMap<Sector, ItemSeq> cache = new ObjectMap<>();
220220

221221
{
222222
//First get all the planets with the same techtree/root node

0 commit comments

Comments
 (0)