mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
Gatekeeper vanish
This commit is contained in:
1 parent
61c76fc6a8
commit
fdce02ce9e
3 files changed
+8
-1
No files matched your search
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user