Make more range and no los
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -361,4 +361,5 @@ MigrationBackup/
|
|||||||
.ionide/
|
.ionide/
|
||||||
|
|
||||||
# Fody - auto-generated XML schema
|
# Fody - auto-generated XML schema
|
||||||
FodyWeavers.xsd
|
FodyWeavers.xsd
|
||||||
|
.idea/.idea.SPT-LootRadius/.idea
|
||||||
|
@@ -24,7 +24,7 @@ namespace DrakiaXYZ.LootRadius.Helpers
|
|||||||
1.5f,
|
1.5f,
|
||||||
new ConfigDescription(
|
new ConfigDescription(
|
||||||
"The distance to include loot from",
|
"The distance to include loot from",
|
||||||
new AcceptableValueRange<float>(0f, 10f),
|
new AcceptableValueRange<float>(0f, 100f),
|
||||||
new ConfigurationManagerAttributes { })));
|
new ConfigurationManagerAttributes { })));
|
||||||
|
|
||||||
RecalcOrder();
|
RecalcOrder();
|
||||||
|
@@ -82,7 +82,7 @@ namespace DrakiaXYZ.LootRadius.Patches
|
|||||||
// Then collect items around the player body, based on the loot radius
|
// Then collect items around the player body, based on the loot radius
|
||||||
playerPosition += (Vector3.up * 0.5f);
|
playerPosition += (Vector3.up * 0.5f);
|
||||||
Collider[] nearbyItemColliders = Physics.OverlapSphere(playerPosition, Settings.LootRadius.Value, _interactiveLayerMask);
|
Collider[] nearbyItemColliders = Physics.OverlapSphere(playerPosition, Settings.LootRadius.Value, _interactiveLayerMask);
|
||||||
AddAllowedItems(grid, nearbyItemColliders, false);
|
AddAllowedItems(grid, nearbyItemColliders, true);
|
||||||
|
|
||||||
// Show the stash in the inventory panel
|
// Show the stash in the inventory panel
|
||||||
____simpleStashPanel.Configure(_stash, inventoryController, sourceContext.CreateChild(_stash), true);
|
____simpleStashPanel.Configure(_stash, inventoryController, sourceContext.CreateChild(_stash), true);
|
||||||
|
@@ -130,6 +130,6 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<PostBuildEvent>copy "$(TargetPath)" "$(ProjectDir)\..\..\BepInEx\plugins\$(TargetFileName)"</PostBuildEvent>
|
<!-- <PostBuildEvent>copy "$(TargetPath)" "$(ProjectDir)\..\..\BepInEx\plugins\$(TargetFileName)"</PostBuildEvent>-->
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
Reference in New Issue
Block a user