Give gnomes occasionally a candle
...and if in unlit area, light the candle.
This commit is contained in:
@@ -1125,6 +1125,7 @@ tribute to Terry Pratchett
|
||||
Some levels in Gehennom now use the old corridor-style maze instead of
|
||||
the new room-style. Beelzebub's level always does this and the
|
||||
"beetle legs" are restored.
|
||||
gnomes will occasionally have a candle
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific New Features
|
||||
|
||||
@@ -619,6 +619,15 @@ register struct monst *mtmp;
|
||||
(void)mongets(mtmp, WAN_FIRE);
|
||||
}
|
||||
break;
|
||||
case S_GNOME:
|
||||
if (!rn2((In_mines(&u.uz) ? 5 : 10))) {
|
||||
otmp = mksobj(rn2(4) ? TALLOW_CANDLE : WAX_CANDLE, TRUE, FALSE);
|
||||
otmp->quan = 1;
|
||||
otmp->owt = weight(otmp);
|
||||
if (!mpickobj(mtmp, otmp) && !levl[mtmp->mx][mtmp->my].lit)
|
||||
begin_burn(otmp, FALSE);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user