Skip to content

Commit

Permalink
20231016
Browse files Browse the repository at this point in the history
  • Loading branch information
PiggyChu620 committed Oct 16, 2023
1 parent b448976 commit 4b297b0
Show file tree
Hide file tree
Showing 13 changed files with 315 additions and 169 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Mindustry Java Mod - Random Planet v0.4
# Mindustry Java Mod - Random Planet v0.4.1
A Java Mindustry mod.

Randomly generate a planet and its sectors, including the starting sector.
Expand Down Expand Up @@ -102,6 +102,11 @@ I combined both technologies from Serpulo and Erekir as best as I could, includi
*v0.4*
- Fix: Liquids are replaced by air

*v0.4.1*
- Change the chance for Titanium to 100%
- Rework ore placement algorithm so the map won't literally cover by ores, this unfortunately, slow down the section generation time.
- Add an Expand Room option in the Settings, please read the setting description.

---

**1.** [Schematic Instruction](SchematicInstruction.md)
Expand All @@ -110,4 +115,4 @@ I combined both technologies from Serpulo and Erekir as best as I could, includi

**3.** Caution: There is a reason why Anuke hide these blocks/items, most likely it's still WIP and not fully tested and might not be balanced, use it at your own risk

**4.** The formula for calculating the chance of appearance for each ore is **Max(0.01,(2-*Build Cost*)/2)** (except Copper and Lead, which is always 100%). For example, the *Build Cost* of Thorium is 110%, so the chance for Thorium to appear in a new sector is (2-1.1)/2 = 0.45 (45%), please visit the *Items* section on [Mindustry Wiki](https://mindustrygame.github.io/wiki/) for reference
**4.** The formula for calculating the chance of appearance for each ore is **Max(0.01,(2-*Build Cost*)/2)** (except Copper, Lead and Titanium, which is always 100%). For example, the *Build Cost* of Thorium is 110%, so the chance for Thorium to appear in a new sector is (2-1.1)/2 = 0.45 (45%), please visit the *Items* section on [Mindustry Wiki](https://mindustrygame.github.io/wiki/) for reference
8 changes: 5 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ sourceSets.main.java.srcDirs = ["src"]

repositories{
mavenCentral()
maven{ url "https://raw.githubusercontent.com/Zelaux/MindustryRepo/master/repository" }
maven{ url 'https://www.jitpack.io' }
}

ext{
//the build number that this mod is made for
mindustryVersion = 'v145'
mindustryVersion = 'v146'
jabelVersion = "93fde537c7"
sdkRoot = System.getenv("ANDROID_HOME") ?: System.getenv("ANDROID_SDK_ROOT")
}
Expand All @@ -33,14 +34,15 @@ allprojects{


dependencies{
compileOnly "com.github.Anuken.Mindustry:core:$mindustryVersion"
compileOnly "com.github.Anuken.Arc:arc-core:$mindustryVersion"
compileOnly "com.github.Anuken.MindustryJitpack:core:$mindustryVersion"

annotationProcessor "com.github.Anuken:jabel:$jabelVersion"

//implementation "com.github.anuken:mindustryjitpack:$mindustryVersion"
implementation "com.github.liplum:MultiCrafterLib:v1.7"
//implementation "com.github.piggychu620:MindustryRealisticProductions:v1.0"
implementation 'com.google.code.gson:gson:2.8.9'
implementation 'com.google.code.gson:gson:2.10.1'

}

Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
3 changes: 2 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit 4b297b0

Please sign in to comment.