Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let wizards give items to shops. #4221

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Aliscans
Copy link
Contributor

Add a wizard mode command to give an item to a shop, to give a straightforward way to test things which involve a shop with a specific inventory.

Allow an item prompt to select any item from inventory or the floor. Rename the existing OSEL_ANY item selector as OSEL_PORTABLE to make the distinction clear. Use the new selector for "give item to shop" so books can be donated. It may be useful elsewhere, but I haven't looked.

Aliscans added 2 commits January 11, 2025 10:58
Let a wizard mode user give an item (from inventory or the floor) to a
shop. Use the same key as giving to a monster. The item prompt
identifies the target.
Rename OSEL_ANY as OSEL_PORTABLE. Add OSEL_ANYTHING, which also
includes gold, spellbooks, gems, runes and the orb. Use this for giving
items to a shop.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant