Guard
@ guard | |
---|---|
Difficulty | 14 |
Attacks |
Weapon 4d10 |
Base level | 12 |
Base experience | 284 |
Speed | 12 |
Base AC | 10 |
Base MR | 40 |
Alignment | 10 (lawful) |
Frequency (by normal means) | 0 (Not randomly generated) |
Genocidable | No |
Weight | 1450 |
Nutritional value | 400 |
Size | Medium |
Resistances | None |
Resistances conveyed | None |
A guard:
| |
Reference | monst.c#2195 |
A guard, @, is a type of monster that appears in NetHack. The guard is a strong and lawful human mercenary that is typically peaceful and patrols the vaults belonging to Croesus: they are the source of the footsteps heard on some levels, indicating there is a vault on that floor.
Guards can be seen via infravision and will pick up weapons, armor and other items they come across—they will only do so if made hostile, and hostile guards will also accept bribes. Guards will not jump into holes and trap doors or use wands of digging, potions of speed or wands of speed monster, and at low health they will not use a wand of digging, a cursed scroll of teleportation or a cursed potion of gain level to escape.
Guards that are polymorphed into a monster that can divide and then made to split will produce clones that do not retain the original's memory of their initial form.[1]
A guard has a single powerful weapon attack.
Contents
Generation
Guards are not randomly generated, and normally-created guards are always peaceful.
If a hero remains on any of the squares within the 4x4 area of a vault for 30 turns, or else applies a cursed tin whistle, a guard will be generated on the outer squares of the vault, opening a space in the room's wall or the outside solid rock if necessary.[2][3][4][5] There is no limit to the amount of guards that can generate this way, which also ingores the normal extinction cap used for other monsters, but only one guard can be present on the level at a time.
Items
Guards are always generated with a cursed tin whistle, providing a source for the shrill whistling sound a hero will hear while escaping them.[6][7] For other items, they follow similar generation mechanisms to other mercenaries such as soldiers and watchmen for armor and weapons, in addition to rules specific to them:
- For armor, guards have a target AC of -1.[8]
- For their suit of armor, they have a 4⁄5 chance of being given either splint mail (2⁄3 chance) or banded mail (1⁄3 chance) that counts for 6 points of their target AC[9]—if they are not given either type of armor, they have a 4⁄5 chance of being given either ring mail (2⁄3 chance) or studded leather armor (1⁄3 chance) that counts for 3 points of their target AC, and will otherwise be given leather armor that counts for 2 points of their target AC.[10][11]
- For their helm, they have a 2⁄3 chance of being given a helmet, with a 1⁄2 chance of a dented pot otherwise, and the helm will count for 1 point of their target AC.[12]
- For their shield, they have a 2⁄3 chance of being given a small shield that counts for 1 point of their target AC, and otherwise have a 1⁄2 chance of being given a large shield that counts for 2 points of their target AC.[13]
- For their boots, they have a 2⁄3 chance of being given a pair of low boots that count for 1 point of their target AC, and otherwise have a 1⁄2 chance of being given a pair of high boots that count for 2 points of their target AC.[14]
- Finally, they have a 2⁄3 chance of being given a pair of leather gloves, with a 1⁄2 chance of a leather cloak otherwise, and the item will count for 1 point of their target AC.[15]
- For weapons, guards have a 1⁄4 chance of being given a dagger and an independent 1⁄7 chance of a spear, with a 1⁄4 of being given a knife if they receive neither weapon.[16]
- Guards have the standard 2⁄3 chance of being given a K-ration and an independent 1⁄2 chance of being given a C-ration.[17]
- Guards are not supposed to receive a wand of digging, potion of speed or wand of speed monster if they are given a defensive item or miscellaneous item, but may still be given one due to a bug, since the monster's flag is not actually set at this stage of generation.[18][19]
Figurines of a guard cannot be generated. Guards are special-cased to become human zombies if the hero attempts to animate their corpse or statue by any means, including animating statues from statue traps and directly creating them in wizard mode without forcing that monster to be generated.[20]
Interacting with guards
When a guard is generated from the hero waiting or applying a cursed tin whistle, their behavior depends on the hero's current state: If the hero is in a polymorphed state from eating a mimic corpse, or else is polymorphed into a form that can hide, the guard will not notice the hero and leave[21]—being transformed from eating a mimic corpse while hallucinating produces a different message, but otherwise has the same effect. The guard will not notice a hero that is invisible when they enter, and will leave when the hero moves away from them. If the hero is fainted, they will be awakened from that state[22]—otherwise, if they are unable to speak (e.g. due to paralysis, unconsciousness, being engulfed, or being in a form that cannot speak), the guard will leave.[23][24]
Once the guard has established that the hero can respond, they will ask the hero their name, interrupting any occupation and prompting the player to enter an answer:[25] replying with Croesus, Kroisos or Creosote will cause them to leave you alone and disappear, while attempting this after killing the actual Croesus will instead have the guard immediately wield their weapon and become hostile.[26][27][28] If the player answers their query with a different name, they will warn the hero to drop all of their gold, including any gold in open inventory and in containers within that inventory (so stashing cannot fool them). A lawful hero incurs a small alignment record penalty for giving a false name to the guard.[29]
The guard will peacefully escort the hero out as long as they comply with orders, and this can be used to escape a vault if the hero lacks any other means to do so. If a hero does not drop the gold as requested, the guard will repeatedly demand they drop it and eventually turn hostile if they warn the hero enough times, not counting turns where the hero is fainted or paralyzed[30][31][32]—if the hero attempts to pick up the gold they dropped while the guard is watching, the guard will demand they drop it and become hostile if they do not comply;[33] they will also become hostile if the hero drops the gold, but then attempts to pick it up a second time.[34]
A guard will become hostile immediately if the hero attacks them, teleports away with gold, eats the gold, or destroys it (e.g. by polypiling) while the guard can see them.[35][36] Strangely, a hero can freely teleport it away or throw it outside of the vault without angering the guard. Since guards are always generated peaceful, killing a hostile one will still count as murder even if the guard attacks the hero first. A hero that dies or quits near a vault while the guard is present and not peaceful forfeits all their gold to the guard to be placed inside the vault.[37]
A guard that is escorting a hero with no gold out of a vault will open a passage from the vault to a nearby corridor in the dungeon if needed, waiting for the hero to follow them along the path—the guard will also try to pick up and move any loose gold near the vault into it and repair the walls if necessary, moving any monsters blocking their path to a random location on the map.[38][39] Once a hero without gold is successfully escorted to a main dungeon corridor or room, both the guard and the passage will vanish: the guard's inventory is removed, and the passage itself is replaced with unlit solid rock;[40][41][42] items left inside the passage will be embedded in the solid rock, any traps made in the passage being destroyed, and any other monsters caught in the disappearing passage will be moved to a random location on the current level.[43] If a guard is killed in the passageway they create, it will disappear as above, and their corpse and possessions will be left embedded in the stone.[44] A hero that is in the passage when it disappears and is not dead will be encased in the solid rock.[45]
Strategy
Guards have the same speed as an unhasted hero, along with decent armor and a very strong attack—this is mitigated by the fact that guards are relatively easy to avoid fighting, and are usually not worth the effort unless the hero is actively farming them. Being escorted out of a vault is generally a slight inconvenience at worst, since the hero will only have to leave their gold behind; not only can this be worked around, but the hero ocan simply dig or teleport their way back in later to retrieve any gold, and it is even preferable if a hero ends up in a vault with no means of exiting. Once a hero can reliably make their way in and out of vaults, e.g. via controlled teleports, the guard is little more than a minor obstacle.
Some players name their hero Croesus (or one of the acceptable variants mentioned above) to avoid the alignment penalty for lying when using the name to make them leave, though said penalty is small and easily remedied, and such a strategy is also much more common in local play since servers often default to naming the character after the user. While guards can be bribed, this is often a waste of gold even when successful, but can be of use in some corner cases, e.g. to pacify a hostile guard and avoid murder penalties.
Should a hero dealing with a guard somehow get stuck in a disappearing passageway, they can pray to escape: being stuck in a wall is considered a major trouble, and a successful prayer will teleport them out. If teleportation somehow fails, the player will be granted temporary phasing for a handful of turns, which should be enough for them to make it back onto a safe square.
Farming guards
As vault guards do not go extinct, it is possible to farm guards for their inventory, including replacement armor, potions, wands, and even their whistles to use as polyfodder: while chaotic heroes are not penalized for murder and can theoretically farm guards directly, they will still suffer a significant penalty to alignment record. This kind of farming is best done with a pet that is strong enough to kill them quickly, especially with a pet that has a digestion attack such as a purple worm—be sure to monitor your pet's health during and in-between fights where necessary.
Messages
- Suddenly, one of the vault's <guards> enters!
- A guard entered the vault while you were present.
- Someone else has entered the vault.
- As above, but you cannot see or otherwise sense the guard.
- "I'll be back when you're ready to speak to me!"
- You were in an impaired state that prevents you speaking when the guard entered, and they left.
- The guard turns around and leaves, puzzled.
- You were not visible when the guard entered, causing them to leave immediately. This is the result of eating a mimic corpse or polymorphing into a hiding monster and hiding under the gold.
- "Hey! Who left that orange in here?"
- As above, but you were polymorphed from eating a mimic corpse while hallucinating when the guard entered.
- "Hello stranger, who are you?"
- The guard can see you; this will give you a prompt to enter your name.
- You are required to supply your name.
- As above, but you are deaf.
- "Oh, yes, of course. Sorry to have disturbed you."
- You told the guard you are Croesus, Kroisos or Creosote, causing them to leave.
- <The guard> waves goodbye.
- As above, while deaf.
- "Back from the dead, are you? I'll remedy that!"
- As above, but you have already killed Croesus; the guard will become hostile.
- <The guard> mouths something and looks very angry.
- As above, while deaf.
- "I don't know you."
- You gave a different name to the guard.
- <The guard> doesn't <appear to> recognize you.
- As above while deaf, with "appear to" used if the hero is also blind.
- The guard is aware of gold in a container within your inventory.
- <The guard> glares at <you/your stuff>.
- As above, while deaf.
- "Most likely all of your gold was stolen from this vault."
- "Please drop that gold and follow me."
- The guard is aware of gold in your open inventory, and warns you to drop it before they lead you from the vault.
- <The guard> holds out <his/her> palm and beckons with <his/her> other hand.
- As above, while deaf and not blind.
- "I repeat, drop that <hidden> money and follow me!"
- This is printed after the guard warns the hero a few times.
- The guard has issued too many warnings and becomes hostile.
- "Please follow me."
- "Move along!"
- The guard is leading you out of the vault, opening a passageway through the solid rock if needed.
{{message|Suddenly, <the guard> disappears.|The guard vanishes after leading the hero out of the passageway.
- "Drop all your gold, scoundrel!"
- You attempted to pick up the vault's gold again while in their view. The guard will become hostile if they give another warning.
- <The guard> holds out <his/her> palm demandingly!
- As above, while deaf.
- "So be it, rogue!"
- The guard saw you try to pick up vault gold that was dropped a second time, and becomes hostile.
- <The guard> rubs <his/her> hands with enraged delight!
- As above, while deaf.
- You hear the shrill sound of a guard's whistle.
- You fled from a guard without dropping your carried gold while they were watching you, and they blew the whistle in their inventory while out of your view.
- You hear angry shouting.
- As above, but there was no whistle in their inventory.
- You see an angry guard approaching.
- You are confronted by an angry guard.
- You fled from a guard as above, but they are still in your line of sight, with one of the two messages printed depending on how close they are.
- "Well, begone."
- You fled from a guard while not deaf, without any gold on your person.
- <The guard> remits your gold to the vault.
- "To Croesus: here's the gold recovered from <player name> the <rank title>"
- You died or quit with gold while near a non-peaceful guard, and they moved your gold into the vault.
- "Out of my way, scum!"
- A guard displaced a monster to a random location.
- <The guard> whispers an incantation.
- A guard moved gold back into a vault and/or repaired the walls.
- You hear a distant chant.
- As above, while out of your view.
- A mysterious force moves the gold into the vault.
- You saw gold being transported into the vault.
- The damaged vault's walls are magically restored!
- You saw the vault walls being restored.
Encyclopedia entry
- See the encyclopedia entry for human.
References
- ↑ src/makemon.c in NetHack 3.6.7, line 858
- ↑ src/vault.c in NetHack 3.6.7, line 222
- ↑ src/vault.c in NetHack 3.6.7, line 321
- ↑ src/vault.c in NetHack 3.6.7, line 387
- ↑ include/hack.h in NetHack 3.6.7, line 36: guard timer called in vault.c
- ↑ src/makemon.c in NetHack 3.6.7, line 658
- ↑ src/vault.c in NetHack 3.6.7, line 838
- ↑ src/makemon.c in NetHack 3.6.7, line 595
- ↑ src/makemon.c in NetHack 3.6.7, line 625
- ↑ src/makemon.c in NetHack 3.6.7, line 628
- ↑ src/makemon.c in NetHack 3.6.7, line 631
- ↑ src/makemon.c in NetHack 3.6.7, line 634
- ↑ src/makemon.c in NetHack 3.6.7, line 638
- ↑ src/makemon.c in NetHack 3.6.7, line 642
- ↑ src/makemon.c in NetHack 3.6.7, line 646
- ↑ src/makemon.c in NetHack 3.6.7, line 209
- ↑ src/makemon.c in NetHack 3.6.7, line 665
- ↑ src/muse.c in NetHack 3.6.7, line 1052
- ↑ src/muse.c in NetHack 3.6.7, line 2032
- ↑ src/read.c in NetHack 3.6.7, line 2415
- ↑ src/vault.c in NetHack 3.6.7, line 416
- ↑ src/vault.c in NetHack 3.6.7, line 399
- ↑ src/vault.c in NetHack 3.6.7, line 407
- ↑ src/vault.c in NetHack 3.6.7, line 427
- ↑ src/vault.c in NetHack 3.6.7, line 439
- ↑ src/vault.c in NetHack 3.6.7, line 458
- ↑ src/vault.c in NetHack 3.6.7, line 469
- ↑ src/vault.c in NetHack 3.6.7, line 480
- ↑ src/vault.c in NetHack 3.6.7, line 452
- ↑ src/vault.c in NetHack 3.6.7, line 804
- ↑ src/vault.c in NetHack 3.6.7, line 810
- ↑ src/vault.c in NetHack 3.6.7, line 821
- ↑ src/vault.c in NetHack 3.6.7, line 866
- ↑ src/vault.c in NetHack 3.6.7, line 883
- ↑ src/vault.c in NetHack 3.6.7, line 791
- ↑ src/vault.c in NetHack 3.6.7, line 252
- ↑ src/vault.c in NetHack 3.6.7, line 1069
- ↑ src/vault.c in NetHack 3.6.7, line 571
- ↑ src/vault.c in NetHack 3.6.7, line 654
- ↑ src/vault.c in NetwHack 3.6.7, line 46
- ↑ src/vault.c in NetHack 3.6.7, line 122
- ↑ src/vault.c in NetHack 3.6.7, line 144
- ↑ src/vault.c in NetHack 3.6.7, line 90
- ↑ src/vault.c in NetHack 3.6.7, line 176
- ↑ src/vault.c in NetHack 3.6.7, line 108