Viewing Issue Advanced Details
[ Jump to Notes ]
[ Wiki ]
|
[ View Simple ]
[ Issue History ]
[ Print ]
|
ID |
Category |
Severity |
Reproducibility |
Date Submitted |
Last Update |
0006465 |
[DCSS] Bug Report |
minor |
have not tried |
2012-12-23 21:14 |
2013-09-29 03:18 |
|
Reporter |
elliptic |
View Status |
public |
|
Assigned To |
neil |
Priority |
normal |
Resolution |
done |
Local or Remote |
Local |
Status |
resolved |
|
Operating System |
Linux |
Projection |
none |
|
Console or Tiles |
Console |
ETA |
none |
Fixed in Branch |
0.13 ancient branch |
Product Branch |
0.12 ancient branch |
|
Product Version |
|
|
Summary |
0006465: No prompt before drinking blood when worshipping a good god. |
Description |
It costs piety to do this, so there should be a prompt. |
Steps To Reproduce |
|
Additional Information |
|
Tags |
No tags attached. |
|
Attached Files |
6465_patch1.patch [^] (513 bytes) 2013-09-25 08:15 [Show Content] [Hide Content]diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index f5826d8..7ca7fa6 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -2174,6 +2174,13 @@ void drink(int slot)
return;
}
+ if (is_good_god(you.religion) &&
+ !yesno("Really drink that potion of blood?", false, 'n'))
+ {
+ mpr("Okay, then.");
+ return;
+ }
+
zin_recite_interrupt();
// The "> 1" part is to reduce the amount of times that Xom is
|
|