diff --git a/NewHorizons/AssetBundle/WarpDriveDialogue.xml b/NewHorizons/AssetBundle/WarpDriveDialogue.xml index 37c2c43a..1f9ea63f 100644 --- a/NewHorizons/AssetBundle/WarpDriveDialogue.xml +++ b/NewHorizons/AssetBundle/WarpDriveDialogue.xml @@ -6,33 +6,7 @@ DEFAULT Your ship is now equiped with a warp drive! - - - - - ... - 1 - - - - - - 1 - You can use the new "Interstellar Mode" page in the ship log to lock-on your autopilot to another star system. - - - - - ... - 2 - - - - - - 2 - Then just buckle up and engage the autopilot to warp there! KnowsAboutWarpDrive diff --git a/NewHorizons/Builder/Body/WaterBuilder.cs b/NewHorizons/Builder/Body/WaterBuilder.cs index c6cc0711..f7cccd41 100644 --- a/NewHorizons/Builder/Body/WaterBuilder.cs +++ b/NewHorizons/Builder/Body/WaterBuilder.cs @@ -39,7 +39,8 @@ namespace NewHorizons.Builder.Body tempArray[i] = new Material(GDSharedMaterials[i]); if (module.Tint != null) { - tempArray[i].color = module.Tint.ToColor32(); + tempArray[i].color = module.Tint.ToColor(); + tempArray[i].SetColor("_FogColor", module.Tint.ToColor()); } } @@ -80,6 +81,13 @@ namespace NewHorizons.Builder.Body fogGO.name = "OceanFog"; fogGO.transform.localPosition = Vector3.zero; fogGO.transform.localScale = Vector3.one; + if(module.Tint != null) + { + var adjustedColour = module.Tint.ToColor() / 4f; + adjustedColour.a = 1f; + + fogGO.GetComponent().material.color = adjustedColour; + } if (module.Curve != null) { diff --git a/NewHorizons/schema.json b/NewHorizons/schema.json index 32e42d7b..4f43a4a8 100644 --- a/NewHorizons/schema.json +++ b/NewHorizons/schema.json @@ -680,9 +680,6 @@ "items": { "type": "object", "properties": { - "count": { - "type": "integer" - }, "path": { "type": "string", "description": "Either the path in the scene hierarchy of the item to copy or the path to the object in the supplied asset bundle"