This commit is contained in:
2025-06-05 01:12:55 +02:00
parent 17c654d889
commit 96596e9c08
39 changed files with 1157 additions and 1350 deletions
+2 -3
View File
@@ -11,14 +11,13 @@ namespace CustomItemSpawn;
public class CustomItemSpawn : Plugin<ItemConfig>
{
private static CustomItemSpawn _singleton;
public override string Name => "CustomItemSpawn";
public override string Author => "Code002Lover";
public override Version Version { get; } = new(1, 0, 0);
public override string Description => "Spawns items in a custom location.";
public override Version RequiredApiVersion { get; } = new(LabApiProperties.CompiledVersion);
private static CustomItemSpawn _singleton;
public override void Enable()
{
_singleton = this;
@@ -33,7 +32,7 @@ public class CustomItemSpawn : Plugin<ItemConfig>
private static void OnRoundStart()
{
Timing.CallDelayed(10,SpawnItems);
Timing.CallDelayed(10, SpawnItems);
}
private static void SpawnItems()
+2 -5
View File
@@ -24,20 +24,17 @@
<HintPath>..\dependencies\Assembly-CSharp.dll</HintPath>
</Reference>
<Reference Include="Assembly-CSharp-firstpass">
<HintPath>..\dependencies\Assembly-CSharp-firstpass.dll</HintPath>
<HintPath>..\dependencies\Assembly-CSharp-firstpass.dll</HintPath>
</Reference>
<Reference Include="Mirror">
<HintPath>..\dependencies\Mirror.dll</HintPath>
</Reference>
<Reference Include="Pooling">
<HintPath>..\dependencies\Pooling.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.CoreModule">
<HintPath>..\dependencies\UnityEngine.CoreModule.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Northwood.LabAPI" Version="1.0.2" />
<PackageReference Include="Northwood.LabAPI" Version="1.0.2"/>
</ItemGroup>
</Project>