Skip to content

Instantly share code, notes, and snippets.

View Chris-plus-alphanumericgibberish's full-sized avatar

Chris-plus-alphanumericgibberish

View GitHub Profile
/* general damage bonus */
if(real_attack){
/* The player has by-far the most detailed attacks */
if (youagr && (valid_weapon_attack || fake_valid_weapon_attack || unarmed_punch || unarmed_kick || natural_strike)) {
int bon_damage = 0;
bon_damage += u.udaminc;
bon_damage += aeshbon();
/* If you throw using a propellor, you don't get a strength
* bonus but you do get an increase-damage bonus.
int
give_maddness(mon)
struct monst *mon;
{
int mm = monsndx(mon->data);
switch(mm){
case PM_ALDINACH:
u.umadness |= MAD_REAL_DELUSIONS;
break;
case PM_ALRUNES:
{{monster
|name=giant ant
|symbol={{brown|a}}
|tile=
|difficulty=4
|level=2
|experience=28
|speed=18
|AC=3
|MR=0
@Chris-plus-alphanumericgibberish
Chris-plus-alphanumericgibberish / gist:c9aded024187523189308510e32ba334
Last active June 16, 2023 23:05
dNetHack wiki monster list compat-3.22.0, insight and level attacks marked
{{monster
|name=giant ant
|symbol={{brown|a}}
|tile=
|difficulty=4
|level=2
|experience=28
|speed=18
|AC=3
|MR=0
/* SCCS Id: @(#)uhitm.c 3.4 2003/02/18 */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
#include "artifact.h"
STATIC_DCL boolean FDECL(known_hitum, (struct monst *,int *,struct attack *));
STATIC_DCL boolean FDECL(known_hitum_wepi, (struct monst *,int *,struct attack *, int));
STATIC_DCL void FDECL(steal_it, (struct monst *, struct attack *));
Armor
c - an uncursed +0 ring mail
───────────────── f - a ceramic wool-lined plate mail (unpaid, 900 zorkmids)
±·±·±·±·±·±·±·±·± (end)
···················±·······±·······±····┌───┐±·····┌───┐·····±·············±
··±·±·±·±·±·±·±·±·····±···±···±·±·····±┌┘···└┐··±·┌┘m[(└┐···±···±···±┌───┐··
·±·····±·····±···±·±···±···±···±·±···±·│·····│·±··│·[m[(│±···±···±·±┌┘···└┐±
····±···············±···±···±·····±·±··+·····│±···+a(([[│·±···±·····│·····│·
·±·±·····±·±···±·±·±···±·±·±···±···±·±·│·····│·±·±│·%(@(│··±·····±··│·····│±
······±·±···±·±·······±·······±········└┐···┌┘····└┐m%(┌┘···±·±·±·±·│·····│·
0x008a8829 in possibly_unwield (mon=0x1b24e48, polyspot=0 '\000')
at ../src/weapon.c:2019
2019 if (!(mw_tmp->cursed && mon->weapon_check == NO_WEAPON_WANTED))
Starting level is a random forest.
Does not contain an exit portal
First filler level is the home (special cased, extra first-filler levels will be random forests)
0TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
1T.TT....TTFFFFFFFF-------TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTITTTTTTTTTTTTTTTTTTTTT
2<....TTTTTF.......-#####-TT----------TTTTTTTTTTTTTTTITTTTITTITTTTTTTTTTTTTTTTTT
3T..TTTTTTTF.......+#####----#####-##-TTT.T..II...TTIII.IIIII TT...... ..TTTTTTT
4T..TTT..T.F.......-#####S##-#####-##----T...III.T..I.IIIIIIIIT. ..T. ....TTTTT
···············································································
···························±·±·······±······±·±···±··±±···±±···┌───┬───┬───┐···
····················±······±±±····±·±±±·±···±±·····±±·····±±···│░░░│▒▒▒│░░░│···
···················±·····±±±±±±···±±±±··±····±±···±±±·····±····│░░░│▒▒▒+░░░│···
·····················±±····±±±±±±±±±····┌──┐······±±±··········│░░░│▒@▒│░░░│·±·
·····················±·····±±±±±±±±±····│░░│·····±±±±±··±±±····├─+─┼───┼─+─┤···
····················±±·····±±±±±±±±±····│░░│·±······±±±±±±±±±±·│░░░│···│░░░│···
·····±··±··±········±±±·±±±±±±±±±±┌───┐·└─+┘·┌──────┐±±±±±±±±±·│░░░+···│░░░│···
·····±±±±··±·····±··±±±±±±±±±±±±±±│···│······│░░░░░░│·±±±±±±±±·│░░░│···│░░░│···
·······±±±±±±±±··±±±±±±±±±±±±±±±±±│···+······+░░░░░░│±±±±±±±±±·├─+─┼───┼─+─┤···
With items in minor towers:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~±~±±±±±±±·±±±±·±±±±±±±±±±·±±±±±±±±±±±±±±±±±±±±±±
~~~~(((((~~~~(((~~~~~~~~~~~~~~~~±±±±±±±±±·····±±±±·±·±±±$·±±±±±±±±±±±±±±±±±±±±±
~~~~(```(~~~~("(~~~~$~~~~~~~~~~~±±±··±±±···±···±±±········±±±±±±±±±±±±±±±±±±±±±
~~~~(`(`(~~~~(((~~~~~~~~~~~~~~~±±~·±±±±±·±±±········±±±··)±±±±±±±±±±±±±±±±±±±±±
~~~~(```(~~~~~~~~~~~~~~~~~~~~~~~~~±±±±···±±·····±$±··±±·±····±±±±±±±±±±±±±±±±±±
~~~~(((((~~~~(((((~~~~~~~~~~~~~~~~~±±±·±±±±±······±±±±±±±····±±±±±±±±±±·±±±±±±±
~~~~~~~~~~~~~(```(~~~~~~~~~~~~~~~~~~±±·±±±±±±±··±±±±±±±±±±±·±±±±±±±±±±·±·±±±±±±
~~~~~~~~~~~~~(`)`(~~~~~~~~~~~~~~~~~~~±~±±±±±±···±±±±±±±±±±±···±±±±±±±±±··±±±±±±