mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
kill ignoresun entirely fuck it
This commit is contained in:
parent
fd43d86f1e
commit
83d86ff485
@ -3,6 +3,7 @@ using NewHorizons.Components;
|
|||||||
using NewHorizons.External.Modules;
|
using NewHorizons.External.Modules;
|
||||||
using NewHorizons.Handlers;
|
using NewHorizons.Handlers;
|
||||||
using NewHorizons.Utility;
|
using NewHorizons.Utility;
|
||||||
|
using NewHorizons.Utility.OWUtilities;
|
||||||
using OWML.Common;
|
using OWML.Common;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@ -103,6 +104,9 @@ namespace NewHorizons.Builder.Props
|
|||||||
var isTorch = prop.GetComponent<VisionTorchItem>() != null;
|
var isTorch = prop.GetComponent<VisionTorchItem>() != null;
|
||||||
isItem = false;
|
isItem = false;
|
||||||
|
|
||||||
|
// IgnoreSun is just a shadow casting optimization for BH so we can get rid of it
|
||||||
|
if (go.layer == Layer.IgnoreSun) go.layer = Layer.Default;
|
||||||
|
|
||||||
foreach (var component in prop.GetComponentsInChildren<Component>(true))
|
foreach (var component in prop.GetComponentsInChildren<Component>(true))
|
||||||
{
|
{
|
||||||
// Components can come through as null here (yes, really),
|
// Components can come through as null here (yes, really),
|
||||||
|
|||||||
@ -355,7 +355,7 @@ namespace NewHorizons.Builder.Props.TranslatorText
|
|||||||
alignRadial = info.alignRadial,
|
alignRadial = info.alignRadial,
|
||||||
isRelativeToParent = info.isRelativeToParent,
|
isRelativeToParent = info.isRelativeToParent,
|
||||||
parentPath = info.parentPath,
|
parentPath = info.parentPath,
|
||||||
path = "TimberHearth_Body/Sector_TH/Sector_NomaiMines/Interactables_NomaiMines/Props_NOM_Whiteboard/Props_NOM_Whiteboard (1)",
|
path = "BrittleHollow_Body/Sector_BH/Sector_NorthHemisphere/Sector_NorthPole/Sector_HangingCity/Sector_HangingCity_District2/Interactables_HangingCity_District2/VisibleFrom_HangingCity/Props_NOM_Whiteboard (1)",
|
||||||
position = info.position,
|
position = info.position,
|
||||||
rename = info.rename ?? "Props_NOM_Whiteboard",
|
rename = info.rename ?? "Props_NOM_Whiteboard",
|
||||||
rotation = info.rotation,
|
rotation = info.rotation,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user