Skip to content

Commit

Permalink
Merge pull request #49 from RimNauts/main
Browse files Browse the repository at this point in the history
Patch update
  • Loading branch information
sindre0830 committed Mar 18, 2023
2 parents 7b4e9a7 + b17a4fe commit 73d593a
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 11 deletions.
Binary file modified Assemblies/RimNauts2.dll
Binary file not shown.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# Changelog
- Change GenStep seeds to be unique for mod compatibility
2 changes: 1 addition & 1 deletion Source/RimNauts2/RimNauts2/Constants.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace RimNauts2 {
public static class Info {
public static readonly string name = "RimNauts 2";
public static readonly string version = "4.11.0";
public static readonly string version = "4.11.1";
}

public static class Style {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace RimNauts2.AsteroidOre {
class ElevationFertility : GenStep {
public override int SeedPart => 262606459;
public override int SeedPart => 385767532;

public override void Generate(Map map, GenStepParams parms) {
// Map generation is based mostly on these two grids. We're making custom grids.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class RocksFromGrid : GenStep {
public float inner_elevation = 0.75f;
public float roof_elevation = 0.55f;

public override int SeedPart => 262606459;
public override int SeedPart => 324563499;

public override void Generate(Map map, GenStepParams parms) {
float outer_chance = Rand.Range(ore_chance_outer.x, ore_chance_outer.y);
Expand Down
2 changes: 1 addition & 1 deletion Source/RimNauts2/RimNauts2/Map/Environment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Environment : GenStep {
public bool apply_SOS2_weather = true;
public string weather_def = null;

public override int SeedPart => 262606459;
public override int SeedPart => 57678457;

public override void Generate(Map map, GenStepParams parms) {
if (apply_SOS2_weather) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace RimNauts2.MoonBarren {
class ElevationFertility : GenStep {
public override int SeedPart => 262606459;
public override int SeedPart => 480724029;

public override void Generate(Map map, GenStepParams parms) {
// Map generation is based mostly on these two grids. We're making custom grids.
Expand Down
2 changes: 1 addition & 1 deletion Source/RimNauts2/RimNauts2/Map/MoonBarren/RocksFromGrid.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace RimNauts2.MoonBarren {
class RocksFromGrid : GenStep {
public override int SeedPart => 262606459;
public override int SeedPart => 709489798;

public override void Generate(Map map, GenStepParams parms) {
map.regionAndRoomUpdater.Enabled = false;
Expand Down
2 changes: 1 addition & 1 deletion Source/RimNauts2/RimNauts2/Map/MoonBarren/Terrain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace RimNauts2.MoonBarren {
class Terrain : GenStep {
public override int SeedPart => 262606459;
public override int SeedPart => 98767504;

public override void Generate(Map map, GenStepParams parms) {
List<IntVec3> list = new List<IntVec3>();
Expand Down
2 changes: 1 addition & 1 deletion Source/RimNauts2/RimNauts2/Map/MoonStripped/Stripes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace RimNauts2.MoonStripped {
class Stripes : GenStep {
public override int SeedPart => 262606459;
public override int SeedPart => 986567587;

public override void Generate(Map map, GenStepParams parms) {
for (int ind = 1; ind <= Rand.RangeInclusive(4, 10); ind++) {
Expand Down
2 changes: 1 addition & 1 deletion Source/RimNauts2/RimNauts2/Map/MoonWater/Terrain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace RimNauts2.MoonWater {
class Terrain : GenStep {
public override int SeedPart => 262606459;
public override int SeedPart => 87647798;

public override void Generate(Map map, GenStepParams parms) {
foreach (IntVec3 current in map.AllCells) {
Expand Down
2 changes: 1 addition & 1 deletion Source/RimNauts2/RimNauts2/Map/SpaceStation/Structure.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace RimNauts2.SpaceStation {
class Structure : GenStep {
public override int SeedPart => 262606459;
public override int SeedPart => 7856467;

public override void Generate(Map map, GenStepParams parms) {
ThingDef wall_thing = DefDatabase<ThingDef>.GetNamed(Defs.Of.general.space_station_wall);
Expand Down
2 changes: 1 addition & 1 deletion Source/RimNauts2/RimNauts2/Map/Vacuum.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace RimNauts2 {
class Vacuum : GenStep {
public override int SeedPart => 262606459;
public override int SeedPart => 45768545;

public override void Generate(Map map, GenStepParams parms) {
foreach (IntVec3 current in map.AllCells) {
Expand Down

0 comments on commit 73d593a

Please sign in to comment.