mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
git push
Merge branch 'dev' of github.com:xen-42/outer-wilds-new-horizons into dev
This commit is contained in:
commit
84cd0c3930
2
.github/workflows/update_release.yml
vendored
2
.github/workflows/update_release.yml
vendored
@ -11,7 +11,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
Update_Release:
|
Update_Release:
|
||||||
name: Create/Update Release
|
name: Create/Update Release
|
||||||
if: ${{ github.event.pull_request.draft == 'false' && contains(github.event.pull_request.labels.*.name, 'update-pr') }}
|
if: contains(github.event.pull_request.labels.*.name, 'update-pr')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Create/Update Release
|
- name: Create/Update Release
|
||||||
|
|||||||
@ -27,6 +27,8 @@ namespace NewHorizons.Builder.Atmosphere
|
|||||||
ShockLayerRuleset shockLayerRuleset = planetGO.GetComponentInChildren<PlanetoidRuleset>().gameObject.AddComponent<ShockLayerRuleset>();
|
ShockLayerRuleset shockLayerRuleset = planetGO.GetComponentInChildren<PlanetoidRuleset>().gameObject.AddComponent<ShockLayerRuleset>();
|
||||||
shockLayerRuleset._type = ShockLayerRuleset.ShockType.Atmospheric;
|
shockLayerRuleset._type = ShockLayerRuleset.ShockType.Atmospheric;
|
||||||
shockLayerRuleset._radialCenter = airGO.transform;
|
shockLayerRuleset._radialCenter = airGO.transform;
|
||||||
|
shockLayerRuleset._minShockSpeed = config.Atmosphere.minShockSpeed;
|
||||||
|
shockLayerRuleset._maxShockSpeed = config.Atmosphere.maxShockSpeed;
|
||||||
|
|
||||||
if (config.Atmosphere.clouds != null)
|
if (config.Atmosphere.clouds != null)
|
||||||
{
|
{
|
||||||
|
|||||||
10
NewHorizons/External/Modules/AtmosphereModule.cs
vendored
10
NewHorizons/External/Modules/AtmosphereModule.cs
vendored
@ -86,6 +86,16 @@ namespace NewHorizons.External.Modules
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public bool useAtmosphereShader;
|
public bool useAtmosphereShader;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Minimum speed that your ship can go in the atmosphere where flames will appear.
|
||||||
|
/// </summary>
|
||||||
|
[DefaultValue(100f)] public float minShockSpeed = 100f;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Maximum speed that your ship can go in the atmosphere where flames will appear at their brightest.
|
||||||
|
/// </summary>
|
||||||
|
[DefaultValue(300f)] public float maxShockSpeed = 300f;
|
||||||
|
|
||||||
[JsonObject]
|
[JsonObject]
|
||||||
public class CloudInfo
|
public class CloudInfo
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user