feat: specific meal purchase option for hireling #3105
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hireling NPC Feature Update: Specific Meal Selection
This update introduces a new feature for the hireling NPC, allowing players to choose specific meals for 90,000 gold, aligning with the latest global updates. The NPC now prompts players with options for a "specific" or "surprise" meal, guiding them through the selection process. If "specific" is chosen, players are presented with a list of available dishes.
Description
Please include a summary of the change and which issue is fixed. Also, provide relevant motivation and context. List any dependencies required for this change.
Behaviour
Actual
Do this, and that doesn’t happen.
Expected
Do this, and that happens.
Fixes #issuenumber
Type of Change
How Has This Been Tested
Please describe the tests you ran to verify your changes. Provide instructions so we can reproduce them. List any relevant details for your test configuration.
Test A: Specific Food Order Test
NPC Configuration: The NPC was initialized with cooking skills, enabling it to accept specific food orders.
Steps:
Verification:
Test B: Surprise Meal Order Test
NPC Interaction:
Verification:
These tests confirmed that the NPC’s cooking responses, pricing, and item delivery worked as intended, matching the updates from the global system.
Test Configuration:
Checklist