Skip to content

Commit

Permalink
spicy1
Browse files Browse the repository at this point in the history
  • Loading branch information
serenibyss committed Jun 7, 2022
1 parent 6067871 commit 56eb3d0
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Changelog

### 1.17.1
* Take fluids out of generators - DStrand1
* Part sharing - DStrand1

### 1.17.1
* Added warning to controller if Turbine is obstructed (#1710) - ALongStringOfNumbers
* Updated fetching of dimensions in worldgen to catch late registrations (#1709) - ALongStringOfNumbers
Expand Down
8 changes: 8 additions & 0 deletions SPICY_ADDITIONS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
## Additions in the Spicy Version

- Hatch Sharing
- Multiblocks can now share multiblock parts
- Rotor Holder and Coke Oven Hatch are blocked, as are any multiblock parts from addons
- Textures will NOT change when the multiblock is deformed as a result
- Fluids can now be taken out of Single-Block Generators
- Single-Block Generators now accept Fluids from items every tick (instead of every 5 ticks)
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ fun getVersionFromJava(file: File): String {
var major = "0"
var minor = "0"
var revision = "0"
var spicyver = "0"

val prefix = "public static final int"
file.forEachLine { line ->
Expand All @@ -397,6 +398,7 @@ fun getVersionFromJava(file: File): String {
pts[0] == "MAJOR" -> major = pts[pts.size - 1]
pts[0] == "MINOR" -> minor = pts[pts.size - 1]
pts[0] == "REVISION" -> revision = pts[pts.size - 1]
pts[0] == "SPICY_VER" -> spicyver = pts[pts.size - 1]
}
}
}
Expand All @@ -408,7 +410,7 @@ fun getVersionFromJava(file: File): String {

val build = getBuildNumber()

return "$major.$minor.$revision.$build"
return "$major.$minor.$revision.$build-spicy$spicyver"
}

fun CurseExtension.project(config: CurseProject.() -> Unit) = CurseProject().also {
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/gregtech/GregTechVersion.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ public final class GregTechVersion {
//This number is incremented every build, and never reset. Should always be 0 in the repo code.
public static final int BUILD = 0;

public static final int SPICY_VER = 1;

public static final Version VERSION = new Version(MAJOR, MINOR, REVISION, BUILD);

private GregTechVersion() {
Expand Down

0 comments on commit 56eb3d0

Please sign in to comment.