Gatekeeper vanish

This commit is contained in:
Gurge44 committed 2026-07-10 15:33:10 +02:00
1 parent 61c76fc6a8
commit fdce02ce9e
3 files changed
+8 -1

No files matched your search

+1
View File
@@ -1115,6 +1115,7 @@ internal static class CustomRolesHelper
or CustomRoles.Disperser
or CustomRoles.Escapist
or CustomRoles.Fireworker
or CustomRoles.Gatekeeper
or CustomRoles.Hypnotist
or CustomRoles.Librarian
or CustomRoles.Miner
+1 -1
View File
@@ -1947,7 +1947,7 @@
"GangsterSuccessfullyRecruited": "You successfully recruited a player",
"Gatekeeper": "Gatekeeper",
"GatekeeperInfo": "Keep Track Of People In Rooms",
"GatekeeperInfoLong": "(Impostors):\\nAs the Gatekeeper, you may pet/shapeshift to mark the room you're in. From now, you'll now see how many living players are in that room, updated in real time. Dead bodies aren't counted. You can have multiple marked rooms at the same time depending on settings.",
"GatekeeperInfoLong": "(Impostors):\\nAs the Gatekeeper, you may vanish/pet/shapeshift to mark the room you're in. From now, you'll now see how many living players are in that room, updated in real time. Dead bodies aren't counted. You can have multiple marked rooms at the same time depending on settings.",
"Gatekeeper.MaxRoomsMarkedAtOnce": "Max Rooms Marked At Once",
"Generator": "Generator",
"GeneratorInfo": "Power up the ship",
@@ -48,6 +48,12 @@ public class Gatekeeper : RoleBase
return false;
}
public override bool OnVanish(PlayerControl pc)
{
MarkRoom(pc);
return false;
}
public override void OnPet(PlayerControl pc)
{
MarkRoom(pc);