Skip to content

Commit

Permalink
Update: fixes made, set respawn to 10 minutes on ghost, adjustments t…
Browse files Browse the repository at this point in the history
…o yml to make pod indestructible and not require power
  • Loading branch information
AWF committed Mar 23, 2024
1 parent 8cd9c35 commit 9a3113a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Content.Server/Cloning/AutoCloningSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ public bool TryCloning(EntityUid uid, IPlayerSession player, Mind.Mind mind, Aut
if (HasComp<ActiveCloningPodComponent>(uid))
return false;

if (mind.OwnedEntity != null && !_mobStateSystem.IsDead(mind.OwnedEntity.Value))
return false; // Body controlled by mind is not dead
//if (mind.OwnedEntity != null && !_mobStateSystem.IsDead(mind.OwnedEntity.Value))
// return false; // Body controlled by mind is not dead

var mob = SpawnAutoClonedPlayer(clonePod, player);

Expand Down
2 changes: 1 addition & 1 deletion Content.Server/Ghost/Components/GhostComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public sealed class GhostComponent : SharedGhostComponent
public TimeSpan TimeOfDeath { get; set; } = TimeSpan.Zero;

[DataField("respawnTime")]
public float RespawnTime = 10f;
public float RespawnTime = 600f;

[DataField("booRadius")]
public float BooRadius = 3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,13 @@

- type: entity
id: AutoCloningPod
parent: BaseMachinePowered
parent: BaseStructure
name: auto cloning pod
description: An Advanced Automatic Cloning Pod.
components:
- type: InteractionOutline
- type: Transform
noRot: true
- type: AutoCloningPod
- type: Sprite
netsync: false
Expand Down

0 comments on commit 9a3113a

Please sign in to comment.