-
Notifications
You must be signed in to change notification settings - Fork 176
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
Conversation
# Conflicts: # Exiled.CustomRoles/API/Features/CustomRole.cs
This reverts commit 522b587.
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
There was a problem hiding this 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; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IsSpawned = false; |
@@ -541,6 +541,7 @@ public void Spawn() | |||
if (!IsSpawned) | |||
{ | |||
NetworkServer.Spawn(GameObject); | |||
IsSpawned = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public bool IsSpawned { get; internal set; } | |
public bool IsSpawned => NetworkServer.spawned.ContainsValue(Base.netIdentity); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove Change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove Change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove change
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; | ||
} | ||
} |
There was a problem hiding this comment.
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
Simple enough changes, feel free to keep em, or don't.