mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Expose prereqConditions and onTriggerEnterConditions
This commit is contained in:
parent
a974f354fd
commit
a4bb3896c8
@ -80,8 +80,8 @@ namespace NewHorizons.Builder.Props
|
||||
priority = 1,
|
||||
dialogue = dialogue,
|
||||
prereqConditionType = RemoteDialogueTrigger.MultiConditionType.AND,
|
||||
prereqConditions = new string[]{ },
|
||||
onTriggerEnterConditions = new string[]{ }
|
||||
prereqConditions = info.remoteTriggerPrereqConditions ?? new string[]{ },
|
||||
onTriggerEnterConditions = info.remoteTriggerOnEnterConditions ?? new string[]{ }
|
||||
}
|
||||
};
|
||||
remoteDialogueTrigger._activatedDialogues = new bool[1];
|
||||
|
||||
10
NewHorizons/External/Modules/PropModule.cs
vendored
10
NewHorizons/External/Modules/PropModule.cs
vendored
@ -508,6 +508,16 @@ namespace NewHorizons.External.Modules
|
||||
/// </summary>
|
||||
public float remoteTriggerRadius;
|
||||
|
||||
/// <summary>
|
||||
/// If setting up a remote trigger volume, these conditions must be met for it to trigger
|
||||
/// </summary>
|
||||
public string[] remoteTriggerPrereqConditions;
|
||||
|
||||
/// <summary>
|
||||
/// If setting up a remote trigger volume, but I have no idea what this does at all
|
||||
/// </summary>
|
||||
public string[] remoteTriggerOnEnterConditions;
|
||||
|
||||
/// <summary>
|
||||
/// Relative path to the xml file defining the dialogue.
|
||||
/// </summary>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user