From d82c7e671b6289793b1446fb70bba7808edb95e6 Mon Sep 17 00:00:00 2001 From: cohrs Date: Thu, 23 Oct 2003 02:36:23 +0000 Subject: [PATCH] support engraving in blood in special level files the file format and sp_lev.c supported it, but the level parser didn't --- doc/fixes35.0 | 1 + util/lev_comp.l | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/fixes35.0 b/doc/fixes35.0 index 675fb7a18..1bef51bc8 100644 --- a/doc/fixes35.0 +++ b/doc/fixes35.0 @@ -40,6 +40,7 @@ hiding monsters don't hide under cockatrice/chickatrice corpses deafness now a full-fledged attribute water should flow into pits from broken wand of digging objects that fall thru trapdoors, et al, can break on impact +support engraving in blood in special level files Platform- and/or Interface-Specific Fixes diff --git a/util/lev_comp.l b/util/lev_comp.l index 1e7c3ae8c..9a6fc4fa1 100644 --- a/util/lev_comp.l +++ b/util/lev_comp.l @@ -190,6 +190,7 @@ dust { yylval.i=DUST; return ENGRAVING_TYPE; } engrave { yylval.i=ENGRAVE; return ENGRAVING_TYPE; } burn { yylval.i=BURN; return ENGRAVING_TYPE; } mark { yylval.i=MARK; return ENGRAVING_TYPE; } +blood { yylval.i=ENGR_BLOOD; return ENGRAVING_TYPE; } blessed { yylval.i=1; return CURSE_TYPE; } uncursed { yylval.i=2; return CURSE_TYPE; } cursed { yylval.i=3; return CURSE_TYPE; }