Кролик в мешке: ловля голыми руками, мешок сразу в рюкзак (перенос из Книги #71)

Механизм ванильного PickupItem (как у курицы), но предмет wildRabbit кладётся в рюкзак, а не в руку. ЛКМ с мешком - выпустить, «Разобрать» в рюкзаке - мясо 10 / кожа 2 / кости 5. Выключатель: rabbithutch off - ванильный захват в руку. Перенесено из Книги некроманта (ветка 1.7, выпущено не было).

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
AlexCube
2026-11-10 12:50:46 +03:00
co-authored by Claude Code
commit e207b9ff0a
10 changed files with 315 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<AssemblyName>RabbitHutchHarmony</AssemblyName>
<RootNamespace>RabbitHutch</RootNamespace>
<LangVersion>latest</LangVersion>
<Nullable>disable</Nullable>
<!-- The DLL is loaded straight out of the mod folder by the game, not via NuGet/deps.json. -->
<GenerateDependencyFile>false</GenerateDependencyFile>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<OutputPath>bin\</OutputPath>
</PropertyGroup>
<ItemGroup>
<!-- Game/Harmony assemblies: compile-time only, never copied into our output (they already
exist where the game loads them from). Same layout as NecromancerHarmony.csproj. -->
<Reference Include="0Harmony">
<HintPath>..\..\0_TFP_Harmony\0Harmony.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="Assembly-CSharp">
<HintPath>..\..\..\7DaysToDie_Data\Managed\Assembly-CSharp.dll</HintPath>
<Private>false</Private>
</Reference>
<!-- Vector3/Mathf/Debug (RabbitGrab.cs). -->
<Reference Include="UnityEngine.CoreModule">
<HintPath>..\..\..\7DaysToDie_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
<Private>false</Private>
</Reference>
</ItemGroup>
</Project>