Make all implants unable to be implanted more than once (#26250)
* Make mind shield implants unable to be implanted more than once * Default AllowMultipleImplants to false and update implanters.yml * Use TryComp instead of TryGetComponent * Deny multiple implants for fun implants too. * Make comment more precise
This commit is contained in:
@@ -70,6 +70,12 @@ public sealed partial class ImplanterComponent : Component
|
||||
[DataField]
|
||||
public (string, string) ImplantData;
|
||||
|
||||
/// <summary>
|
||||
/// Determines if the same type of implant can be implanted into an entity multiple times.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public bool AllowMultipleImplants = false;
|
||||
|
||||
/// <summary>
|
||||
/// The <see cref="ItemSlot"/> for this implanter
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user