Steam vortices leave steam clouds behind

Code via xnethack by copperwater <aosdict@gmail.com>
This commit is contained in:
Pasi Kallinen
2023-10-01 20:30:50 +03:00
parent 412a996da8
commit cf0eb8dfa0
3 changed files with 6 additions and 0 deletions

View File

@@ -1249,6 +1249,7 @@ coughing due to stinking cloud wakes up nearby monsters
stop occupation when timed levitation or choking issues a message
use #monster to make dragon steed breathe
wand of probing reveals tin contents
steam vortices leave steam clouds behind
Fixes to 3.7.0-x General Problems Exposed Via git Repository

View File

@@ -2795,6 +2795,9 @@ mondead(struct monst *mtmp)
if (be_sad)
You("have a sad feeling for a moment, then it passes.");
if (mtmp->data == &mons[PM_STEAM_VORTEX])
create_gas_cloud(mtmp->mx, mtmp->my, rn2(10) + 5, 0); /* harmless */
/* dead vault guard is actually kept at coordinate <0,0> until
his temporary corridor to/from the vault has been removed;
need to do this after life-saving and before m_detach() */

View File

@@ -755,6 +755,8 @@ dochug(register struct monst* mtmp)
/* Hezrous create clouds of stench. This does not cost a move. */
if (mtmp->data == &mons[PM_HEZROU]) /* stench */
create_gas_cloud(mtmp->mx, mtmp->my, 1, 8);
else if (mtmp->data == &mons[PM_STEAM_VORTEX] && !mtmp->mcan)
create_gas_cloud(mtmp->mx, mtmp->my, 1, 0); /* harmless vapor */
/* A killer bee may eat honey in order to turn into a queen bee,
costing it a move. */