Shopkeepers consider monster type for some items

Tins, eggs, and corpses will now cost different amounts
based on what intrinsics the monster type could give
This commit is contained in:
Pasi Kallinen
2023-10-25 18:45:07 +03:00
parent 48b10a1c8d
commit 7bf3888118
4 changed files with 51 additions and 2 deletions

View File

@@ -792,6 +792,7 @@ extern long temp_resist(int);
extern void eating_conducts(struct permonst *);
extern int eat_brains(struct monst *, struct monst *, boolean, int *);
extern void fix_petrification(void);
extern int intrinsic_possible(int, struct permonst *);
extern boolean should_givit(int, struct permonst *);
extern void consume_oeaten(struct obj *, int);
extern boolean maybe_finished_meal(boolean);