Difference between revisions of "NetHackWiki:Sandbox"

From NetHackWiki
Jump to navigation Jump to search
(tiny table sort)
 
(103 intermediate revisions by 22 users not shown)
Line 1: Line 1:
{{monster
+
Hi #nethackwiki!
|name=dragon
 
|symbol={{monsym|gray_dragon}}{{monsym|silver_dragon}}{{monsym|shimmering_dragon}}{{monsym|red_dragon}}{{monsym|white_dragon}}{{monsym|orange_dragon}}{{monsym|black_dragon}}{{monsym|blue_dragon}}{{monsym|green_dragon}}{{monsym|yellow_dragon}}
 
|tile=[[Image:Dragons.png|Adult dragons]]
 
|difficulty=20
 
|level=15
 
|experience=525
 
|speed=9
 
|AC=-1
 
|MR=20
 
|align=-7 ''(blue)''
 
  
-6 ''(black)''
+
Testing simple tabs:
  
-5 ''(white)''
 
  
-4 ''(red)''
+
<simpletabs>
 
+
Tab 1 name|Contents for tab 1
4 ''(gray, silver)''
+
|-|
 
+
Tab 2 name|Contents for tab 2, contents can be multiple lines
5 ''(orange)''
+
and wiki markup too, like this large kobold monster template.
 
 
6 ''(green)''
 
 
 
7 ''(yellow)''
 
|frequency=Very rare
 
|genocidable=Yes
 
|attacks=Breath ''(see article)'', bite 3d8, claw 1d4, claw 1d4
 
|weight=4500
 
|nutr=1500
 
|size=Gigantic
 
|resistances=''(see article)''
 
|resistances conveyed=''(see article)''
 
}}
 
 
{{monster
 
{{monster
  |name=baby dragon
+
  |name=large kobold
|symbol={{monsym|baby_gray_dragon}}{{monsym|baby_silver_dragon}}{{monsym|baby_shimmering_dragon}}{{monsym|baby_red_dragon}}{{monsym|baby_white_dragon}}{{monsym|baby_orange_dragon}}{{monsym|baby_black_dragon}}{{monsym|baby_blue_dragon}}{{monsym|baby_green_dragon}}{{monsym|baby_yellow_dragon}}
+
  |difficulty=2
|tile=[[Image:Baby dragons.png|Baby dragons]]
+
  |level=1
  |difficulty=13
+
  |experience=13
  |level=12
+
  |speed=6
  |experience=273
+
  |AC=10
  |speed=9
+
  |MR=0
  |AC=2
+
  |align=-3
  |MR=10
+
  |frequency=1
  |align=0
 
  |frequency=Not randomly generated
 
 
  |genocidable=Yes
 
  |genocidable=Yes
  |attacks=Bite 2d6
+
  |attacks=Weapon 1d6
  |weight=1500
+
  |weight=450
  |nutr=500
+
  |nutr=150
  |size=Huge
+
  |size=Small
  |resistances=''(see article)''
+
  |resistances=Poison
 
  |resistances conveyed=None
 
  |resistances conveyed=None
 +
|attributes={{attributes|A large kobold|
 +
|humanoid=1|pois=1|omnivore=1|hostile=1|collect=1|infravisible=1|infravision=1}}
 +
|reference=[[monst.c#line576]]
 
}}
 
}}
 +
|-|
 +
Tab 3 name|Contents for tab 3. The contents will shrink to match the content height.
 +
</simpletabs>
 +
  
The '''dragons''', represented by the overall glyph {{white|D}}, are a [[monster class|class]] of very powerful mid-game [[monster]] in ''[[NetHack]]'' and coveted for the scales they sometimes drop. With some superficial differences, they are nearly identical. Each of them has a nasty breath associated with their resistance. There are also baby dragons, which do not have a breath attack. Baby dragons randomly occur only on those levels that are eligible for baby monsters; otherwise they can be created by hatching from [[egg]]s.
+
<references/>
  
Each dragon has a specific resistance associated with it. Eating some dragon [[corpse]]s can give you the associated [[intrinsics]]; others can give you the extrinsic ability by enchanting their scales to make [[dragon scale mail]]. (Note that dragon corpses are very filling so using a [[tinning kit]] is often a good idea.) Dragons will always leave corpses, and have a 1 in 3 chance of also dropping scales (1 in 20 if the dragon was revived). Baby dragon corpses do not grant intrinsics, nor do they drop scales.
 
  
The {{monsymlink|Chromatic Dragon}}, the [[Caveman]] [[quest nemesis]], is a special sort of dragon. Eating its corpse conveys a random resistance.
+
test nowrap
  
A shimmering dragon, whose scales grant [[displacement]], appears in the code, but is commented out by default, because monster displacement has [[deferred features|not yet been implemented]] in vanilla ''NetHack''.  However, [[shimmering dragon (SLASH'EM)|these creatures]] do appear in ''[[SLASH'EM]]''.
+
Clear the lower half, using the 'loop' above '''M''' and the 2x3 turning space in the lower left. (Notice how the end is always 'lllrrrrrrruurdrrrrrr*', with the number of 'r's depending on the number of filled holes.)
 +
&nbsp;----    ----------- '''M''' rdrr r*
 +
--.@--------  |.........| '''N''' rrrr rrru urdr rrr*
 +
|..........|  |.........| '''K''' ddll lllr rrrr rruu rdrr rrr*
 +
|.A-----.-.|  |.........| '''L''' ddll lrrr rrrr uurd rrrr rr*
 +
  |..|...|CF.|  |....&lt;....| '''P''' rdrr uurd rrrr rrr*
 +
|.D.E.B...-|  |.........| '''I''' drdd drru urdr rrrr rrr*
 +
|.G..H..|..|  |.........|
 +
|.----I.--.|  |.........|
 +
|..J.....|.--  |.........|
 +
|.---L-K.M..------------+|
 +
|...|.P.-....^^^^^^^^^^^.|
 +
|.N.......----------------
 +
-----..|..|
 +
    -------
 +
H̡̫̤̤̣͉̤ͭ̓̓̇͗̎̀
  
Dragons are guaranteed on the [[Castle]] level, at [[Fort Ludios]], and they are randomly generated at rather deep dungeon levels by [[normal mechanism|normal random monster generation]], on the [[healer quest]], or in [[throne room]]s<ref>[[Source:Mkroom.c#courtmon]]</ref>. Other powerful monsters may generate them with the [[summon nasties]] spell.
 
  
==Breath weapons and resistances==
 
  
{|style="border:none; margin:0; padding:0;" class="prettytable"
+
Test sort table:
!Dragon
+
{| class="wikitable sortable"
!Breath ''(4d6 unless otherwise noted)''
 
!Intrinsics/scales
 
!Corpse conveys...
 
|-
 
|Blue
 
|[[lightning]]
 
|[[shock resistance]]
 
|same (100%)
 
 
|-
 
|-
|Black
+
! Title
|[[disintegration]]
 
|[[disintegration resistance]]
 
|same (100%)
 
 
|-
 
|-
|Gray
+
| [[B]]
|[[magic missile]]
 
|[[magic resistance]]
 
|nothing (magic resistance cannot be gained intrinsically)
 
 
|-
 
|-
|Green
+
| [[C]]
|[[poison]]
 
|[[poison resistance]]
 
|same (100%)
 
 
|-
 
|-
|Orange
+
| [[A]]
|[[sleep]], 4d25 turns
 
|[[sleep resistance]]
 
|same  (100%)
 
|-
 
|Red
 
|[[fire]] 6d6
 
|[[fire resistance]]
 
|same (100%)
 
|-
 
|Silver
 
|[[cold]]
 
|[[reflection]]
 
|nothing (reflection cannot be gained intrinsically)
 
|-
 
|White
 
|[[cold]]
 
|[[cold resistance]]
 
|same (100%)
 
|-
 
|Yellow
 
|[[acid]]
 
|[[acid resistance]] and [[petrification resistance]]; only acid resistance is provided by scales
 
|nothing (neither resistance can be gained intrinsically)
 
 
|}
 
|}
  
==Black dragon==
 
  
A '''black dragon''' is the only source of [[disintegration resistance]] in the game; this might make acquiring disintegration resistance tricky were it not for the fact that reflection is a reliable defense against the black dragon's disintegration blasts. (The only other disintegration is wide-angle disintegration beams from angry gods, which can't be reflected.)
+
Test math
  
==Gray dragon==
 
  
A '''gray dragon''' (or baby gray dragon) is often the eventual result of repeatedly displacing your [[pet]] onto a [[polymorph trap]], because it is magic resistant, and hence will polymorph no further.  However, it can still polymorph if it eats a [[chameleon]] or [[doppelganger]] corpse.
+
:<math> i \cdot \operatorname{rne}(4) \cdot \frac{666 + \operatorname{rnz}(202)}{1999}</math>
 
 
==Red dragon==
 
 
 
There is a guaranteed '''red dragon''' on the [[Plane of Fire]] - the only place in the game where a specific color dragon is generated -- not counting [[Ixoth]], the [[Knight]] [[quest nemesis]].
 
 
 
==Fighting dragons==
 
Dragons will use their breath weapons only at range (i.e. more than one square from the character), meaning that if you can close to within melee distance, you can avoid the dangerous attacks in favour of the relative "safety" of their physical melee attacks. This is useful for characters without [[magic cancellation]], [[magic resistance]] or [[reflection]] to avoid or negate their elemental fire, cold, lightning, poison or disintegration beams.
 
 
 
Dragons are considered [[kebabable]], able to be skewered, and you receive a +2 [[to-hit]] bonus when using a weapon that uses the [[spear]] or [[javelin]] skills.
 
 
 
==As pets==
 
Dragons are excellent if you ever get one. The easiest way to get a dragon pet is through a dragon [[egg]], the egg may be obtained by polymorphing in any of the dragon and then [[sit]]ting if your character is female. If you repeatedly displace your pet onto a [[polymorph trap]] you will often end up with a gray dragon, since they are magic-resistant and will not polymorph further.
 
 
 
The most recommendable color for dragons are Silver and Grey; they are immune to [[death ray]]s
 
and the former is also immune to [[disintegration]], while the latter is immune to [[levelport]] and
 
[[polymorph trap]]s. Yellow is a good option too due to being [[stoning]]-resistant.
 
 
 
Pet dragons can be used as [[Riding|steeds]] with the advantages of being able to [[fly]], being carnivorous, and being very easy to feed. However, they are quite slow.
 
 
 
==In [[SLASH'EM]]==
 
In [[SLASH'EM]] the Hydra and wyvern monsters also use the {{white|D}} glyph. SLASH'EM also added two new dragons, The Shimmering {{cyan|D}} and Deep {{magenta|D}} variants.  Baby dragons have a base level of 4 instead of 12, and adult dragons have a base level of 18 instead of 15. Also, baby dragons can be randomly generated on all levels, even in places in Nethack that normally had guaranteed adults dragons, such as [[Fort Ludios]] or [[Castle|The Castle]]. As a result of the changed monster polymorph rules, increased difficulty of adult dragons, removal of most guaranteed adult dragons, and increased level difference between adult and baby forms, dragon scale mail is significantly harder to come across in SLASH'EM without using [[Genocide#reverse_genocide|reverse genocide]] or a [[wish]].
 
 
 
Interestingly, blue, black, white, red, and orange dragons have a chance of turning [[pet (SLASH'EM)#treachery|traitor]], while gray, silver, green, and yellow do not.
 
 
 
==Encyclopedia entry==
 
 
 
{{encyclopedia|<poem>
 
In the West the dragon was the natural enemy of man.  Although
 
preferring to live in bleak and desolate regions, whenever it
 
was seen among men it left in its wake a trail of destruction
 
and disease.  Yet any attempt to slay this beast was a perilous
 
undertaking.  For the dragon's assailant had to contend
 
not only with clouds of sulphurous fumes pouring from its fire
 
breathing nostrils, but also with the thrashings of its tail,
 
the most deadly part of its serpent-like body.
 
{{right-align|[ Mythical Beasts by Deirdre Headon (The Leprechaun Library) ]}}
 
 
 
"One whom the dragons will speak with," he said, "that is a
 
dragonlord, or at least that is the center of the matter.  It's
 
not a trick of mastering the dragons, as most people think.
 
Dragons have no masters.  The question is always the same, with
 
a dragon:  will he talk to you or will he eat you?  If you can
 
count upon his doing the former, and not doing the latter, why
 
then you're a dragonlord."
 
{{right-align|[ The Tombs of Atuan, by Ursula K. Le Guin ]}}
 
</poem>}}
 
 
 
==History==
 
 
 
[[Hack 1.0]] has a dragon that does not have an explicit color.  This early dragon breathes fire and its corpse confers [[fire resistance]], making it equivalent to the modern red dragon.
 
 
 
[[NetHack 2.3e]] introduces all of the modern dragon types except silver.  The corpse is still just a "dead dragon", without reference to the color, and eating it confers fire resistance, regardless of the type of dragon.  Black dragon breath causes [[instadeath]], and there is no [[reflection]], [[disintegration resistance]], or [[amulet of life saving]], making [[genocide]] tempting; but fire resistance is necessary to enter [[Hell]], and there's no way to genocide only black dragons.
 
 
 
[[NetHack 3.0.0]] introduces baby dragons, makes the corpses separate, and also introduces dragon scale mail.  Dragon scale mail is obtained by [[polymorph]]ing a dragon corpse.  [[Reflection]] is now available and black dragon breath is toned down a bit.  It also becomes possible to genocide only black dragons.
 
 
 
[[NetHack 3.1.0]] introduces dragon scales, and with them the modern method of obtaining dragon scale mail.  This version also adds the [[Quest]]s, and with them the [[Chromatic Dragon]] and [[Ixoth]].  Fire resistance is not necessary to enter [[Gehennom]].
 
 
 
[[NetHack 3.3.0]] adds the silver dragon and corresponding scales.
 
 
 
{{nethack-343|offset=1}}
 
{{slashem-7E7}}
 
 
 
==References==
 
<references/>
 
[[Category:Monsters]]
 
[[Category:Monster classes]]
 

Latest revision as of 05:19, 27 February 2024

Hi #nethackwiki!

Testing simple tabs:


Contents for tab 1
Contents for tab 2, contents can be multiple lines

and wiki markup too, like this large kobold monster template.

Contents for tab 3. The contents will shrink to match the content height.



test nowrap

Clear the lower half, using the 'loop' above M and the 2x3 turning space in the lower left. (Notice how the end is always 'lllrrrrrrruurdrrrrrr*', with the number of 'r's depending on the number of filled holes.)

 ----     ----------- M rdrr r*
--.@--------   |.........| N rrrr rrru urdr rrr*
|..........|   |.........| K ddll lllr rrrr rruu rdrr rrr*
|.A-----.-.|   |.........| L ddll lrrr rrrr uurd rrrr rr*
|..|...|CF.|   |....<....| P rdrr uurd rrrr rrr*
|.D.E.B...-|   |.........| I drdd drru urdr rrrr rrr*
|.G..H..|..|   |.........|
|.----I.--.|   |.........|
|..J.....|.--  |.........|
|.---L-K.M..------------+|
|...|.P.-....^^^^^^^^^^^.|
|.N.......----------------
-----..|..|
    -------

H̡̫̤̤̣͉̤ͭ̓̓̇͗̎̀


Test sort table:

Title
B
C
A


Test math


 i \cdot \operatorname{rne}(4) \cdot \frac{666 + \operatorname{rnz}(202)}{1999}