From ef53d1cbbf2f9a7c095f0e73e6e89257e30738ee Mon Sep 17 00:00:00 2001 From: Peptide90 <78795277+Peptide90@users.noreply.github.com> Date: Thu, 21 Apr 2022 23:32:23 +0100 Subject: [PATCH] Adds a number identifier to all mobs except players (#7668) --- Resources/Prototypes/Entities/Mobs/NPCs/simplemob.yml | 2 ++ Resources/Prototypes/name_identifier_groups.yml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/Resources/Prototypes/Entities/Mobs/NPCs/simplemob.yml b/Resources/Prototypes/Entities/Mobs/NPCs/simplemob.yml index 778db8cabd..3ee9c4c53b 100644 --- a/Resources/Prototypes/Entities/Mobs/NPCs/simplemob.yml +++ b/Resources/Prototypes/Entities/Mobs/NPCs/simplemob.yml @@ -133,6 +133,8 @@ safe: false - type: StandingState - type: Alerts + - type: NameIdentifier + group: GenericNumber - type: entity save: false diff --git a/Resources/Prototypes/name_identifier_groups.yml b/Resources/Prototypes/name_identifier_groups.yml index 1c3f94d4ea..aa7e914b86 100644 --- a/Resources/Prototypes/name_identifier_groups.yml +++ b/Resources/Prototypes/name_identifier_groups.yml @@ -13,3 +13,7 @@ fullName: true minValue: 10000 maxValue: 99999 + +# Used to suffix a number to any mob to identify player controlled mob griefing. +- type: nameIdentifierGroup + id: GenericNumber \ No newline at end of file