mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Merge branch 'planetary-features' into bwc9876/custom-ship-log
This commit is contained in:
commit
e80ecf2b30
@ -6,33 +6,7 @@
|
||||
<EntryCondition>DEFAULT</EntryCondition>
|
||||
<Dialogue>
|
||||
<Page>Your ship is now equiped with a warp drive! </Page>
|
||||
</Dialogue>
|
||||
|
||||
<DialogueOptionsList>
|
||||
<DialogueOption>
|
||||
<Text>...</Text>
|
||||
<DialogueTarget>1</DialogueTarget>
|
||||
</DialogueOption>
|
||||
</DialogueOptionsList>
|
||||
</DialogueNode>
|
||||
|
||||
<DialogueNode>
|
||||
<Name>1</Name>
|
||||
<Dialogue>
|
||||
<Page>You can use the new "Interstellar Mode" page in the ship log to lock-on your autopilot to another star system.</Page>
|
||||
</Dialogue>
|
||||
|
||||
<DialogueOptionsList>
|
||||
<DialogueOption>
|
||||
<Text>...</Text>
|
||||
<DialogueTarget>2</DialogueTarget>
|
||||
</DialogueOption>
|
||||
</DialogueOptionsList>
|
||||
</DialogueNode>
|
||||
|
||||
<DialogueNode>
|
||||
<Name>2</Name>
|
||||
<Dialogue>
|
||||
<Page>Then just buckle up and engage the autopilot to warp there!</Page>
|
||||
</Dialogue>
|
||||
<SetPersistentCondition>KnowsAboutWarpDrive</SetPersistentCondition>
|
||||
|
||||
@ -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<MeshRenderer>().material.color = adjustedColour;
|
||||
}
|
||||
|
||||
if (module.Curve != null)
|
||||
{
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user