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

Food price scales with freshness #77960

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

RenechCDDA
Copy link
Member

Summary

Balance "Food price scales with freshness"

Purpose of change

I can sell my dirty stinky about-to-be-rotten cheeseburger for the same price as a deliciously fresh one, right from the kitchen. That doesn't seem right.

Describe the solution

Scale price with rot, linearly

1% of rot time left = It's worth 1% of the normal price

99% of rot time left = It's worth 99% of the normal price

Describe alternatives you've considered

NPCs only buy food you cook on demand, right in front of them? This isn't teppanyaki!!

Some sort of scaling other than linear. Linear is easy and fair enough, though.

Testing

Sale price for a chunk of raw meat is $0.44. Wait an hour, sale price is now $0.41.

2024-11-17.19-55-44.mp4

Additional context

Note that pricing is a two-way street. They're worth less buying and selling, though for many players I imagine this will only impact their selling habits.

@Karol1223 I AM RUINING THE ECONOMY (just thought you'd like to know)

@github-actions github-actions bot added [C++] Changes (can be) made in C++. Previously named `Code` Game: Balance Balancing of (existing) in-game features. json-styled JSON lint passed, label assigned by github actions astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions labels Nov 18, 2024
@Night-Pryanik Night-Pryanik merged commit fc8e177 into CleverRaven:master Nov 18, 2024
21 of 28 checks passed
@RenechCDDA RenechCDDA deleted the fresh_food_pricing_2 branch November 18, 2024 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions [C++] Changes (can be) made in C++. Previously named `Code` Game: Balance Balancing of (existing) in-game features. json-styled JSON lint passed, label assigned by github actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants