Allow dropping just picked up items

When using a menu to drop or put in items into a container,
allow putting in the item (or items) you picked up previously,
by selecting the 'P' entry from the item class menu

Inspired by the itemcat patch by Stanislav Traykov.

Invalidates saves and bones.
This commit is contained in:
Pasi Kallinen
2021-09-17 20:52:54 +03:00
parent e43ec0cef1
commit b30061b5ad
14 changed files with 183 additions and 30 deletions

View File

@@ -1094,6 +1094,8 @@ struct instance_globals {
boolean class_filter;
boolean bucx_filter;
boolean shop_filter;
boolean picked_filter;
boolean loot_reset_justpicked;
/* pline.c */
unsigned pline_flags;