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

[MIRROR] [Semi-Modular] Ports over the old Food Prefs PR #2316

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

Steals-The-PRs
Copy link
Collaborator

Original PR: NovaSector/NovaSector#352

About The Pull Request

Adds food preferences back- mostly how they were before TGUI prefs, but now at least 80% more modular!

Has a few checks to make this less powerful and straight up better than the usual species food preferences like the version of yonder:

  • You HAVE to pick one toxic food- that means something that your character absolutely detests, for whatever reason!
  • You HAVE to pick three disliked foods- something that they'd rather not eat, but can stomach a bit of in a pinch!
  • And you can pick three favorite foods- something your character very much enjoys eating, and will get mood buffs from!
  • A points system as well.
    • You start with 0 points.
    • Default values are worth 0 points.
    • Making something worse than default gives up to two points,
    • Making something better than default takes up to six points.
    • Extremely rare food types are worth 0 across the board, and also don't count towards likes.
      • These were either part of a quirk, or are literally so rare, you'll (or the chef'll) have to go out of your way to get a hold of it.
    • Disgusting food types have inflated values, so you have to trade in multiple more common foodtypes in order to be able to pick one!

I've done this in like... six hours overall now, so folk might want to talk this over with me to figure out a good set of point values.

Food is equally nutritious regardless of if you like or dislike something.

How This Contributes To The Nova Sector Roleplay Experience

Being able to represent varying food cultures is quite nice, no?

This time with hopefully less folk picking literal garbage as a like, cause they now have to declare two things they don't like in exchange!

Proof of Testing

What it looks like!

image

Yv3R9HRyCV.mp4

Changelog

🆑 SomeRandomOwl
add: Added a food preference system! It has a few checks, but otherwise, gives you a huge amount of freedom to decide your tastes! Give it a peek in your character menu!
del: The quirks: Deviant Tastes, Pineapple Hater, Pineapple Liker, and Vegetarian have been hidden as a result meaning they will be removed from all characters who has taken these quirks to compensate for the fact you can set your preferences for food rather than take these quirks
/:cl:

* Initial Port - God Things are broken

* Food perfs is on the tongue now

* It builds Now - Time to test and fix

* Button Now works and opens UI

* Default Values Now Load in

* ESLINT pass

* This will hopefully shut CI up

* More CI fixes

* CI

* Will this fix the last CI issue?

* Ok i put the key back here now is that good enough

* This should be all green now

* Provides more user feedback and information

* Make Neutral Buttons more visible

* Consistency

* This is not needed anymore

With food perfs you can make yourself a vegetarian with the preferences it provides rather than by using quirks.

* VERY SLIGHTLY MORE MODULAR

Now its only additions and not removals

* Ok last commit lies, this makes it not lie

* Almost forgot this

* apply suggestions [though semi broken]

* Apply suggestions from code review

* forgot to enable the disable

* Update food.dm

* Update flypeople.dm

* Update flypeople.dm

* Give people starting points to be more flexible

* Update preferences_savefile.dm

* Toxic foods counts towards dislikes

* Update preferences_savefile.dm

* Allows Obscure food prefs to be liked even when at maximum liked foods

* Point Requirement Removal Inital

* Remove numbers from UI, Fix CI

* Ripping out the remnants of food points

* Preserve Species Defaults

* Apply suggestions from code review

Co-authored-by: Bloop <[email protected]>

* Apply suggestions from code review

Co-authored-by: Bloop <[email protected]>

* Update food.dm

* Liked food buttons now disable, obscure foods don't count

* Moves food.dm, differentiates obscure foods.

* Final Pass, EVERYTHING FINISHED

---------

Co-authored-by: Bloop <[email protected]>
@ReezeBL ReezeBL merged commit 5ae7587 into master Mar 8, 2024
24 checks passed
@ReezeBL ReezeBL deleted the upstream-mirror-352 branch March 8, 2024 09:52
AnywayFarus added a commit that referenced this pull request Mar 8, 2024
Iajret pushed a commit that referenced this pull request May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants