Skip to content

Commit f71aa4e

Browse files
authored
Merge pull request #31 from JiroCab/experimental
1.7.6
2 parents 95284fe + 2cb42e7 commit f71aa4e

File tree

210 files changed

+340
-213
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

210 files changed

+340
-213
lines changed

assets/bundles/bundle.properties

+4-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ block.olupis-lubricant-mixer.name =[teal]Lubricant Mixer (sbp)
109109
block.olupis-demulsifier.name =[teal]Demulsifier (sbp)
110110
block.olupis-demulsifier.description =Seperates Oil and water from slop
111111
block.olupis-fortified-radiator.name =[teal]Fortifed radiator (sbp)
112-
block.olupis-fortified-radiator.description =Condenses steam back into water, Placing on a vent will yield additional passive condensation.
112+
block.olupis-fortified-radiator.description =Condenses steam back into water, Placing on a vent will yield additional passive condensation. Requires Power
113+
block.olupis-fortified-radiator.details =[#63553B]For those asking how this works and why it needs power, something something high speed fans, u can guess everything else
113114

114115
block.olupis-construct.name =Support Constructer
115116
block.olupis-construct.description =Produces temporary support units. Additional items will improve output unit. Produces Spirits for free when powered
@@ -383,6 +384,8 @@ block.olupis-glow-lilly.name =Glow Lilly
383384
block.olupis-rusted-metal.name =Rusted Metal
384385
block.olupis-non-reproductive-boompuff.name =Boom Puffs (Active)
385386
block.olupis-reproductive-boompuff.name =Boom Puff (Dormant)
387+
block.olupis-dirt-vent.name =Dirt Vent
388+
386389

387390

388391
unit.olupis-gnat.name =Gnat
Binary file not shown.
File renamed without changes.
-3.77 KB

changelog.txt

+22-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,28 @@
11
== Olupis Major change log ==
22
https://github.com/JiroCab/Olupis
3-
Last updated on 23/12/2024 (+8utc) by Jirocab/RushieWashie
3+
Last updated on 01/09/2025 (+8utc) by Jirocab/RushieWashie
44

5-
= Version 1-7-4 () =
5+
= Version 1-7-6 () =
6+
+ Tiles added: Dirt Vent
7+
~ Spreading moss now randomly rotates to help break up the pattern
8+
~ Balance: Visually improved bullets of crusader, lice & all shredder's ammo
9+
~ Balance: Shredder's Graphite bullet now bounces
10+
~ Balance: lice's bullet now bounces
11+
~ Balance: fixed corroder bullets not hitting the full range of the turret
12+
~ Balance: porcupine has been given a proper build cost, may still be changed
13+
~ Balance: aegis' missiles visually & added a graphite variant
14+
~ Balance: avenger's graphite missile variant now has trail
15+
~ Balance: silgtly improved reaper's weapon visuals
16+
~ Bug fix: mechpads not showing their unit type
17+
~ Bug fix: shade not having proper Ai
18+
~ Bug fix: oversight that overwrote `Styles.flatt`'s colour leading to various other menus being darker than they should
19+
~ Internal: Automated Unit's costs and factory links in the core database
20+
~ Internal: Slightly improved folders of sprites
21+
22+
= Version 1-7-5 (95284fe) = https://github.com/JiroCab/Nyfalis/tree/95284fe2570702fc7d0a2fbe50e444b9949c7686
23+
~ Rushie forgot a !
24+
25+
= Version 1-7-4 (e391106) = https://github.com/JiroCab/Nyfalis/tree/e391106f9f91dddaa28ebe29af608c6d598d5625
626
~ Improved BE/v8 compatibility but many things have been disabled till proper migration
727
~ Improved CoredDatabase of turrets by sorting the ammo entries based on damage
828
~ Bug fix: Replicators' selected unit being changed if more units are loaded (new units/other mods)

mod.hjson

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ main: "olupis.NyfalisMain"
1414
#the mod description as seen in the mod dialog
1515
description: "(\u26A0Work in progress\u26A0)\n Yet another planet mod \nThat does it's best to give the player(s) a bit of something new,\n with a minor hint of what the base game has to offer, focus on RTS controls, and pain on top"
1616

17-
subtitle: "Yet another planet mod, v1.7.5"
17+
subtitle: "Yet another planet mod, v1.7.6"
1818

1919
#the mod version
20-
version: 1.7.5
20+
version: 1.7.6
2121

2222
#the minimum game build required to run this mod
2323
minGameVersion: 136

src/olupis/NyfalisMain.java

+18-24
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,26 @@
11
package olupis;
22

3-
import arc.Core;
4-
import arc.Events;
5-
import arc.scene.style.TextureRegionDrawable;
6-
import arc.struct.Seq;
7-
import arc.util.Log;
8-
import arc.util.Time;
9-
import mindustry.Vars;
10-
import mindustry.content.Blocks;
11-
import mindustry.content.Planets;
3+
import arc.*;
4+
import arc.scene.style.*;
5+
import arc.struct.*;
6+
import arc.util.*;
7+
import mindustry.*;
8+
import mindustry.content.*;
129
import mindustry.core.*;
13-
import mindustry.game.EventType;
14-
import mindustry.game.EventType.ClientLoadEvent;
15-
import mindustry.game.EventType.FileTreeInitEvent;
16-
import mindustry.game.Team;
10+
import mindustry.game.*;
11+
import mindustry.game.EventType.*;
1712
import mindustry.gen.*;
18-
import mindustry.graphics.Pal;
19-
import mindustry.mod.Mod;
13+
import mindustry.graphics.*;
14+
import mindustry.mod.*;
2015
import mindustry.type.*;
21-
import mindustry.world.Block;
22-
import mindustry.world.Tile;
16+
import mindustry.world.*;
2317
import olupis.content.*;
24-
import olupis.input.NyfalisPackets;
25-
import olupis.input.NyfalisShaders;
18+
import olupis.input.*;
2619
import olupis.input.ui.*;
27-
import olupis.world.EnvUpdater;
28-
import olupis.world.blocks.unit.Replicator;
29-
import olupis.world.entities.packets.NyfalisSyncOtherSettingsPacket;
30-
import olupis.world.planets.NyfalisTechTree;
20+
import olupis.world.*;
21+
import olupis.world.blocks.unit.*;
22+
import olupis.world.entities.packets.*;
23+
import olupis.world.planets.*;
3124

3225
import java.util.*;
3326

@@ -138,7 +131,8 @@ public NyfalisMain(){
138131
spelta.uiIcon = pinkTree.fullIcon;
139132
system.uiIcon = Icon.planet.getRegion();
140133
if(Core.settings.getBool("nyfalis-debug")){
141-
Vars.renderer.maxZoom = 100; //just going to leave this here so aligning, screenshot are easier
134+
Log.debug("Nfyalis Debug is on! Nya~");
135+
//Vars.renderer.maxZoom = 100; //just going to leave this here so aligning, screenshot are easier
142136
//if(control.saves.getSaveSlots().first() != null) ui.load.runLoadSave(control.saves.getSaveSlots().first());
143137
//ui.planet.debugSelect = true;
144138
}

src/olupis/content/NyfalisAttributeWeather.java

+2
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ public static void loadWeather(){
105105
baseSpeed = 0.03f;
106106
}};
107107

108+
109+
//TODO: decide whether the trans of this can be changed playerside
108110
cloudShadow = new ParticleWeather("cloud-shadow"){{
109111
duration = 15f * Time.toMinutes;
110112
noiseLayers = 3;

src/olupis/content/NyfalisBlocks.java

+10-2
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,11 @@ public class NyfalisBlocks {
7474
glowSprouts, lumaSprouts, redCorals, blueCorals, greenCorals, kelp,
7575

7676
/*Floors*/
77-
redSand, riverSand, lumaGrass, yellowGrass, pinkGrass, mossyDirt, hardenMud, mossyhardenMud,
77+
redSand, riverSand, lumaGrass, yellowGrass, pinkGrass, mossyDirt, hardenMud, mossyhardenMud, muddyGrass,
7878
frozenGrass, frozenDirt, frozenMud, crackedIce, redSandSnow, snowySand, frozenTar, frozenSlop,
7979
cinderBloomGrass, cinderBloomy, cinderBloomier, cinderBloomiest, mossyStone, mossStone, mossierStone, mossiestStone,
80-
grassyVent, mossyVent, stoneVent, basaltVent, hardenMuddyVent, redSandVent, snowVent, mycelium, yourcelium, ourcelium, theircelium,
80+
grassyVent, mossyVent, stoneVent, basaltVent, hardenMuddyVent, dirtVent,
81+
redSandVent, snowVent, mycelium, yourcelium, ourcelium, theircelium,
8182

8283
/*Liquid floors*/
8384
redSandWater, lumaGrassWater, brimstoneSlag, algaeWater, algaeWaterDeep, pinkGrassWater, yellowMossyWater, coralReef, slop, slopDeep,
@@ -361,6 +362,13 @@ public static void LoadWorldTiles(){
361362
attributes.set(Attribute.steam, 1f);
362363
}};
363364

365+
dirtVent = new SteamVent("dirt-vent"){{
366+
variants = 3;
367+
effectColor = Color.white;
368+
parent = blendGroup = dirt;
369+
attributes.set(Attribute.steam, 1f);
370+
}};
371+
364372
//endregion
365373
//region Liquid floor
366374

src/olupis/content/NyfalisFxs.java

+12
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,18 @@ public class NyfalisFxs extends Fx {
5252
));
5353
}).layer(Layer.bullet),
5454

55+
hitTracter = new Effect(17, e -> {
56+
color(Color.white);
57+
stroke(e.fout() * 1.5f);
58+
59+
z(Layer.groundUnit -0.1f);
60+
61+
randLenVectors(e.id, 6, e.foutpow() * 17f, (x, y) -> {
62+
float ang = Mathf.angle(x, y);
63+
lineAngle(e.x + x, e.y + y, ang, e.fout() * 4 + 1f);
64+
});
65+
}),
66+
5567
scatterDebris = new Effect(15f, e -> {
5668
color(Pal.lightOrange, Color.lightGray, Pal.lightishGray, e.fin());
5769
randLenVectors(e.id, 1, e.finpow() * 10f, (x, y) -> Fill.rect(

src/olupis/content/NyfalisTurrets.java

+50-17
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ emulsiveSlop, new LiquidBulletType(emulsiveSlop){{
155155
}}
156156
);
157157
}};
158-
limitRange(0f);
158+
limitRange(0.5f);
159159
loopSound = Sounds.steam;
160160
consumePower(1f);
161161
lightColor = turretLightColor;
@@ -259,6 +259,8 @@ graphite, new EffectivenessMissleType(6f, 110f){{
259259
shrinkX = 0;
260260
height = 11f;
261261
lifetime = 60;
262+
trailChance = 0;
263+
trailLength = 3;
262264
inaccuracy = 20; // more refined firing
263265
knockback = 0.4f;
264266
homingPower = 0.04f;
@@ -509,30 +511,38 @@ quartz, new RollBulletType(4.1f, 46){{
509511
silicon, new RollBulletType(4.5f, 100){{
510512
status = StatusEffects.slow;
511513
collidesAir = ricochetHoming = false;
514+
artilleryTrail = true;
512515
width = 40f;
513516
height = 11f;
514517
lifetime = 50f;
515518
knockback = 4.5f;
516519
ammoMultiplier = 2;
517520
homingPower = 0.3f;
521+
artilleryTrailSize = 2;
518522
homingRange = 50f;
523+
reloadMultiplier = 1.15f;
519524
statusDuration = 60f * 2f;
520525
buildingDamageMultiplier = 0.35f;
521-
reloadMultiplier = 1.15f;
522526
shootEffect = smokeEffect = Fx.none;
527+
trailEffect = Fx.artilleryTrail;
523528
backColor = new Color().set(silicon.color).lerp(Pal.bulletYellowBack, 0.1f);
524529
frontColor = new Color().set(silicon.color).lerp(Pal.bulletYellow, 0.3f);
525530
}},
526-
graphite, new RollBulletType(5f, 70){{
531+
graphite, new BarrelBulletType(5f, 70, "bullet"){{
532+
artilleryTrail = false;
527533
status = StatusEffects.slow;
528-
width = 40f;
529-
height = 11f;
534+
width = 35f;
535+
height = 16f;
530536
lifetime = 50f;
537+
trailLength = 3;
538+
trailWidth = 5f;
539+
trailChance = 0;
531540
knockback = 5f;
532541
statusDuration = 60f * 2f;
533542
buildingDamageMultiplier = 0.35f;
534543
reloadMultiplier = 0.85f;
535544
shootEffect = smokeEffect = Fx.none;
545+
trailColor = graphite.color;
536546
backColor = new Color().set(graphite.color).lerp(Pal.bulletYellowBack, 0.1f);
537547
frontColor = new Color().set(graphite.color).lerp(Pal.bulletYellow, 0.3f);
538548
}}
@@ -569,7 +579,7 @@ public void setStats() {
569579
lightColor = turretLightColor;
570580
shootSound = NyfalisSounds.barrelLaunch;
571581
researchCost = with(iron, 1);
572-
requirements(Category.turret, with(iron, 1));
582+
requirements(Category.turret, with(iron, 100, copper, 100, quartz, 50, aluminum, 50));
573583

574584
drawer = new DrawTurret("iron-"){{
575585
parts.addAll(
@@ -632,7 +642,6 @@ public void setStats() {
632642
);
633643
}};
634644

635-
636645
ammo(
637646
heavyOil, new BarrelBulletType(4f, 300){{
638647
bounceOnEnemyWalls = collidesTiles = true;
@@ -760,11 +769,13 @@ public void removeSelf(Tile tile){
760769
shootX = 0f;
761770
reload = 120;
762771
range = 50f * 8f;
763-
minWarmup = 0.8f;
764772
lightRadius = 450;
773+
inaccuracy = 5;
774+
minWarmup = 0.8f;
765775
fogRadiusMultiplier = 0.75f;
766776
shootWarmupSpeed = 0.05f;
767777

778+
final float airGroundPend = 1.5f, airBuildPend = 0.5f;
768779
ammo(
769780
copper, new EffectivenessMissleType(6f, 10f) {{
770781
width = 6f;
@@ -779,7 +790,7 @@ copper, new EffectivenessMissleType(6f, 10f) {{
779790
homingRange = 150f;
780791
homingDelay = 20;
781792
splashDamageRadius = 25f * 0.75f;
782-
backColor = trailColor = copper.color;
793+
frontColor = trailColor = copper.color;
783794
collidesAir = collidesGround = true;
784795
shootEffect = Fx.shootBigColor;
785796
hitEffect = NyfalisFxs.hollowPointHit;
@@ -798,13 +809,13 @@ lead, new EffectivenessMissleType(3f, 15f) {{
798809
homingRange = 150f;
799810
homingDelay = 20;
800811
splashDamageRadius = 25f * 0.75f;
801-
backColor = trailColor = lead.color;
812+
frontColor = trailColor = lead.color;
802813
collidesAir = collidesGround = true;
803814
shootEffect = Fx.shootBigColor;
804815
hitEffect = NyfalisFxs.hollowPointHit;
805816
status = NyfalisStatusEffects.drained;
806817
groundDamageMultiplier = 0.8f;
807-
buildingDamageMultiplier = 0.5f;
818+
buildingDamageMultiplier = airBuildPend;
808819
}},
809820

810821
rustyIron, new EffectivenessMissleType(3f, 8f) {{
@@ -820,13 +831,13 @@ rustyIron, new EffectivenessMissleType(3f, 8f) {{
820831
homingRange = 150f;
821832
homingDelay = 20;
822833
splashDamageRadius = 25f * 0.75f;
823-
backColor = trailColor = rustyIron.color;
834+
frontColor = trailColor = rustyIron.color;
824835
collidesAir = collidesGround = true;
825836
shootEffect = Fx.shootBigColor;
826837
hitEffect = NyfalisFxs.hollowPointHit;
827838
status = StatusEffects.corroded;
828-
groundDamageMultiplier = 1.5f;
829-
buildingDamageMultiplier = 0.5f;
839+
groundDamageMultiplier = airGroundPend;
840+
buildingDamageMultiplier = airBuildPend;
830841
}},
831842
cobalt, new EffectivenessMissleType(8f, 15f) {{
832843
width = 6f;
@@ -840,13 +851,34 @@ cobalt, new EffectivenessMissleType(8f, 15f) {{
840851
homingRange = 150f;
841852
homingDelay = 20;
842853
splashDamageRadius = 25f * 0.75f;
843-
backColor = trailColor = cobalt.color;
854+
frontColor = trailColor = cobalt.color;
844855
collidesAir = collidesGround = true;
845856
shootEffect = Fx.shootBigColor;
846857
hitEffect = NyfalisFxs.hollowPointHit;
847858
status = NyfalisStatusEffects.corupt;
848-
groundDamageMultiplier = 1.5f;
849-
buildingDamageMultiplier = 0.5f;
859+
groundDamageMultiplier = airGroundPend;
860+
buildingDamageMultiplier = airBuildPend;
861+
}},
862+
graphite, new EffectivenessMissleType(9f, 27f) {{
863+
width = 6f;
864+
shrinkX = 0;
865+
lifetime = 140f;
866+
height = 11.5f;
867+
trailChance = 0;
868+
trailLength = 2;
869+
knockback = 1.5f;
870+
splashDamage = 5f;
871+
statusDuration = 120f;
872+
homingPower = 0.6f;
873+
homingRange = 100f;
874+
homingDelay = 10;
875+
splashDamageRadius = 20f * 0.75f;
876+
frontColor = trailColor = graphite.color;
877+
collidesAir = collidesGround = true;
878+
shootEffect = Fx.shootBigColor;
879+
hitEffect = NyfalisFxs.hollowPointHit;
880+
groundDamageMultiplier = airGroundPend;
881+
buildingDamageMultiplier = airBuildPend;
850882
}}
851883
);
852884
drawer = new DrawTurret("iron-"){{
@@ -1453,6 +1485,7 @@ public void setStats() {
14531485
}
14541486
};
14551487

1488+
//TODO: Fire the mines weapon on place if cant be built like in no build rad
14561489
strata = new ItemTurret("strata"){{
14571490

14581491
ammo(

0 commit comments

Comments
 (0)