Gremlin

From NetHackWiki
Revision as of 00:50, 23 October 2024 by Umbire the Phantom (talk | contribs) (more copyedit and expansion)
Jump to navigation Jump to search

A gremlin, g, is a type of monster that appears in NetHack. The gremlin is a small humanoid monster that is the namesake monster of the gremlin monster class - they are capable of swimming, can be seen via infravision, and can follow the hero to other levels if they are adjacent. Gremlins can duplicate via division if they make contact with water of any kind: a gremlin that makes contact with a fountain, moat, or even a potion of water or rust trap will divide into two gremlins with half the maximum HP of the original, which can dry up fountains and does not respect extinction; they will actively seek out bodies of water for this purpose, and cannot divide if their max HP is 1. Cloned gremlins retain the properties of the original gremlin (including being a shape changer if the original "gremlin" was one).

Gremlins possess two claw attacks, a bite attack, and a third claw attack that deals no damage, but is capable of intrinsic theft at night.[1] They possess poison resistance. Gremlins are uniquely weak to light:

  • 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.[2]
  • A lit Sunsword does an extra d8 damage to gremlins (on top of the weapon's regular damage), and the light it emits will scare them if they are within its radius.[3]

A gremlin corpse is poisonous to eat, and eating a gremlin corpse or tin has a 13 chance (33%) of granting poison resistance.

Chatting to a gremlin causes it to laugh, with one of four different messages - of note is that one of them is the same as the message for a successful intrinsic theft attack.[4][5]

The following information pertains to an upcoming version (3.7.0). If this version is now released, please verify that the information below is still accurate, then update the page to incorporate it.

Per commit f5d88985, a hero in the form of a gremlin can create a tame gremlin clone by using the #monster extended command or sit command while at a fountain or in pool of water.

Generation

Randomly-generated gremlins may be peaceful towards chaotic players.

In addition to random generation, a gremlin always appears within the entrance hall in the second variant of Medusa's Island.

Strategy

Gremlins by themselves are annoying to contend with at absolute worst if the hero is adequately kitted out, but become very risky to deal with at night since they can steal several vital intrinsics, or else cancel certain exotic pets - the intrinsic theft attack can target intrinsics that are hard to obtain or recover, including those from experience level or the hero's race! Thankfully, on top of being somewhat fragile on their own, gremlins can also be disposed of by exploiting their weakness to light.

If you find any gremlins around a significant amount of water, kill them quickly before they can flood the level regardless of the time. This is especially bad for chaotics, who may have gremlins generate as peaceful: killing them yourself may seriously lower your alignment record, all but requiring the use of a pet. Gremlins that have split enough times can be easily killed en masse using a burst of light, but this does not anger peaceful gremlins before killing them, and doing so potentially incurs multiple luck penalties on top of the alignment record penalties.

Pets with multiple attacks like vrocks have the most chance of hitting and killing low-HP divided gremlins before they can retaliate; a magic whistle is also ideal for maneuvering pets around to clear gremlins out of 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—beware if the gremlins manage to score any kills, as this increases their hit point maximum and allows them to divide again.[6]

Gremlins are generally unremarkable as pets outside of their ability to wear non-torso armor and cancel other monsters. However, their division can be put to potentially good use for farming, even without taming them.

Farming

Main article: Farming

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 maximum HP falls to 1, they can divide almost indefinitely if made to kill something and gain max HP via conflict. Provided that non-tame 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;[7][8] 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 section on gremlins in the farming article for additional information.

History

The gremlin first appears in NetHack 2.3e.

Origin

Gremlins are beings that are conceived of as mischievous creatures and blamed for mechanical failures in aircraft in the RAF in the 1920s, and have since been 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.

Messages

<The gremlin> chuckles.
You chatted to a gremlin, with a 14 chance of this message being printed[9]—otherwise, it is night and the gremlin attempted to steal an intrinsic from you or destroyed your clay golem form, or else you saw one use its intrinsic stealing attacking on another monster.[5]
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, or else it used the attack on another monster outside your vision.
Some writing vanishes from your head!
You were polymorphed into a clay golem and hit with the attack. 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.
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.
"Bright light!"
The gremlin flees from the painful light of Sunsword.
A gremlin is scared by

Variants

In games and variants with the Lethe patch applied, gremlins multiply normally in Lethe water.

SLASH'EM

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.

FIQHack

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.

Encyclopedia entry

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.

[ Nightmare at 20,000 Feet, by Richard Matheson ]

References

  1. src/mhitu.c in NetHack 3.6.7, line 1526: Intrinsic theft attack against hero; line 1528 checks if it is night and the attacker is a gremlin, and aborts the sequence otherwise
  2. src/uhitm.c in NetHack 3.6.7, line 3145: Gremlins take damage from light
  3. src/weapon.c in NetHack 3.6.7, line 328
  4. src/sounds.c in NetHack 3.6.7, line 727: MS_LAUGHS() case
  5. 5.0 5.1 src/mhitu.c in NetHack 3.6.7, line 1535
  6. src/makemon.c in NetHack 3.6.7, line 1831: hit points gained after killing another monster
  7. src/mon.c in NetHack 3.6.7, line 2432
  8. src/exper.c in NetHack 3.6.7, line 137
  9. Cite error: Invalid <ref> tag; no text was provided for refs named laughs