mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-07-31 18:02:26 +01:00
Merge pull request #1879 from NeroOneTrueKing/patch-cant-sell-summoned-objs
Shopkeepers shouldn't buy summoned items
This commit is contained in:
commit
7f45206a2a
1 changed files with 1 additions and 0 deletions
|
@ -3239,6 +3239,7 @@ move_on:
|
|||
|| eshkp->billct == BILLSZ
|
||||
|| obj->oclass == BALL_CLASS
|
||||
|| obj->oclass == CHAIN_CLASS || offer == 0L
|
||||
|| get_ox(obj, OX_ESUM)
|
||||
|| (obj->oclass == FOOD_CLASS && obj->oeaten)
|
||||
|| (Is_candle(obj) &&
|
||||
obj->age < 20L * (long)objects[obj->otyp].oc_cost)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue