mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Remove vestigial name property from traveler info
This commit is contained in:
parent
042fc95a22
commit
b5538f7627
@ -37,11 +37,6 @@ namespace NewHorizons.Builder.Props
|
||||
|
||||
var go = DetailBuilder.Make(planetGO, sector, nhBody.Mod, info);
|
||||
|
||||
if (string.IsNullOrEmpty(info.name))
|
||||
{
|
||||
info.name = go.name;
|
||||
}
|
||||
|
||||
var travelerController = go.GetAddComponent<TravelerEyeController>();
|
||||
if (!string.IsNullOrEmpty(info.startPlayingCondition))
|
||||
{
|
||||
@ -90,7 +85,7 @@ namespace NewHorizons.Builder.Props
|
||||
{
|
||||
if (string.IsNullOrEmpty(info.signal.name))
|
||||
{
|
||||
info.signal.name = info.name;
|
||||
info.signal.name = go.name;
|
||||
}
|
||||
if (string.IsNullOrEmpty(info.signal.frequency))
|
||||
{
|
||||
@ -181,7 +176,7 @@ namespace NewHorizons.Builder.Props
|
||||
{
|
||||
if (string.IsNullOrEmpty(info.signal.name))
|
||||
{
|
||||
info.signal.name = travelerData.info.name;
|
||||
info.signal.name = travelerData.info.signal.name;
|
||||
}
|
||||
if (string.IsNullOrEmpty(info.signal.audio))
|
||||
{
|
||||
|
||||
@ -12,11 +12,6 @@ namespace NewHorizons.External.Modules.Props.EyeOfTheUniverse
|
||||
/// </summary>
|
||||
public string id;
|
||||
|
||||
/// <summary>
|
||||
/// The name to display for this traveler's signals. Defaults to the name of the detail.
|
||||
/// </summary>
|
||||
public string name;
|
||||
|
||||
/// <summary>
|
||||
/// If set, the player must know this ship log fact for this traveler (and their instrument zones and quantum instruments) to appear. The fact does not need to exist in the current star system; the player's save data will be checked directly.
|
||||
/// </summary>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user