Difference between revisions of "Grudge"

From NetHackWiki
Jump to navigation Jump to search
(fiqhack: add the specifics of how grudges actually work)
m (FIQHack: Grammar/style)
Line 30: Line 30:
 
[[FIQHack]] includes the following grudges:
 
[[FIQHack]] includes the following grudges:
  
* [[Quest Leaders]] fight all monsters hostile to the player and on adjacent tiles.  The reverse is also true<ref>https://github.com/FredrIQ/fiqhack/blob/865c9091803e844b66255e122877ae6c70950e51/libnethack/src/mon.c#L2270</ref>.
+
* [[Quest Leaders]] fight all monsters hostile to the player and on adjacent tiles.  The reverse is also true.<ref>https://github.com/FredrIQ/fiqhack/blob/865c9091803e844b66255e122877ae6c70950e51/libnethack/src/mon.c#L2270</ref>
* All [[elves]] attack all [[orcs]] on sight. All orcs attack all elves on sight<ref>https://github.com/FredrIQ/fiqhack/blob/865c9091803e844b66255e122877ae6c70950e51/libnethack/src/mon.c#L2145</ref>.
+
* All [[elves]] attack all [[orcs]] on sight. All orcs attack all elves on sight.<ref>https://github.com/FredrIQ/fiqhack/blob/865c9091803e844b66255e122877ae6c70950e51/libnethack/src/mon.c#L2145</ref>
* All [[angel]]s attack all [[demon]]s on sight. All demons attack all angels on sight<ref>https://github.com/FredrIQ/fiqhack/blob/865c9091803e844b66255e122877ae6c70950e51/libnethack/src/mon.c#L2147</ref>.
+
* All [[angel]]s attack all [[demon]]s on sight. All demons attack all angels on sight.<ref>https://github.com/FredrIQ/fiqhack/blob/865c9091803e844b66255e122877ae6c70950e51/libnethack/src/mon.c#L2147</ref>
* [[Woodchuck]]s will attack the [[Oracle]] on sight<ref>https://github.com/FredrIQ/fiqhack/blob/865c9091803e844b66255e122877ae6c70950e51/libnethack/src/mon.c#L2155</ref>. The reverse is not true, but the Oracle does have both a passive defense and special behavior regarding Woodchucks, both predating this.
+
* [[Woodchuck]]s will attack the [[Oracle]] on sight.<ref>https://github.com/FredrIQ/fiqhack/blob/865c9091803e844b66255e122877ae6c70950e51/libnethack/src/mon.c#L2155</ref> The reverse is not true, but the Oracle does have both a passive defense and special behavior regarding Woodchucks, both predating this.
* [[Purple worms]] attack [[shriekers]] on sight.  The reverse is not true<ref>https://github.com/FredrIQ/fiqhack/blob/865c9091803e844b66255e122877ae6c70950e51/libnethack/src/mon.c#L2153</ref>.
+
* [[Purple worms]] attack [[shriekers]] on sight.  The reverse is not true.<ref>https://github.com/FredrIQ/fiqhack/blob/865c9091803e844b66255e122877ae6c70950e51/libnethack/src/mon.c#L2153</ref>
* [[Ravens]] attack [[floating eyes]] on sight.  The reverse is not true<ref>https://github.com/FredrIQ/fiqhack/blob/865c9091803e844b66255e122877ae6c70950e51/libnethack/src/mon.c#L2158</ref>.
+
* [[Ravens]] attack [[floating eyes]] on sight.  The reverse is not true.<ref>https://github.com/FredrIQ/fiqhack/blob/865c9091803e844b66255e122877ae6c70950e51/libnethack/src/mon.c#L2158</ref>
* [[Zombie]]s attack the living when on adjacent tiles.  The reverse is also true<ref>https://github.com/FredrIQ/fiqhack/blob/865c9091803e844b66255e122877ae6c70950e51/libnethack/src/mon.c#L2243</ref>.
+
* [[Zombie]]s attack the living when on adjacent tiles.  The reverse is also true.<ref>https://github.com/FredrIQ/fiqhack/blob/865c9091803e844b66255e122877ae6c70950e51/libnethack/src/mon.c#L2243</ref>
* [[Dogs]] attack [[cats]] when on adjacent tiles (unless they are tame).  The reverse is also true<ref>https://github.com/FredrIQ/fiqhack/blob/865c9091803e844b66255e122877ae6c70950e51/libnethack/src/mon.c#L2250</ref>.
+
* [[Dogs]] attack [[cats]] when on adjacent tiles (unless they are tame).  The reverse is also true.<ref>https://github.com/FredrIQ/fiqhack/blob/865c9091803e844b66255e122877ae6c70950e51/libnethack/src/mon.c#L2250</ref>
  
 
Note that there is a distinction in the FIQHack code between 'grudges' (entities attack each other on sight) and 'adjacent grudges' (entities only attack each other if they are next to each other).
 
Note that there is a distinction in the FIQHack code between 'grudges' (entities attack each other on sight) and 'adjacent grudges' (entities only attack each other if they are next to each other).

Revision as of 00:48, 20 April 2021

Grudge patch
Author Nephi
Download link
NetHack PatchDB 62

The Grudge Patch is a patch by Nephi that introduces new pre-programmed hostilities between certain monsters.

The Grudge Patch is written as a patch against vanilla and can be found wherever Nethack patches are collected.

Modified versions of the Grudge Patch have been incorporated into certain variants.

UnNetHack

UnNetHack includes a modified version of the Grudge patch.

The added hostilities in UnNetHack are as follows:

  • Quest Leaders fight all monsters currently hostile to the player. Any monster currently hostile to the player will also be hostile to the Quest Leader.
  • All elves attack all orcs and kobolds on sight. All orcs and kobolds attack all elves on sight.
  • All angels attack all demons on sight. All demons attack all angels on sight.
  • All Nazgul attack all hobbits on sight. All hobbits attack all Nazgul on sight.
  • All Deep orcs attack all dwarves on sight. All dwarves attack all Deep orcs on sight.
  • Woodchucks will attack the Oracle on sight. The reverse is not true, but the Oracle does have both a passive defense and special behavior regarding Woodchucks, both predating this patch.
  • All ravens will attack all eye-shaped monsters (Floating eyes, evil eyes, beholders (beholders are currently deferred))
  • Dungeon ferns are hostile to everything, and everything is hostile to dungeon ferns.

FIQHack

FIQHack includes the following grudges:

  • Quest Leaders fight all monsters hostile to the player and on adjacent tiles. The reverse is also true.[1]
  • All elves attack all orcs on sight. All orcs attack all elves on sight.[2]
  • All angels attack all demons on sight. All demons attack all angels on sight.[3]
  • Woodchucks will attack the Oracle on sight.[4] The reverse is not true, but the Oracle does have both a passive defense and special behavior regarding Woodchucks, both predating this.
  • Purple worms attack shriekers on sight. The reverse is not true.[5]
  • Ravens attack floating eyes on sight. The reverse is not true.[6]
  • Zombies attack the living when on adjacent tiles. The reverse is also true.[7]
  • Dogs attack cats when on adjacent tiles (unless they are tame). The reverse is also true.[8]

Note that there is a distinction in the FIQHack code between 'grudges' (entities attack each other on sight) and 'adjacent grudges' (entities only attack each other if they are next to each other).

References