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

Proof of Concept: Junk food reagent #1467

Closed
wants to merge 1 commit into from

Conversation

arimah
Copy link
Contributor

@arimah arimah commented Jun 3, 2024

About the PR

This PR introduces a new reagent, placeholder name Noxiose (noxi- from "noxious", -ose signifying a sugar). It effectively implements the junk in junk food: it's the unhealthy stuff that makes you feel bloated and slow after eating bad food.

  • New reagent: Noxiose
  • New flavour: "unhealthy"
  • Update basic snack foods to contain noxiose, removing some nutritional value

This PR is a proof of concept. This reagent may not be desirable, and all values must be tweaked and balanced. Since it took all of 20 minutes to make this work, I figured I'd put it on GitHub for people to try out.

TODO: Decide on a good colour for the reagent. I set it to a neutral grey (#CCCCCC) for the time being.

Why / Balance

The basic idea is to encourage people to seek out food ships. In addition to flavorol, which provides active benefits for many cooked foods, the idea behind this new reagent is to provide active debuffs for snack foods, so you can't just load up on sus jerky and get on with your shift. Powergamers will find ways around it, but the casual player might take it as incentive to roleplay with some service people for a change.

At time of writing, the following effects are in place:

  • Up to 10u: 5% walk slowdown, 10% sprint slowdown.
  • Above 10u: 15% walk slowdown, 20% sprint slowdown.
  • Makes you very slightly hungrier, to offset the nutritional value of snack foods. In essence, it makes snack foods less nutritious. Since snack foods have also had their nutriment content reduced as part of this PR, this effect may be unnecessary.

I've added 2u noxiose to FoodSnackBase, removing 2u of nutriment in the process. This prototype is used by almost all foods you get out of a vending machine. Chow mein and dan dan noodles were also updated separately. I'm sure there are more foods that could contain it.

The unique flavour profile is intended to give players a hint as to which foods they ought to avoid. Otherwise it's hard to understand why you're suddenly slowing down when all you've done is eat.

Several cooked foods could be described as unhealthy, such as cakes and sweet pies, but these deliberately do not contain noxiose. Those have to be made by players, usually on food ships, which is exactly what I want to encourage. Hence, no reason to discourage people from eating delicious cakes. 🍰

How to test

Spawn any of the snack foods that come from GetMore Chocolate Corp, Discount Dan's or Mr Chang's. Eat. After a while, you should slow down – a little or a lot, depending on how much you ate. The food should taste distinctly unhealthy.

Media

image

  • I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

no

Changelog
🆑

  • add: Most snack foods as found in vending machines will now slow you down for a while. Find a restaurant to eat at instead!

@ErhardSteinhauer
Copy link
Contributor

ErhardSteinhauer commented Jun 3, 2024

Free, almost unlimited supply of discount Impedrezene in every snack vendomat

@arimah
Copy link
Contributor Author

arimah commented Jun 3, 2024

Free, almost unlimited supply of discount Impedrezene in every snack vendomat

Not entirely unlike the virtually limitless supply of discount combat stims you get from eating cooked food :) That 15% speed bonus you get from flavorol is pretty sweet!

@dvir001
Copy link
Contributor

dvir001 commented Jun 3, 2024

Please no
Im still working on the food system that avoid changing any regents in food

@dvir001
Copy link
Contributor

dvir001 commented Jun 3, 2024

You know what I can actually add the drug itself using the new system with the replace regents faction.

Copy link
Contributor

github-actions bot commented Jul 8, 2024

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot added the S: Merge Conflict This PR has conflicts that prevent merging label Jul 8, 2024
@arimah
Copy link
Contributor Author

arimah commented Jul 8, 2024

Since @dvir001 is working on the food quality thing and this was only ever intended as a proof of concept, I am closing this PR as irrelevant.

@arimah arimah closed this Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FTL No C# S: DO NOT MERGE S: Merge Conflict This PR has conflicts that prevent merging YML
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants