Skip to content

Commit

Permalink
Updoot to exiled beta & newest SL version
Browse files Browse the repository at this point in the history
  • Loading branch information
joker-119 committed Sep 30, 2021
1 parent 2b919c2 commit d666892
Show file tree
Hide file tree
Showing 22 changed files with 32 additions and 48 deletions.
2 changes: 0 additions & 2 deletions CustomItems/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

#pragma warning disable SA1200

using CustomItems.Configs;

namespace CustomItems
{
using System;
Expand Down
2 changes: 0 additions & 2 deletions CustomItems/Configs/Items.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ namespace CustomItems.Configs
using System.Collections.Generic;
using System.ComponentModel;

using Exiled.API.Enums;

/// <summary>
/// All item config settings.
/// </summary>
Expand Down
20 changes: 12 additions & 8 deletions CustomItems/CustomItems.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -54,38 +54,42 @@
<HintPath>$(EXILED_REFERENCES)\CommandSystem.Core.dll</HintPath>
</Reference>
<Reference Include="Exiled.API, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\EXILED.3.0.0-alpha.84\lib\net472\Exiled.API.dll</HintPath>
<HintPath>..\packages\EXILED.3.0.0-beta\lib\net472\Exiled.API.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Exiled.Bootstrap, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\EXILED.3.0.0-alpha.84\lib\net472\Exiled.Bootstrap.dll</HintPath>
<HintPath>..\packages\EXILED.3.0.0-beta\lib\net472\Exiled.Bootstrap.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Exiled.CreditTags, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\EXILED.3.0.0-alpha.84\lib\net472\Exiled.CreditTags.dll</HintPath>
<HintPath>..\packages\EXILED.3.0.0-beta\lib\net472\Exiled.CreditTags.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Exiled.CustomItems, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\EXILED.3.0.0-alpha.84\lib\net472\Exiled.CustomItems.dll</HintPath>
<HintPath>..\packages\EXILED.3.0.0-beta\lib\net472\Exiled.CustomItems.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Exiled.CustomRoles, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\EXILED.3.0.0-beta\lib\net472\Exiled.CustomRoles.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Exiled.Events, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\EXILED.3.0.0-alpha.84\lib\net472\Exiled.Events.dll</HintPath>
<HintPath>..\packages\EXILED.3.0.0-beta\lib\net472\Exiled.Events.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Exiled.Example, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\..\EXILED\bin\Debug\Exiled.Example.dll</HintPath>
</Reference>
<Reference Include="Exiled.Loader, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\EXILED.3.0.0-alpha.84\lib\net472\Exiled.Loader.dll</HintPath>
<HintPath>..\packages\EXILED.3.0.0-beta\lib\net472\Exiled.Loader.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Exiled.Permissions, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\EXILED.3.0.0-alpha.84\lib\net472\Exiled.Permissions.dll</HintPath>
<HintPath>..\packages\EXILED.3.0.0-beta\lib\net472\Exiled.Permissions.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Exiled.Updater, Version=3.1.1.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\EXILED.3.0.0-alpha.84\lib\net472\Exiled.Updater.dll</HintPath>
<HintPath>..\packages\EXILED.3.0.0-beta\lib\net472\Exiled.Updater.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Mirror, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
Expand Down
2 changes: 1 addition & 1 deletion CustomItems/Items/AntiMemeticPills.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ namespace CustomItems.Items
using System.Collections.Generic;
using CustomPlayerEffects;
using Exiled.API.Features;
using Exiled.API.Features.Spawn;
using Exiled.CustomItems.API;
using Exiled.CustomItems.API.Features;
using Exiled.CustomItems.API.Spawn;
using Exiled.Events.EventArgs;
using MEC;

Expand Down
5 changes: 1 addition & 4 deletions CustomItems/Items/AutoGun.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,12 @@ namespace CustomItems.Items
{
using System.Collections.Generic;
using System.ComponentModel;
using Exiled.API.Extensions;
using Exiled.API.Features;
using Exiled.API.Features.Items;
using Exiled.API.Features.Spawn;
using Exiled.CustomItems.API;
using Exiled.CustomItems.API.Features;
using Exiled.CustomItems.API.Spawn;
using Exiled.Events.EventArgs;
using Hints;
using MEC;
using UnityEngine;

/// <inheritdoc />
Expand Down
3 changes: 1 addition & 2 deletions CustomItems/Items/C4Charge.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@ namespace CustomItems.Items
using Exiled.API.Enums;
using Exiled.API.Features;
using Exiled.API.Features.Items;
using Exiled.API.Features.Spawn;
using Exiled.CustomItems.API;
using Exiled.CustomItems.API.Features;
using Exiled.CustomItems.API.Spawn;
using Exiled.Events.EventArgs;
using InventorySystem.Items.ThrowableProjectiles;
using Mirror;
using UnityEngine;
using YamlDotNet.Serialization;

Expand Down
3 changes: 1 addition & 2 deletions CustomItems/Items/DeflectorShield.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@ namespace CustomItems.Items
using System;
using System.Collections.Generic;
using System.ComponentModel;
using CustomPlayerEffects;
using Exiled.API.Enums;
using Exiled.API.Extensions;
using Exiled.API.Features;
using Exiled.API.Features.Spawn;
using Exiled.CustomItems.API;
using Exiled.CustomItems.API.EventArgs;
using Exiled.CustomItems.API.Features;
using Exiled.CustomItems.API.Spawn;
using Exiled.Events.EventArgs;
using MEC;
using YamlDotNet.Serialization;
Expand Down
4 changes: 1 addition & 3 deletions CustomItems/Items/EmpGrenade.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,16 @@ namespace CustomItems.Items
using Exiled.API.Extensions;
using Exiled.API.Features;
using Exiled.API.Features.Items;
using Exiled.API.Features.Spawn;
using Exiled.CustomItems.API;
using Exiled.CustomItems.API.Features;
using Exiled.CustomItems.API.Spawn;
using Exiled.Events.EventArgs;
using Exiled.Events.Handlers;
using Interactables.Interobjects.DoorUtils;
using InventorySystem.Items.Firearms.Attachments;
using MEC;
using UnityEngine;
using Item = Exiled.API.Features.Items.Item;
using KeycardPermissions = Interactables.Interobjects.DoorUtils.KeycardPermissions;
using Map = Exiled.Events.Handlers.Map;
using Player = Exiled.API.Features.Player;

/// <inheritdoc />
Expand Down
4 changes: 1 addition & 3 deletions CustomItems/Items/GrenadeLauncher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,15 @@ namespace CustomItems.Items
using Exiled.API.Enums;
using Exiled.API.Features;
using Exiled.API.Features.Items;
using Exiled.API.Features.Spawn;
using Exiled.CustomItems.API;
using Exiled.CustomItems.API.Features;
using Exiled.CustomItems.API.Spawn;
using Exiled.Events.EventArgs;
using InventorySystem.Items.Firearms.BasicMessages;
using InventorySystem.Items.ThrowableProjectiles;
using MEC;
using Mirror;
using UnityEngine;
using CollisionHandler = Exiled.API.Features.Components.CollisionHandler;
using Debug = System.Diagnostics.Debug;

/// <inheritdoc />
public class GrenadeLauncher : CustomWeapon
Expand Down
3 changes: 1 addition & 2 deletions CustomItems/Items/ImplosionGrenade.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,13 @@ namespace CustomItems.Items
using System.Collections.Generic;
using System.ComponentModel;
using Exiled.API.Features;
using Exiled.API.Features.Spawn;
using Exiled.CustomItems.API;
using Exiled.CustomItems.API.Features;
using Exiled.CustomItems.API.Spawn;
using Exiled.Events.EventArgs;
using InventorySystem.Items.ThrowableProjectiles;
using MEC;
using UnityEngine;
using Map = Exiled.Events.Handlers.Map;
using Scp106 = Exiled.Events.Handlers.Scp106;

/// <inheritdoc />
Expand Down
2 changes: 1 addition & 1 deletion CustomItems/Items/LethalInjection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ namespace CustomItems.Items
using System.ComponentModel;
using CustomPlayerEffects;
using Exiled.API.Features;
using Exiled.API.Features.Spawn;
using Exiled.CustomItems.API;
using Exiled.CustomItems.API.Features;
using Exiled.CustomItems.API.Spawn;
using Exiled.Events.EventArgs;
using MEC;
using PlayableScps;
Expand Down
3 changes: 1 addition & 2 deletions CustomItems/Items/LuckyCoin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ namespace CustomItems.Items
{
using System.Collections.Generic;
using System.ComponentModel;
using Exiled.API.Enums;
using Exiled.API.Features;
using Exiled.API.Features.Items;
using Exiled.API.Features.Spawn;
using Exiled.CustomItems.API;
using Exiled.CustomItems.API.Features;
using Exiled.CustomItems.API.Spawn;
using Exiled.Events.EventArgs;
using MEC;
using UnityEngine;
Expand Down
7 changes: 2 additions & 5 deletions CustomItems/Items/MediGun.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,15 @@

namespace CustomItems.Items
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Exiled.API.Enums;
using Exiled.API.Extensions;
using Exiled.API.Features;
using Exiled.API.Features.Spawn;
using Exiled.CustomItems.API;
using Exiled.CustomItems.API.Features;
using Exiled.CustomItems.API.Spawn;
using Exiled.Events.EventArgs;
using InventorySystem.Items.Firearms;
using InventorySystem.Items.Firearms.Modules;
using UnityEngine;
using Firearm = Exiled.API.Features.Items.Firearm;

Expand Down Expand Up @@ -138,7 +135,7 @@ protected override void OnShooting(ShootingEventArgs ev)
return;

float num3 = Vector3.Distance(ev.Shooter.CameraTransform.transform.position, ev.ShotPosition);
float damage = firearm.Base.HitregModule.BaseStats.DamageAtDistance(firearm.Base, num3);
float damage = firearm.Base.BaseStats.DamageAtDistance(firearm.Base, num3);

if (player.Team.GetSide() == ev.Shooter.Team.GetSide())
{
Expand Down
2 changes: 1 addition & 1 deletion CustomItems/Items/Scp127.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ namespace CustomItems.Items
using System.ComponentModel;
using Exiled.API.Features;
using Exiled.API.Features.Items;
using Exiled.API.Features.Spawn;
using Exiled.CustomItems.API;
using Exiled.CustomItems.API.Features;
using Exiled.CustomItems.API.Spawn;
using Exiled.Events.EventArgs;
using InventorySystem.Items.Firearms;
using MEC;
Expand Down
2 changes: 1 addition & 1 deletion CustomItems/Items/Scp1499.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ namespace CustomItems.Items
using CustomPlayerEffects;
using Exiled.API.Enums;
using Exiled.API.Features;
using Exiled.API.Features.Spawn;
using Exiled.CustomItems.API;
using Exiled.CustomItems.API.Features;
using Exiled.CustomItems.API.Spawn;
using Exiled.Events.EventArgs;
using MEC;
using UnityEngine;
Expand Down
3 changes: 1 addition & 2 deletions CustomItems/Items/Scp2818.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@ namespace CustomItems.Items
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using Exiled.API.Features;
using Exiled.API.Features.Items;
using Exiled.API.Features.Spawn;
using Exiled.CustomItems.API;
using Exiled.CustomItems.API.Features;
using Exiled.CustomItems.API.Spawn;
using Exiled.Events.EventArgs;
using MEC;
using UnityEngine;
Expand Down
2 changes: 1 addition & 1 deletion CustomItems/Items/Scp714.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ namespace CustomItems.Items
using System.ComponentModel;
using Exiled.API.Enums;
using Exiled.API.Features;
using Exiled.API.Features.Spawn;
using Exiled.CustomItems.API;
using Exiled.CustomItems.API.Features;
using Exiled.CustomItems.API.Spawn;
using Exiled.Events.EventArgs;

/// <inheritdoc/>
Expand Down
2 changes: 1 addition & 1 deletion CustomItems/Items/SniperRifle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ namespace CustomItems.Items
using System.Collections.Generic;
using System.ComponentModel;
using Exiled.API.Features.Items;
using Exiled.API.Features.Spawn;
using Exiled.CustomItems.API;
using Exiled.CustomItems.API.Features;
using Exiled.CustomItems.API.Spawn;
using Exiled.Events.EventArgs;
using YamlDotNet.Serialization;

Expand Down
2 changes: 1 addition & 1 deletion CustomItems/Items/TranquilizerGun.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ namespace CustomItems.Items
using CustomPlayerEffects;
using Exiled.API.Features;
using Exiled.API.Features.Items;
using Exiled.API.Features.Spawn;
using Exiled.CustomItems.API;
using Exiled.CustomItems.API.Features;
using Exiled.CustomItems.API.Spawn;
using Exiled.Events.EventArgs;
using MEC;
using Mirror;
Expand Down
1 change: 0 additions & 1 deletion CustomItems/Patches/AddClass.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ namespace CustomItems.Patches
{
using Events;
using Exiled.API.Features;
using HarmonyLib;
using Subclass;

/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions CustomItems/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.0.3.0")]
[assembly: AssemblyFileVersion("3.0.3.0")]
[assembly: AssemblyVersion("4.0.0.0")]
[assembly: AssemblyFileVersion("4.0.0.0")]
2 changes: 1 addition & 1 deletion CustomItems/packages.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="EXILED" version="3.0.0-alpha.84" targetFramework="net472" />
<package id="EXILED" version="3.0.0-beta" targetFramework="net472" />
<package id="Lib.Harmony" version="2.0.4" targetFramework="net472" />
<package id="StyleCop.Analyzers" version="1.1.118" targetFramework="net472" developmentDependency="true" />
</packages>

0 comments on commit d666892

Please sign in to comment.