The gremlin, g, is a monster that appears in NetHack. Its corpse is poisonous to eat, but has a 33% chance of conveying poison resistance. The gremlin (or gargoyle) monster class, g, is named after them.
In addition to random generation, a gremlin always appears within the entrance hall in the second variant of Medusa's Island. More gremlins can be created via division if they make contact with water (explained in detail below).
Gremlins may be generated peaceful towards chaotic players.
Gremlins are small humanoid creatures that have several unique traits among NetHack monsters:
Gremlins and water
A gremlin that makes any contact with water - e.g., a fountain, moat or even a potion of water hitting them - will divide into two gremlins with half the maximum HP of the original. Gremlins can swim, and will actively seek out moats and fountains for this purpose, which may dry up said fountains. Gremlins cannot divide if their max HP is too low for them to do so (i.e., if their max HP is 1). This division does not respect extinction.
At night (22:00 - 05:59 server/client time), gremlins have the ability to steal intrinsics with their claw attack. Each successful hit with the attack during this period has a 1/10 chance of removing an intrinsic chosen at random from the following list:
List of vulnerable intrinsics
- Fire resistance
- Poison resistance
- Cold resistance
- See invisible
- Aggravate monster
The first in the range of selected intrinsics will be lost; if you have none of the intrinsics from the chosen one downward, none are lost.
The game tracks intrinsics (from corpses, altar work, potions, wands), extrinsics (from jewelry, armor, artifacts), and role/race properties separately from each other - e.g., if a gremlin steals poison resistance from a high-level monk or a hero in an alchemy smock, the hero will still resist poison as long as they do not lose levels or remove the smock, respectively. In vanilla, the only other method of intrinsic loss that follows this ruleset is to eat the corpse of a disenchanter.
The attack is not affected by magic cancellation, though it can still be prevented by canceling the monster. A player polymorphed into a clay golem that is hit by this attack will revert to their original form, even if they have unchanging. When successfully used against other monsters, the special attack cancels them instead; clay golems are instantly destroyed as with other cancellation attacks.
Gremlins and light
Gremlins are harmed by bursts of light, as well as light-based weaponry.
- Zapping a wand of light, reading a scroll of light, or casting the light spell will do d5 damage to gremlins in the light radius.
- Breaking a wand of light will do (1 + charges)d4 damage to gremlins in the blast radius.
- Flashing an expensive camera will do d4 damage to gremlins caught in the flash.
- A lit Sunsword does an extra d8 damage to gremlins (on top of the weapon's regular damage).
If you find any gremlins around a significant amount of water, kill them quickly before they can flood the level. This is especially bad for chaotics, who may have gremlins generate as peaceful - killing them yourself may seriously lower alignment record. Pets with multiple attacks like vrocks are preferable as they have the most chance to land even one attack and kill the gremlin before it can retaliate; a magic whistle is also ideal for levels like Medusa's Island and Juiblex's Swamp. Conflict can also be a useful way to mop up a crowd of peaceful gremlins if there are far stronger monsters around them though beware if the gremlins manage to score any kills (see the farming section below for details).
Gremlins are generally unremarkable as pets outside of their ability to cancel other monsters. However, their division can be put to potentially good use in the case of both tame and non-tame gremlins.
If you find yourself with a tame gremlin, but don't particularly want one and have a means of polymorphing handy (e.g., a polymorph trap), consider allowing it to split a few times so you can polymorph the resulting gremlins into more powerful pets. If you let them divide as much as possible, you will end up with a legion of 1 HP pets that die once anything lands a damaging hit on them - however, there will be more than enough left over to ensure that you can turn at least some of them into useful allies.
While gremlins normally stop dividing once their it maximum falls to 1, they can divide indefinitely if made to kill something via conflict, which increases their hit point maximum and allows it to divide again. Provided that hostile gremlins are given enough time to heal and divide, they can be farmed somewhat like puddings. While cloned monsters do not leave death drops at all and give diminishing experience returns, gremlin corpses can still be used for sacrifice; it is also worth noting that gremlins are followers, and can thus be brought to levels with water via level teleport or branchport. See the farming section on gremlins for additional information.
Originally, gremlins were mischievous creatures blamed for mechanical failures in aircraft in the RAF in the 1920s; they were popularized by children's author Roald Dahl and a related Disney animated short. The concept of gremlins that multiply in water and have a vulnerability to light comes from the 1984 movie Gremlins.
- The gremlin chuckles.
- It is night, and the gremlin may have stolen an intrinsic from you, destroyed your clay golem form, or used its intrinsic stealing attacking on another monster. You still hear a chuckle if the attack chose intrinsics you didn't have.
- You hear laughter.
- It is night, and the gremlin has stolen an intrinsic from you or destroyed your clay golem form while you were blind. Also produced if a gremlin uses the attack on another monster outside your vision.
- Some writing vanishes from your head!
- You were polymorphed into a clay golem. This will return you to your original form, even with unchanging.
- Some writing vanishes from <its> head!
- You saw a gremlin destroy a clay golem with its intrinsic-stealing attack.
- You feel warmer.
- You lost intrinsic fire resistance.
- You feel less jumpy.
- You lost intrinsic teleportitis.
- You feel a little sick!
- You lost intrinsic poison resistance.
- Your senses fail!
- You lost intrinsic telepathy.
- You feel cooler.
- You lost intrinsic cold resistance.
- You feel paranoid.
- You lost intrinsic invisibility.
- You thought you saw something!
- You lost the see invisible intrinsic while not hallucinating.
- You tawt you taw a puttie tat!
- You lost the see invisible intrinsic while hallucinating.
- You feel slower.
- You lost intrinsic speed.
- You feel clumsy.
- You lost intrinsic stealth.
- You feel vulnerable.
- You lost intrinsic protection.
- You feel less attractive.
- You lost the aggravate monster intrinsic.
- The gremlin cries out in pain!
- A gremlin was hit by light and took damage.
- The gremlin wails in agony!
- A gremlin was hit by light and took damage greater than half its current HP.
In SLASH'EM, a chaotic character that is XL 3 or lower may receive a gremlin as a gifted minion from their god. The galltrit, a deferred monster, is a type of gremlin that has a similar intrinsic-stealing attack.
- See also: Gremlin (starting race)
In Slash'EM Extended, gremlins are one of the many playable races.
Standard gremlins are always capable of stealing intrinsics, but at night the chance is much higher, and they can generally steal just about any intrinsic, including hard-to-regain ones like magic resistance or polymorph control.
In FIQHack, gremlins can always steal intrinsics, regardless of the time of day; instead of simply removing the intrinsic from your character, they also acquire the intrinsic for themselves.
The gremlin is a highly intelligent and completely evil
creature. It lives to torment other creatures and will go
to great lengths to inflict pain or cause injury.
Suddenly, Wilson thought about war, about the newspaper
stories which recounted the alleged existence of creatures in
the sky who plagued the Allied pilots in their duties. They
called them gremlins, he remembered. Were there, actually,
such beings? Did they, truly, exist up here, never falling,
riding on the wind, apparently of bulk and weight, yet
impervious to gravity?
He was thinking that when the man appeared again.
- src/mhitu.c in NetHack 3.6.1, line 1476: Intrinsic-stealing
- attrcurse in sit.c in NetHack 3.6.1: Possible stolen intrinsics
- light_hits_gremlin in src/uhitm.c in NetHack 3.6.1: Gremlins take damage from light
- src/weapon.c in NetHack 3.6.2, line 328
- makemon.c in NetHack 3.4.3, line 1430: hit points gained after killing another monster
- mon.c in NetHack 3.6.0, line 2202
- exper.c in NetHack 3.6.0, line 133