Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various changes I have needed #2153

Closed
wants to merge 345 commits into from
Closed

Various changes I have needed #2153

wants to merge 345 commits into from

Conversation

joker-119
Copy link
Contributor

Simple enough changes, feel free to keep em, or don't.

louis1706 and others added 11 commits November 3, 2023 11:34
HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT HUBERT
* npcs fix

* fix `IAcquisitionConfirmationTrigger` logic

* final 330 fix
Copy link
Member

@louis1706 louis1706 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update Branch with Dev

# Conflicts:
#	EXILED.props
#	Exiled.API/Enums/DamageType.cs
#	Exiled.API/Enums/EffectType.cs
#	Exiled.API/Extensions/DamageTypeExtensions.cs
#	Exiled.API/Extensions/EffectTypeExtension.cs
#	Exiled.API/Features/Effect.cs
#	Exiled.API/Features/Items/Flashlight.cs
#	Exiled.API/Features/Items/Item.cs
#	Exiled.API/Features/Pickups/BodyArmorPickup.cs
#	Exiled.API/Features/Pickups/Pickup.cs
#	Exiled.API/Features/Player.cs
#	Exiled.API/Features/Roles/Scp3114Role.cs
#	Exiled.Events/EventArgs/Player/TogglingFlashlightEventArgs.cs
#	Exiled.Events/EventArgs/Scp049/StartingRecallEventArgs.cs
#	Exiled.Events/Handlers/Scp3114.cs
#	Exiled.Events/Patches/Events/Player/Hurting.cs
#	Exiled.Events/Patches/Events/Player/SendingAdminChatMessage.cs
#	Exiled.Events/Patches/Events/Player/UsingAndCancellingItemUse.cs
#	Exiled.Events/Patches/Events/Scp049/ActivatingSense.cs
#	Exiled.Events/Patches/Events/Scp049/SendingCall.cs
#	Exiled.Events/Patches/Events/Scp0492/Consumed.cs
#	Exiled.Events/Patches/Events/Scp079/ChangingCamera.cs
#	Exiled.Events/Patches/Events/Scp079/Pinging.cs
#	Exiled.Events/Patches/Events/Scp079/RoomBlackout.cs
#	Exiled.Events/Patches/Events/Scp079/ZoneBlackout.cs
#	Exiled.Events/Patches/Events/Scp3114/Disguising.cs
#	Exiled.Events/Patches/Events/Scp3114/Revealing.cs
#	Exiled.Events/Patches/Events/Scp3114/TryUseBody.cs
#	Exiled.Events/Patches/Generic/PickupControlPatch.cs
#	Exiled.Events/Patches/Generic/Scp049API/CallAbilityDuration.cs
#	Exiled.Events/Patches/Generic/Scp049API/SenseAbilityBaseCooldown.cs
#	Exiled.Events/Patches/Generic/Scp049API/SenseAbilityReducedCooldown.cs
#	Exiled.Events/Patches/Generic/Scp106API/CooldownReductionReward.cs
#	Exiled.Events/Patches/Generic/Scp106API/CustomAttack.cs
#	Exiled.Events/Patches/Generic/Scp106API/HunterAtlastCostPerMetter.cs
#	Exiled.Events/Patches/Generic/Scp106API/SinkholeAbilityCooldown.cs
#	Exiled.Events/Patches/Generic/Scp106API/StalkVigorUse.cs
#	Exiled.Events/Patches/Generic/Scp106API/VigorRegeneration.cs
#	Exiled.Loader/AutoUpdateFiles.cs
#	docs/docs/Resources/Intro.md
# Conflicts:
#	EXILED.props
#	Exiled.API/Enums/DamageType.cs
#	Exiled.API/Enums/EffectType.cs
#	Exiled.API/Extensions/DamageTypeExtensions.cs
#	Exiled.API/Extensions/EffectTypeExtension.cs
#	Exiled.API/Features/Effect.cs
#	Exiled.API/Features/Items/Flashlight.cs
#	Exiled.API/Features/Items/Item.cs
#	Exiled.API/Features/Pickups/BodyArmorPickup.cs
#	Exiled.API/Features/Pickups/Pickup.cs
#	Exiled.API/Features/Player.cs
#	Exiled.API/Features/Roles/Scp3114Role.cs
#	Exiled.Events/EventArgs/Player/TogglingFlashlightEventArgs.cs
#	Exiled.Events/EventArgs/Scp049/StartingRecallEventArgs.cs
#	Exiled.Events/Handlers/Scp3114.cs
#	Exiled.Events/Patches/Events/Player/Hurting.cs
#	Exiled.Events/Patches/Events/Player/SendingAdminChatMessage.cs
#	Exiled.Events/Patches/Events/Player/UsingAndCancellingItemUse.cs
#	Exiled.Events/Patches/Events/Scp049/ActivatingSense.cs
#	Exiled.Events/Patches/Events/Scp049/SendingCall.cs
#	Exiled.Events/Patches/Events/Scp0492/Consumed.cs
#	Exiled.Events/Patches/Events/Scp079/ChangingCamera.cs
#	Exiled.Events/Patches/Events/Scp079/Pinging.cs
#	Exiled.Events/Patches/Events/Scp079/RoomBlackout.cs
#	Exiled.Events/Patches/Events/Scp079/ZoneBlackout.cs
#	Exiled.Events/Patches/Events/Scp3114/Disguising.cs
#	Exiled.Events/Patches/Events/Scp3114/Revealing.cs
#	Exiled.Events/Patches/Events/Scp3114/TryUseBody.cs
#	Exiled.Events/Patches/Generic/PickupControlPatch.cs
#	Exiled.Events/Patches/Generic/Scp049API/CallAbilityDuration.cs
#	Exiled.Events/Patches/Generic/Scp049API/SenseAbilityBaseCooldown.cs
#	Exiled.Events/Patches/Generic/Scp049API/SenseAbilityReducedCooldown.cs
#	Exiled.Events/Patches/Generic/Scp106API/CooldownReductionReward.cs
#	Exiled.Events/Patches/Generic/Scp106API/CustomAttack.cs
#	Exiled.Events/Patches/Generic/Scp106API/HunterAtlastCostPerMetter.cs
#	Exiled.Events/Patches/Generic/Scp106API/SinkholeAbilityCooldown.cs
#	Exiled.Events/Patches/Generic/Scp106API/StalkVigorUse.cs
#	Exiled.Events/Patches/Generic/Scp106API/VigorRegeneration.cs
#	Exiled.Loader/AutoUpdateFiles.cs
#	docs/docs/Resources/Intro.md
# Conflicts:
#	EXILED.props
#	Exiled.API/Features/Effect.cs
#	Exiled.API/Features/Pickups/BodyArmorPickup.cs
#	Exiled.API/Features/Pickups/Pickup.cs
#	Exiled.API/Features/Player.cs
#	Exiled.Events/EventArgs/Scp049/StartingRecallEventArgs.cs
#	Exiled.Events/Handlers/Scp3114.cs
#	Exiled.Events/Patches/Events/Player/Hurting.cs
#	Exiled.Events/Patches/Events/Player/SendingAdminChatMessage.cs
#	Exiled.Events/Patches/Events/Player/UsingAndCancellingItemUse.cs
#	Exiled.Events/Patches/Generic/PickupControlPatch.cs
#	Exiled.Events/Patches/Generic/Scp106API/HunterAtlastCostPerMetter.cs
#	Exiled.Events/Patches/Generic/Scp106API/SinkholeAbilityCooldown.cs
#	Exiled.Events/Patches/Generic/Scp106API/StalkVigorUse.cs
#	Exiled.Events/Patches/Generic/Scp106API/VigorRegeneration.cs
#	Exiled.Loader/AutoUpdateFiles.cs
#	docs/docs/Resources/Intro.md
# Conflicts:
#	Exiled.API/Extensions/MirrorExtensions.cs
#	Exiled.API/Features/Pickups/BodyArmorPickup.cs
#	Exiled.Events/Patches/Events/Item/JailbirdPatch.cs
@@ -571,6 +572,7 @@ public void UnSpawn()
{
if (IsSpawned)
{
IsSpawned = false;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
IsSpawned = false;

@@ -541,6 +541,7 @@ public void Spawn()
if (!IsSpawned)
{
NetworkServer.Spawn(GameObject);
IsSpawned = true;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
IsSpawned = true;

@@ -291,7 +291,7 @@ public Quaternion Rotation
/// <summary>
/// Gets a value indicating whether this pickup is spawned.
/// </summary>
public bool IsSpawned => NetworkServer.spawned.ContainsValue(Base.netIdentity);
public bool IsSpawned { get; internal set; }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
public bool IsSpawned { get; internal set; }
public bool IsSpawned => NetworkServer.spawned.ContainsValue(Base.netIdentity);

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove Change

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove Change

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove change

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove change

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove change

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove change

Comment on lines +49 to +61
set
{
target = value;
switch (target is null)
{
case true:
StrangleTarget = default(Scp3114Strangle.StrangleTarget);
break;
case false:
StrangleTarget = new(target.ReferenceHub, strangle.GetStranglePosition(target.ReferenceHub.roleManager.CurrentRole as HumanRole), Player.Position);
break;
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There Problem with it Player is not Target

@louis1706 louis1706 added the Do not merge Don't merge this PR label Nov 22, 2023
@louis1706
Copy link
Member

#2311 #2312 #2313 #2314 #2315

PR has been separated

@louis1706 louis1706 closed this Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.