candelabrum in shop (trunk only)
The code to have Izchak recognize the Candelabrum of Invocation instead of just being uninterested in an item not stocked in his shop was being skipped when the character is hallucinating. Make it work for any lighting store (slash'em sometimes has another candle shop, run by a randomly named shopkeeper), and make it recogize Izchak even when hallucinating. Also, have him give a message about the need for 7 candles if the candelabrum doesn't already have them attached.
This commit is contained in:
@@ -1986,6 +1986,7 @@ E boolean FDECL(saleable, (struct monst *,struct obj *));
|
||||
E int FDECL(get_shop_item, (int));
|
||||
E const char *FDECL(shkname, (struct monst *));
|
||||
E boolean FDECL(shkname_is_pname, (struct monst *));
|
||||
E boolean FDECL(is_izchak, (struct monst *,BOOLEAN_P));
|
||||
|
||||
/* ### sit.c ### */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user