Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
use blood for some "Vlad was here" engravings
A hero in vampire form using a finger to engrave scrawls in blood;
so can Vlad.  The chance of a blood engraving increases with depth:
engravings before level 10 are all dust; the chance increases
linearly until engravings at level 21 are all in blood.
  • Loading branch information
vultur-cadens committed Jan 17, 2025
commit e6bef32aa3b35a808f6371a22f826ee3c09f649c
9 changes: 8 additions & 1 deletion src/mklev.c
Original file line number Diff line number Diff line change
Expand Up @@ -673,9 +673,16 @@ makeniche(int trap_type)
if (trap_type != ROCKTRAP)
ttmp->once = 1;
if (trap_engravings[trap_type]) {
int engr_type = DUST;
/* "Vlad was here" might be in blood instead
of dust, more likely at deep levels */
if (trap_type == TRAPDOOR
&& depth(&u.uz) - 9 > rn2(12)) {
engr_type = ENGR_BLOOD;
}
make_engr_at(xx, yy - dy,
trap_engravings[trap_type], 0L,
DUST);
engr_type);
wipe_engr_at(xx, yy - dy, 5,
FALSE); /* age it a little */
}
Expand Down