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

Camp "Have a meal" mission exhibits incorrect behaviour if you decline the dialog it shows after its activation #74821

Closed
Winged03 opened this issue Jun 28, 2024 · 1 comment · Fixed by #75047
Labels
(S2 - Confirmed) Bug that's been confirmed to exist

Comments

@Winged03
Copy link
Contributor

Winged03 commented Jun 28, 2024

Describe the bug

If you have any amount of food in the food stock and activate "Have a meal" mission, and then press ESC when the dialog appears, it offers you to eat a huge meal worth 770900 kcal. If you decline - it adds double this amount to the food stock. If you accept and then force yourself to eat it you will have this amount of food in your stomach and the same amount of food in the food stock (770900 kcal). It essentially allows one to dupe the camp's food stock value with no effort.

The dialog in question offers you three choices: snack, meal, just stuff your face. These choices add 360, 1250 and 2000 accordingly via a small meal, a medium meal and another medium meal. These choices seem to work correctly themselves, it's just that pressing ESC during the dialog what seems to be a problem.

Attach save file

N/A

Steps to reproduce

  1. Create new world, make the starting NPC follow you via debug menu, order them to create a camp out of the evac shelter.
  2. Go to the bulletin board and add one protein ration worth of food through "Distribute Food" mission. It correctly adds 400 kcal to the food stock.
  3. Activate "Have a meal" mission.
  4. When the "Have a meal?" dialog with choices appears, press ESC. It will then prompt you to eat a "prepared meal (large) (fresh)", which will have approximately 770900 kcal.
  5. If you accept - you will add this amount of food to your stomach and the same amount of food will be added to the camp's food stock. If you decline you will have double the amount of food in your food stock which is 1541400 kcal.
    image

Expected behavior

Pressing ESC in the dialog that appears after activating "Have a meal" mission should not change food stock value, nor should it offer you to eat a large meal. Instead, it should just close the dialog.

Screenshots

Before the mission activation
image

After eating the meal
image
image

Versions and configuration

  • OS: Windows
    • OS Version: 10.0.19045.4529 (22H2)
  • Game Version: 0dabb58 [64-bit]
  • Graphics Version: Tiles
  • Game Language: English [en]
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food],
    Portal Storms Ignore NPCs [personal_portal_storms],
    Slowdown Fungal Growth [no_fungal_growth],
    Bionic Professions [package_bionic_professions]
    ]

Additional context

No response

@Winged03 Winged03 added the (S1 - Need confirmation) Report waiting on confirmation of reproducibility label Jun 28, 2024
@PatrikLundell
Copy link
Contributor

/Confirmed

@github-actions github-actions bot added (S2 - Confirmed) Bug that's been confirmed to exist and removed (S1 - Need confirmation) Report waiting on confirmation of reproducibility labels Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(S2 - Confirmed) Bug that's been confirmed to exist
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants