Difference between revisions of "Grudge"

From NetHackWiki
Jump to navigation Jump to search
m (pothole)
m (pothole)
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
  |name=Grudge patch
 
  |name=Grudge patch
 
  |author=Nephi
 
  |author=Nephi
  |download=http://bilious.alt.org/?62
+
  |download=http://nhpatchdb.alt.org/?62
 
  |bilious=62
 
  |bilious=62
 
}}
 
}}
Line 8: Line 8:
 
The Grudge Patch is a [[patch]] by Nephi that introduces new pre-programmed hostilities between certain monsters.
 
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.
+
The Grudge Patch is written as a patch against vanilla ''NetHack'', and modified versions of the Grudge Patch have been incorporated into certain variants.
 
 
Modified versions of the Grudge Patch have been incorporated into certain variants.
 
 
 
== UnNetHack ==
 
  
 +
==UnNetHack==
 
[[UnNetHack]] includes a modified version of the Grudge patch.
 
[[UnNetHack]] includes a modified version of the Grudge patch.
  
 
The added hostilities in UnNetHack are as follows:
 
The added hostilities in UnNetHack are as follows:
 
* [[Quest#Quest leaders and nemeses|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.
 
* [[Quest#Quest leaders and nemeses|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 [[elf|elves]] attack all [[orc]]s and [[kobold]]s on sight. All orcs and kobolds attack all elves on sight.
+
* All [[Elf (monster attribute)|elves]] attack all [[Orc (monster attribute)|orcs]] and [[kobold]]s on sight. All orcs and kobolds attack all elves on sight.
* All [[angel]]s attack all [[demon]]s on sight. All demons attack all angels on sight.
+
* All [[angel]]s attack all [[major demon]]s on sight. All demons attack all angels on sight.
 
* All [[Nazgul]] attack all [[hobbit]]s on sight. All hobbits attack all Nazgul on sight.
 
* All [[Nazgul]] attack all [[hobbit]]s on sight. All hobbits attack all Nazgul on sight.
* All [[Deep orc]]s attack all [[dwarf|dwarves]] on sight. All dwarves attack all Deep orcs on sight.
+
* All [[deep orc]]s attack all [[Dwarf (monster attribute)|dwarves]] on sight. All dwarves attack all deep orcs on sight.
 
* [[Woodchuck]]s 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.
 
* [[Woodchuck]]s 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 [[raven]]s will attack all eye-shaped monsters (Floating eyes, evil eyes, beholders (beholders are currently deferred))
 
* All [[raven]]s will attack all eye-shaped monsters (Floating eyes, evil eyes, beholders (beholders are currently deferred))
 
* [[Dungeon fern]]s are hostile to everything, and everything is hostile to dungeon ferns.
 
* [[Dungeon fern]]s are hostile to everything, and everything is hostile to dungeon ferns.
  
== FIQHack ==
+
==FIQHack==
 
 
 
[[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 leader]]s 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, and vice versa.<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 angels attack all major demons on sight, and vice versa.<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 worm]]s attack [[shrieker]]s on sight. The reverse is not true.<ref>https://github.com/FredrIQ/fiqhack/blob/865c9091803e844b66255e122877ae6c70950e51/libnethack/src/mon.c#L2153</ref>
* [[Raven]]s attack [[floating eyes]] on sight. The reverse is not true.<ref>https://github.com/FredrIQ/fiqhack/blob/865c9091803e844b66255e122877ae6c70950e51/libnethack/src/mon.c#L2158</ref>
+
* [[Raven]]s 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, and vice versa.<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>
+
* [[Dog]]s attack [[cat]]s when on adjacent tiles (unless they are tame), and vice versa.<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).
  
== References ==
+
==References==
 
<references/>
 
<references/>
 
 
[[Category:Patches]]
 
[[Category:Patches]]
 +
[[Category:UnNetHack]]
 
[[Category:FIQHack]]
 
[[Category:FIQHack]]

Latest revision as of 16:50, 10 March 2024

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 NetHack, and 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 major 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, and vice versa.[2]
  • All angels attack all major demons on sight, and vice versa.[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, and vice versa.[7]
  • Dogs attack cats when on adjacent tiles (unless they are tame), and vice versa.[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