Skip to content

Commit 726a786

Browse files
authored
Merge pull request #28 from JiroCab/experimental
1.7.3
2 parents a3fb6ef + ad48ad4 commit 726a786

File tree

170 files changed

+4472
-1506
lines changed

Some content is hidden

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

170 files changed

+4472
-1506
lines changed

.github/workflows/autoMainRelease.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040

4141
- name: Release rename
4242
run:
43-
mv build/libs/Nyfalis-but-a-jar.jar build/libs/${{ github.event.repository.name }}-${{ steps.version.outputs.prop }}.jar
43+
mv build/libs/Olupis-but-a-jar.jar build/libs/${{ github.event.repository.name }}-${{ steps.version.outputs.prop }}.jar
4444

4545
- name: Upload built jar file
4646
uses: actions/upload-artifact@v4

.github/workflows/deploy.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ jobs:
1212
- name: Set up PATH
1313
run: echo "${ANDROID_HOME}/build-tools/34.0.0" >> $GITHUB_PATH
1414

15-
- name: Set up JDK 17
16-
uses: actions/setup-java@v1
15+
- name: Set up JDK 18
16+
uses: actions/setup-java@v4
1717
with:
18-
java-version: 17
18+
java-version: 18
19+
distribution: temurin
1920

2021
- name: Grant execute permission for gradlew
2122
run: chmod +x gradlew

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -154,3 +154,4 @@ gradle-app.setting
154154
.DS_Store
155155
Thumbs.db
156156
android/libs/
157+
.fuse_hidden*
3 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.

assets/baseparts/core-1.msch

269 Bytes
Binary file not shown.

assets/bundles/bundle.properties

+87-49
Large diffs are not rendered by default.

assets/sounds/barrel-launch.ogg

10.4 KB
Binary file not shown.

assets/sounds/cnc-zh-avenger-pdl.ogg

9.16 KB
Binary file not shown.
2.9 KB
-479 Bytes
Binary file not shown.
-72 Bytes
2.82 KB
307 Bytes
2.79 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-72 Bytes
233 Bytes
233 Bytes
535 Bytes
519 Bytes
358 Bytes
499 Bytes
494 Bytes
898 Bytes
4.39 KB
102 Bytes
57 Bytes
3.42 KB
3.03 KB

assets/sprites/units/air/district.png

3.85 KB

assets/sprites/units/air/falcon.png

8.33 KB
2.9 KB

assets/sprites/units/air/nyctalus.png

3 KB

assets/sprites/units/core/diptera.png

3.44 KB
459 Bytes
379 Bytes

assets/sprites/units/core/shade.png

704 Bytes
329 Bytes
253 Bytes
1.94 KB
462 Bytes
349 Bytes
4.02 KB
2.92 KB
3.05 KB

changelog.txt

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

5-
= Version 1-7-1 () =
5+
= Version 1-7-3 () =
6+
+ Sprites updated: repairPin, oreAlco, oreCobalt
7+
+ Blocks added: deliveryTerminal, rustedMetal, slopDeep, fortifiedRadiator, inductionSmelter, coreRelic, coreVestige, 5x5Turret base, alternateArticulator, emulsiveSlop
8+
+ Units added: dipteara, shade, reapre, lexington, crusader, luridiblatta, nyctalus
9+
+ Added: Modes to core to allowing subsystems like extra unit production and weapons on higher tiers
10+
+ Added: Option to hide bat helpers in the core database for regular players
11+
~ Balance: Aero tree, minor hp nerf, t1 gets a minor visual change, striker dps buff
12+
~ Balance: Bats tree, major weapon & stats reworks to better fit its gimmicks
13+
~ Balance: Air units of enemy waves now get assigned random Ais with different
14+
~ Balance: Roach tree, minor armor buff
15+
~ Balance: Carrier Tree, added bars to show build progress & unit count, changed pdl sound
16+
~ BugFix: lubricant using oil's bar colour
17+
~ BugFix: Fixed weird replicator placement behaviour
18+
~ BugFix: Repair pins' effects not being displayed properly
19+
~ BugFIx?: Improved displayed build time for units (may still be off, rushie no math)
20+
~ All units now show their build cost respective to their constructs
21+
~ Renamed t2 & above cores, porcupine, adaptiveFabricator
22+
~ alternateArticulator now requires power to make t2s
23+
~ Bug Fix: unable to unlock other planets despite reaching requirements
24+
~ Improved Moss spreading code (Wmf)
25+
- removed version 1-7-2
26+
27+
28+
= Version 1-7-1 (2f4a776) = https://github.com/JiroCab/Nyfalis/tree/2f4a776761d1fb33f289f0d0fcfa6f48f643e9d5
629
- Fixed replicators being unusable in regular sandbox
730
- Fixed Save info dialog on new installs
831
- Added a button to import the music mod within settings

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.1"
17+
subtitle: "Yet another planet mod, v1.7.3"
1818

1919
#the mod version
20-
version: 1.7.1
20+
version: 1.7.3
2121

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

src/olupis/NyfalisMain.java

+4-27
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import olupis.input.NyfalisShaders;
2525
import olupis.input.ui.*;
2626
import olupis.world.EnvUpdater;
27-
import olupis.world.blocks.misc.Replicator;
27+
import olupis.world.blocks.unit.Replicator;
2828
import olupis.world.entities.packets.NyfalisSyncOtherSettingsPacket;
2929
import olupis.world.planets.NyfalisTechTree;
3030

@@ -33,13 +33,11 @@
3333
import static olupis.content.NyfalisPlanets.*;
3434

3535
public class NyfalisMain extends Mod{
36-
3736
public static NyfalisSounds soundHandler = new NyfalisSounds();
3837
public static LimitedLauncherSelect sectorSelect;
3938
public static NyfalisLogicDialog logicDialog;
4039
public NyfalisSettingsDialog nyfalisSettings;
4140
public static boolean shownWarning = false;
42-
public static TextureRegionDrawable gayerPanel = (TextureRegionDrawable) Tex.whiteui;
4341

4442
@Override
4543
public void loadContent(){
@@ -88,7 +86,7 @@ public NyfalisMain(){
8886
Time.run(0.5f * Time.toSeconds, NyfalisMain::sandBoxCheck);
8987

9088
//Clean up of the old system of banning stuff
91-
unlockPlanets();
89+
NyfalisPlanets.unlockPlanets();
9290

9391
if(state.isCampaign() && NyfalisPlanets.isNyfalianPlanet(state.getPlanet())){
9492
if(state.rules.blockWhitelist) state.rules.blockWhitelist = false;
@@ -242,8 +240,8 @@ public void init() {
242240
nyfalisSettings = new NyfalisSettingsDialog();
243241
if(!headless){
244242

245-
gayerPanel = (TextureRegionDrawable) Tex.whiteui;
246-
gayerPanel = (TextureRegionDrawable) gayerPanel.tint(Pal.darkerGray);
243+
NyfalisColors.infoPanel = (TextureRegionDrawable) Tex.whiteui;
244+
NyfalisColors.infoPanel = (TextureRegionDrawable) NyfalisColors.infoPanel.tint(Pal.darkerGray);
247245

248246
logicDialog = new NyfalisLogicDialog();
249247
sectorSelect = new LimitedLauncherSelect();
@@ -253,26 +251,5 @@ public void init() {
253251

254252
}
255253

256-
public void unlockPlanets(){
257-
if(nyfalis.unlocked() && spelta.unlocked()) return;
258-
if(nyfalis.unlocked()){
259-
for (Sector s : nyfalis.sectors) {
260-
if (s.unlocked() || (s.preset != null && s.preset.unlocked())) {
261-
nyfalis.quietUnlock();
262-
nyfalis.alwaysUnlocked = true;
263-
break;
264-
}
265-
}
266-
}
267-
if(spelta.unlocked()){
268-
for (Sector s : spelta.sectors) {
269-
if (s.unlocked() || (s.preset != null && s.preset.unlocked())) {
270-
nyfalis.quietUnlock();
271-
nyfalis.alwaysUnlocked = true;
272-
break;
273-
}
274-
}
275-
}
276-
}
277254

278255
}

0 commit comments

Comments
 (0)