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