Difference between revisions of "Officer"

From NetHackWiki
Jump to navigation Jump to search
m (add (currently non-existent) page link for Shiny Magnum)
(de-SLEX and tag)
Line 1: Line 1:
 +
{{todo|Role exists de-SLEXed in [[SlashTHEM]] - retool accordingly}}
 
{{wikipedia|Police officer}}
 
{{wikipedia|Police officer}}
  
The '''Officer''' is a [[role]] in the variants [[Slash'EM Extended]] and [[SlashTHEM]].   
+
The '''Officer''' is a [[role]] in the variant and [[SlashTHEM]].   
  
 
The Officer first appeared in an early version of [[SLASH'EM]] ([[NetHack-- 3.0.10]]) but was dropped from the code at the time the [[quest]] branch was ported into that variant.  The role was later revived and given a quest in Slash'EM Extended.
 
The Officer first appeared in an early version of [[SLASH'EM]] ([[NetHack-- 3.0.10]]) but was dropped from the code at the time the [[quest]] branch was ported into that variant.  The role was later revived and given a quest in Slash'EM Extended.
Line 7: Line 8:
 
==Skills==
 
==Skills==
 
NetHack-- 3.0.10 was based on [[NetHack 3.0.10]], which predated the [[skill]] system, so Officers could use any weapons.  
 
NetHack-- 3.0.10 was based on [[NetHack 3.0.10]], which predated the [[skill]] system, so Officers could use any weapons.  
 
The Slash'EM Extended code describes the Officer as a "master of all weapons", though completely lacking in spellcasting skills:
 
 
{| class="prettytable"
 
! colspan="2" style="font-size:larger" | Officer skills
 
|-
 
! Max !! Skills
 
|-
 
| Expert
 
|
 
* ''Weapons:'' [[dagger]], [[knife]], [[axe]], [[pick axe]], [[short sword]], [[broad sword]], [[long sword]], [[two handed sword]], [[scimitar]], [[saber]], [[club]], [[paddle]], [[mace]], [[morning star]], [[flail]], [[hammer]], [[quarterstaff]], [[polearms]], [[spear]], [[javelin]], [[trident]], [[lance]], [[bow]], [[crossbow]], [[sling]], [[dart]], [[firearms]], [[shuriken]], [[boomerang]], [[whip]], [[unicorn horn]], [[lightsaber]]
 
* ''Combat:'' [[riding]], [[two weapon combat]], [[bare hands]]
 
|}
 
  
 
SlashTHEM restricts the Officer's selection of weapon skills and adds some moderate spellcasting skills:
 
SlashTHEM restricts the Officer's selection of weapon skills and adds some moderate spellcasting skills:
Line 73: Line 61:
 
NetHack-- did not include [[firearms]], so originally the Officer's only starting means of defense/offense was a club and the two wands, which were probably meant to represent sidearms.  Both current incarnations of the role have the wands, even though the Officer now gets a gun.  The SlashTHEM Officer starts with the club wielded.
 
NetHack-- did not include [[firearms]], so originally the Officer's only starting means of defense/offense was a club and the two wands, which were probably meant to represent sidearms.  Both current incarnations of the role have the wands, even though the Officer now gets a gun.  The SlashTHEM Officer starts with the club wielded.
  
In NetHack--, the Officer's starting food was a stack of doughnuts, which were replaced in Slash'EM Extended with Hacker's Foods, a [[comestible]] borrowed from [[NetHack: The Next Generation]] as part of the starting inventory of the [[Geek]] role.  SlashTHEM reintroduces doughnuts both as the Officer's snack, and as a food item that can be randomly generated.
+
In NetHack--, the Officer's starting food was a stack of doughnuts; this is also true of SlashTHEM, which also makes them a food item that can be randomly generated.
  
In Slash'EM Extended, Officers start with a [[pet]] [[player monster]] officer, complete with [[Monster starting inventory|gear]], which guarantees the player access to a second [[pistol]].  In SlashTHEM, this is changed to a (unarmed) tame [[little dog]].
+
In SlashTHEM, Officers start with a tame [[little dog]].
  
*Slash'EM Extended u_init.c line 443
 
 
*SlashTHEM u_init.c line 223 in v. 0.8
 
*SlashTHEM u_init.c line 223 in v. 0.8
  
 
==Rank titles==
 
==Rank titles==
In Slash'EM Extended, the [[status line]] shows you to be one of the following ranks when you reach the specified [[experience level]]:
 
 
* XL 1-2: Street Cop
 
* XL 3-5: Traffic Officer
 
* XL 6-9: Patrolling Cop
 
* XL 10-13: Strifer
 
* XL 14-17: Crime Scene Cop
 
* XL 18-21: Junior Sheriff
 
* XL 22-25: Deputy Sheriff
 
* XL 26-29: Wild-West Sheriff
 
* XL 30: Cop Chief
 
 
 
SLASHTHEM has a different set of rank titles:
 
SLASHTHEM has a different set of rank titles:
  
Line 104: Line 79:
 
* XL 26-29: Police Chief
 
* XL 26-29: Police Chief
 
* XL 30: Commissioner
 
* XL 30: Commissioner
 
Slash'EM Extended role.c line 1841
 
  
 
SlashTHEM role.c line 1059
 
SlashTHEM role.c line 1059
Line 114: Line 87:
 
SlashTHEM gives the Officer a new [[quest artifact]], the Whistle of the Warden, a lawful [[magic whistle]] which grants [[telepathy]], [[teleport control]], and [[drain resistance]] while carried.  It can be invoked for "leadership", revealing the location of all [[pet]]s on the level and increasing the [[tameness]] of those within line of sight.
 
SlashTHEM gives the Officer a new [[quest artifact]], the Whistle of the Warden, a lawful [[magic whistle]] which grants [[telepathy]], [[teleport control]], and [[drain resistance]] while carried.  It can be invoked for "leadership", revealing the location of all [[pet]]s on the level and increasing the [[tameness]] of those within line of sight.
  
*Slash'EM Extended artilist.h line 522
 
 
*SlashTHEM artilist.h line 621
 
*SlashTHEM artilist.h line 621
  
Line 123: Line 95:
  
 
==History==
 
==History==
The Officer's first appearance was in [[SLASH'EM]] precursor [[NetHack-- 3.0.10]], as one of nine new roles in addition to the twelve in [[NetHack 3.0.10|the contemporary version of NetHack]]. The discussion thread in which the authors first announced the variant suggests that some of the new roles were taken from a list proposing a role for every letter of the alphabet. See [https://groups.google.com/d/msg/rec.games.hack/jg8YtQX1M3Y/tbBlteXdYY8J here] for the relevant post.
+
The Officer's first appearance was in [[SLASH'EM]] precursor [[NetHack-- 3.0.10]], as one of nine new roles in addition to the twelve in [[NetHack 3.0.10|the contemporary version of NetHack]]. The discussion thread in which the authors first announced the variant suggests that some of the new roles were taken from a list proposing a role for every letter of the alphabet. See [https://groups.google.com/d/msg/rec.games.hack/jg8YtQX1M3Y/tbBlteXdYY8J here] for the relevant post.
  
After the release of [[NetHack 3.1.3]] in 1993, NetHack-- was updated to [[NetHack-- 3.1.3]] by porting some of the changes from NetHack-- 3.0.10 into a patch for the newest version. Due to some changes in the vanilla code, however, some content was removed to improve compatibility with NetHack. Most significantly, NetHack 3.1 had seen the addition of the [[Quest]] branch. To avoid the challenge of fitting full-length quests for the roles that had been added in NetHack-- 3.0.10 into the patch code, those roles were simply left out of the patch.
+
After the release of [[NetHack 3.1.3]] in 1993, NetHack-- was updated to [[NetHack-- 3.1.3]] by porting some of the changes from NetHack-- 3.0.10 into a patch for the newest version. Due to some changes in the vanilla code, however, some content was removed to improve compatibility with NetHack. Most significantly, NetHack 3.1 had seen the addition of the [[Quest]] branch. To avoid the challenge of fitting full-length quests for the roles that had been added in NetHack-- 3.0.10 into the patch code, those roles were simply left out of the patch.
  
The Officer role, along with the other eight new roles in NetHack-- 3.0.10, made its reappearance in the variant Slash'EM Extended.  It was also carried over, with some tweaks, into SlashTHEM, a variant of Slash'EM Extended v75.
+
The Officer role, along with the other eight new roles in NetHack-- 3.0.10, made its reappearance in the variant SlashTHEM.
  
 
==References==
 
==References==
Line 135: Line 107:
  
 
[[Category:Defunct features (SLASH'EM)]]
 
[[Category:Defunct features (SLASH'EM)]]
[[Category:Slash'EM Extended]]
+
[[Category:SlashTHEM roles]]
[[Category:Slash'EM Extended roles]]
 
 
[[Category:SlashTHEM]]
 
[[Category:SlashTHEM]]

Revision as of 23:20, 4 October 2022

A user has suggested improving this page or section as follows:

"Role exists de-SLEXed in SlashTHEM - retool accordingly"

The Officer is a role in the variant and SlashTHEM.

The Officer first appeared in an early version of SLASH'EM (NetHack-- 3.0.10) but was dropped from the code at the time the quest branch was ported into that variant. The role was later revived and given a quest in Slash'EM Extended.

Skills

NetHack-- 3.0.10 was based on NetHack 3.0.10, which predated the skill system, so Officers could use any weapons.

SlashTHEM restricts the Officer's selection of weapon skills and adds some moderate spellcasting skills:

Officer skills
Max Skills
Basic
Skilled
Expert

The Officer's special spell is resist petrification. Spell success is determined by intelligence.

  • Slash'EM Extended u_init.c line 3620
  • SlashTHEM u_init.c line 1804 in v. 0.8

Intrinsics

Starting equipment

SlashTHEM slightly modifies the officer's starting equipment:

NetHack-- did not include firearms, so originally the Officer's only starting means of defense/offense was a club and the two wands, which were probably meant to represent sidearms. Both current incarnations of the role have the wands, even though the Officer now gets a gun. The SlashTHEM Officer starts with the club wielded.

In NetHack--, the Officer's starting food was a stack of doughnuts; this is also true of SlashTHEM, which also makes them a food item that can be randomly generated.

In SlashTHEM, Officers start with a tame little dog.

  • SlashTHEM u_init.c line 223 in v. 0.8

Rank titles

SLASHTHEM has a different set of rank titles:

  • XL 1-2: Coffee Boy/Girl
  • XL 3-5: Cadet
  • XL 6-9: Meter Man/Maid
  • XL 10-13: Rookie
  • XL 14-17: Beat Cop
  • XL 18-21: Sergeant
  • XL 22-25: Captain
  • XL 26-29: Police Chief
  • XL 30: Commissioner

SlashTHEM role.c line 1059

Quest

The quest sees the Officer fighting Grandpa Tank Breaker for the Shiny Magnum, a lawful pistol with to-hit and physical damage bonuses.

SlashTHEM gives the Officer a new quest artifact, the Whistle of the Warden, a lawful magic whistle which grants telepathy, teleport control, and drain resistance while carried. It can be invoked for "leadership", revealing the location of all pets on the level and increasing the tameness of those within line of sight.

  • SlashTHEM artilist.h line 621

Gods

  • Lawful: Magnum
  • Neutral: Smith
  • Chaotic: Wesson

History

The Officer's first appearance was in SLASH'EM precursor NetHack-- 3.0.10, as one of nine new roles in addition to the twelve in the contemporary version of NetHack. The discussion thread in which the authors first announced the variant suggests that some of the new roles were taken from a list proposing a role for every letter of the alphabet. See here for the relevant post.

After the release of NetHack 3.1.3 in 1993, NetHack-- was updated to NetHack-- 3.1.3 by porting some of the changes from NetHack-- 3.0.10 into a patch for the newest version. Due to some changes in the vanilla code, however, some content was removed to improve compatibility with NetHack. Most significantly, NetHack 3.1 had seen the addition of the Quest branch. To avoid the challenge of fitting full-length quests for the roles that had been added in NetHack-- 3.0.10 into the patch code, those roles were simply left out of the patch.

The Officer role, along with the other eight new roles in NetHack-- 3.0.10, made its reappearance in the variant SlashTHEM.

References

  • NetHack-- 3.0.10 attrib.c line 84
  • NetHack-- 3.0.10 u_init.c line 186