Difference between revisions of "NetHackWiki:Sandbox"

From NetHackWiki
Jump to navigation Jump to search
(tiny table sort)
 
(200 intermediate revisions by 47 users not shown)
Line 1: Line 1:
= Introduction =
+
Hi #nethackwiki!
'''Fountains''' are [[dungeon furniture]] represented by a <weird character>. They are found randomly scattered throught the dungeon, usually in rooms that do not have any other [[dungeon furniture]] (ie: chests, sinks) in them. A randomly generated fountain will have a 1/7 chance of being [[blessed]]. You use a fountain by dipping items into it, and by [[quaff]]ing its water. Upon use, the fountain has a 1/3 chance of drying up. You recieve no warning before this happens, except in [[mine town]] where the guards get angry when you destroy objects.
 
  
{{stub|recreate the fountain char in wiki.}}
+
Testing simple tabs:
{{stub|are there rooms guaranteed not to have fountains. ie temples?}}
 
  
= Quaffing from a fountain =
 
You can drink from a fountain by using the [[quaff]] command while standing over it. Upon doing so you get a message indicating the results. The results of [[quaff]]ing from a fountain are dependant upon its [[BUC]] status, your status, and the condition of dungeon [[monster]]s. Randomly generated fountains have a 1/7 chance of being [[blessed]], an attribute that cannot be determined prior to use.
 
  
 +
<simpletabs>
 +
Tab 1 name|Contents for tab 1
 +
|-|
 +
Tab 2 name|Contents for tab 2, contents can be multiple lines
 +
and wiki markup too, like this large kobold monster template.
 +
{{monster
 +
|name=large kobold
 +
|difficulty=2
 +
|level=1
 +
|experience=13
 +
|speed=6
 +
|AC=10
 +
|MR=0
 +
|align=-3
 +
|frequency=1
 +
|genocidable=Yes
 +
|attacks=Weapon 1d6
 +
|weight=450
 +
|nutr=150
 +
|size=Small
 +
|resistances=Poison
 +
|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>
  
{| border="0" cellpadding="5" width="100%"
 
|+ Quaffing from a blessed fountain when your [[luck]] is positive
 
  
|-
+
<references/>
| '''Effect''' || Your hunger is reduced slightly || '''Chance''' || style="text-align:right" | 3/10
 
|-
 
| colspan="4" |
 
{| border="1" cellpadding="5" cellspacing="0" width="100%"
 
|-
 
! Condition !! NetHack Message
 
|-
 
| &nbsp; || The cool draught refreshes you.
 
|}
 
 
 
|-
 
| '''Effect''' || Your wisdom is exercised. All your attributes restored to maximum. || '''Chance''' || style="text-align:right" | 7/10
 
|-
 
| colspan="4" |
 
{| border="1" cellpadding="5" cellspacing="0" width="100%"
 
|-
 
! Condition !! NetHack Message
 
|-
 
| &nbsp; || Wow! This makes you feel great!
 
|-
 
| &nbsp; || A wisp of vapor escapes the fountain...
 
|-
 
|}
 
 
 
|-
 
| '''Effect''' || One attribute is increased by 1. || '''Chance''' || style="text-align:right" | 7/10
 
|-
 
| colspan="4" |
 
{| border="1" cellpadding="5" cellspacing="0" width="100%"
 
|-
 
! Condition !! NetHack Message
 
|-
 
| &nbsp; || Wow! This makes you feel great!
 
|-
 
| &nbsp; || A wisp of vapor escapes the fountain...
 
|-
 
|}
 
 
 
|-
 
| '''Effect''' || All attributes are increased by 1, if your [[luck]] is 4 or higher. || '''Chance''' || style="text-align:right" | 7/10
 
|-
 
| colspan="4" |
 
{| border="1" cellpadding="5" cellspacing="0" width="100%"
 
|-
 
! Condition !! NetHack Message
 
|-
 
| &nbsp; || Wow! This makes you feel great!
 
|-
 
| &nbsp; || A wisp of vapor escapes the fountain...
 
|-
 
|}
 
 
 
|-
 
|}
 
 
 
 
 
{| border="0" cellpadding="5" width="100%"
 
|+ Quaffing from any [[BUC]] fountain when your [[luck]] is negative
 
 
 
|-
 
| '''Effect''' || Your hunger is reduced slightly || '''Chance''' || style="text-align:right" | 9/30
 
|-
 
| colspan="4" |
 
{| border="1" cellpadding="5" cellspacing="0" width="100%"
 
|-
 
! Condition !! NetHack Message
 
|-
 
| &nbsp; || The cool draught refreshes you.
 
|}
 
 
 
|-
 
| '''Effect''' || No effect || '''Chance''' || style="text-align:right" | 9/30
 
|-
 
| colspan="4" |
 
{| border="1" cellpadding="5" cellspacing="0" width="100%"
 
|-
 
! Condition !! NetHack Message
 
|-
 
| &nbsp; || This tepid water is tasteless.
 
|-
 
|}
 
 
 
|-
 
| '''Effect''' || You see your attributes and exercise your [[wisdom]] || '''Chance''' || style="text-align:right" | 1/30
 
|-
 
| colspan="4" |
 
{| border="1" cellpadding="5" cellspacing="0" width="100%"
 
|-
 
! Condition !! NetHack Message
 
|-
 
| &nbsp; || You feel self-knowledgeable...<br>The feeling subsides...
 
|-
 
|}
 
 
 
|-
 
| '''Effect''' || Your hunger increases || '''Chance''' || style="text-align:right" | 1/30
 
|-
 
| colspan="4" |
 
{| border="1" cellpadding="5" cellspacing="0" width="100%"
 
|-
 
! Condition !! NetHack Message
 
|-
 
| &nbsp; || The water is foul! You gag and vomit.
 
|-
 
|}
 
 
 
|-
 
| '''Effect''' || You are [[poison]]ed and lose hit points || '''Chance''' || style="text-align:right" | 1/30
 
|-
 
| colspan="4" |
 
{| border="1" cellpadding="5" cellspacing="0" width="100%"
 
|-
 
! Condition !! NetHack Message
 
|-
 
| You lose 1d10 HP and 1d4+2 STR and your [[constitution]] is abused || The water is contaminated!
 
|-
 
| You lose 1d4 HP if you are [[poison resistant]] || Perhaps it is runoff from the nearby <fruit name> farm.
 
|-
 
|}
 
 
 
|-
 
| '''Effect''' || [[water moccasin]]s (d5+1) are created || '''Chance''' || style="text-align:right" | 1/30
 
|-
 
| colspan="4" |
 
{| border="1" cellpadding="5" cellspacing="0" width="100%"
 
|-
 
! Condition !! NetHack Message
 
|-
 
| You are unblind || An endless stream of snakes pour forth!
 
|-
 
| You are blind || You hear something hissing!
 
|-
 
| No effect if [[water moccasin]] is genocided or extinct || The fountain bubbles furiously for a moment, then calms.
 
|-
 
|}
 
 
 
|-
 
| '''Effect''' || A [[water demon]] is summoned with a 80+DL/100 chance of being hostile || '''Chance''' || style="text-align:right" | 1/30
 
|-
 
| colspan="4" |
 
{| border="1" cellpadding="5" cellspacing="0" width="100%"
 
|-
 
! Condition !! NetHack Message
 
|-
 
| You are unblind || You unleash a water demon!
 
|-
 
| You are blind || You feel the presence of evil.
 
|-
 
| The [[water demon]] is peaceful || Grateful for his release, he grants you a wish!
 
|-
 
| No effect since summoning failed || The fountain bubbles furiously for a moment, then calms.
 
|-
 
|}
 
  
|-
 
| '''Effect''' || A [[water nymph]] is summoned || '''Chance''' || style="text-align:right" | 1/30
 
|-
 
| colspan="4" |
 
{| border="1" cellpadding="5" cellspacing="0" width="100%"
 
|-
 
! Condition !! NetHack Message
 
| You are unblind || You attract a water nymph!
 
|-
 
| You are blind || You hear a seductive voice.
 
|-
 
| No effect if [[water nymph]] is genocided or extinct. (unblind) || A large bubble rises to the surface and pops.
 
|-
 
| No effect if [[water nymph]] is genocided or extinct. (blind) || You hear a loud pop.
 
|-
 
|}
 
  
|-
+
test nowrap
| '''Effect''' || You see your attributes and exercise your wisdom || '''Chance''' || style="text-align:right" | 1/30
 
|-
 
| colspan="4" |
 
{| border="1" cellpadding="5" cellspacing="0" width="100%"
 
|-
 
! Condition !! NetHack Message
 
  
|-
+
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̡̫̤̤̣͉̤ͭ̓̓̇͗̎̀
  
|-
 
| '''Effect''' || You see your attributes and exercise your wisdom || '''Chance''' || style="text-align:right" | 1/30
 
|-
 
| colspan="4" |
 
{| border="1" cellpadding="5" cellspacing="0" width="100%"
 
|-
 
! Condition !! NetHack Message
 
 
|-
 
|}
 
 
|-
 
| '''Effect''' || You see your attributes and exercise your wisdom || '''Chance''' || style="text-align:right" | 1/30
 
|-
 
| colspan="4" |
 
{| border="1" cellpadding="5" cellspacing="0" width="100%"
 
|-
 
! Condition !! NetHack Message
 
  
|-
 
|}
 
  
 +
Test sort table:
 +
{| class="wikitable sortable"
 
|-
 
|-
| '''Effect''' || You see your attributes and exercise your wisdom || '''Chance''' || style="text-align:right" | 1/30
+
! Title
 
|-
 
|-
| colspan="4" |
+
| [[B]]
{| border="1" cellpadding="5" cellspacing="0" width="100%"
 
 
|-
 
|-
! Condition !! NetHack Message
+
| [[C]]
 
 
 
|-
 
|-
 +
| [[A]]
 
|}
 
|}
  
|-
 
|}
 
  
 +
Test math
  
= Dipping items into a fountain =
 
{{stub}}
 
  
[[Category:Dungeon features]]
+
:<math> i \cdot \operatorname{rne}(4) \cdot \frac{666 + \operatorname{rnz}(202)}{1999}</math>

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}