mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Merge branch 'dev' of https://github.com/xen-42/outer-wilds-new-horizons into dev
This commit is contained in:
commit
6ca256b138
@ -65,6 +65,8 @@ namespace NewHorizons.Builder.Props
|
||||
var owCollider = conversationZone.AddComponent<OWCollider>();
|
||||
var interact = conversationZone.AddComponent<InteractReceiver>();
|
||||
|
||||
interact._interactRange = info.range;
|
||||
|
||||
if (info.radius <= 0)
|
||||
{
|
||||
sphere.enabled = false;
|
||||
|
||||
5
NewHorizons/External/Modules/PropModule.cs
vendored
5
NewHorizons/External/Modules/PropModule.cs
vendored
@ -332,6 +332,11 @@ namespace NewHorizons.External.Modules
|
||||
/// </summary>
|
||||
public MVector3 remoteTriggerPosition;
|
||||
|
||||
/// <summary>
|
||||
/// Distance from radius the prompt appears
|
||||
/// </summary>
|
||||
[DefaultValue(2f)] public float range = 2f;
|
||||
|
||||
/// <summary>
|
||||
/// The radius of the remote trigger volume.
|
||||
/// </summary>
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<OutputPath>$(AppData)\OuterWildsModManager\OWML\Mods\xen.NewHorizons</OutputPath>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
<PropertyGroup>
|
||||
<OutputPath>$(AppData)\OuterWildsModManager\OWML\Mods\xen.NewHorizons</OutputPath>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@ -895,6 +895,12 @@
|
||||
"description": "Allows you to trigger dialogue from a distance when you walk into an area.",
|
||||
"$ref": "#/definitions/MVector3"
|
||||
},
|
||||
"range": {
|
||||
"type": "number",
|
||||
"description": "Distance from radius the prompt appears",
|
||||
"format": "float",
|
||||
"default": 2.0
|
||||
},
|
||||
"remoteTriggerRadius": {
|
||||
"type": "number",
|
||||
"description": "The radius of the remote trigger volume.",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user