Improve paradox clone item copying (#35993)
* even better item copying for the paradox clone * copy paper * fix * blacklist implanter * string.Empty --------- Co-authored-by: ScarKy0 <scarky0@onet.eu>
This commit is contained in:
@@ -2,12 +2,21 @@ namespace Content.Shared.Cloning.Events;
|
||||
|
||||
/// <summary>
|
||||
/// Raised before a mob is cloned. Cancel to prevent cloning.
|
||||
/// This is raised on the original mob.
|
||||
/// </summary>
|
||||
[ByRefEvent]
|
||||
public record struct CloningAttemptEvent(CloningSettingsPrototype Settings, bool Cancelled = false);
|
||||
|
||||
/// <summary>
|
||||
/// Raised after a new mob got spawned when cloning a humanoid.
|
||||
/// Raised after a new mob was spawned when cloning a humanoid.
|
||||
/// This is raised on the original mob.
|
||||
/// </summary>
|
||||
[ByRefEvent]
|
||||
public record struct CloningEvent(CloningSettingsPrototype Settings, EntityUid CloneUid);
|
||||
|
||||
/// <summary>
|
||||
/// Raised after a new item was spawned when cloning an item.
|
||||
/// This is raised on the original item.
|
||||
/// </summary>
|
||||
[ByRefEvent]
|
||||
public record struct CloningItemEvent(EntityUid CloneUid);
|
||||
|
||||
Reference in New Issue
Block a user