From 50c01c2857abab6b5474ee8f9b0227ab0ecc9bc2 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 18 Aug 2025 10:06:14 +0200 Subject: [PATCH] fixed the player Ratlings not having tails --- config.cpp | 2 +- graph-monster.cpp | 1 + graph-player.cpp | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/config.cpp b/config.cpp index cc81c838..8ea856a4 100644 --- a/config.cpp +++ b/config.cpp @@ -3661,7 +3661,7 @@ EX void showCustomizeChar() { if(id != pshRogue) dialog::addColorItem(XLAT("dress color"), cs.dresscolor, 'd'); else dialog::addBreak(100); - if(cs.charid == 3) dialog::addColorItem(XLAT("dress color II"), cs.dresscolor2, 'f'); + if(cs.charid == 3 || id == pshRatling) dialog::addColorItem(XLAT("dress color II"), cs.dresscolor2, 'f'); else dialog::addBreak(100); dialog::addColorItem(XLAT("movement color"), cs.uicolor, 'u'); diff --git a/graph-monster.cpp b/graph-monster.cpp index 77aa3b87..c28a70ea 100644 --- a/graph-monster.cpp +++ b/graph-monster.cpp @@ -525,6 +525,7 @@ EX bool drawMonsterType(eMonster m, cell *where, const shiftmatrix& V1, color_t queuepoly(VHEAD, cgi.shSkullEyes, darkena(0x202020, 0, 0xFF)); } else queuepoly(VHEAD, cgi.shPFace, facecolor); + if(id == pshRatling) queuepoly(VLEG, cgi.shRatTail, darkena(col, 0, 0xFF)); humanoid_eyes(V, evil ? 0x0000C0FF : 0x00C000FF, facecolor); return true; } diff --git a/graph-player.cpp b/graph-player.cpp index 5dcf6cb4..8603e53f 100644 --- a/graph-player.cpp +++ b/graph-player.cpp @@ -421,6 +421,8 @@ EX void drawPlayer_humanoid(eMonster m, cell *where, const shiftmatrix& V, color queuepoly(VBODY * VBS, body, fc(0, cs.skincolor, 0)); + if(id == pshRatling) queuepoly(VLEG, cgi.shRatTail, fc(100, cs.dresscolor2, 5)); + if(cs.charid&1) queuepoly(VBODY1 * VBS, cgi.shFemaleDress, fc(500, cs.dresscolor, 4)); @@ -693,6 +695,7 @@ EX void drawMimic(eMonster m, cell *where, const shiftmatrix& V, color_t col, do queuepoly(VBODY2 * VBS, cgi.shPrinceDress, darkena(col, 1, 0XC0)); if(cs.charid == 3) queuepoly(VBODY2 * VBS, cgi.shPrincessDress, darkena(col, 1, 0XC0)); + if(id == pshRatling) queuepoly(VLEG, cgi.shRatTail, darkena(col, 1, 0xC0)); humanoid_eyes(V, 0xFF, darkena(col, 0, 0x40)); }