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

[FIX] Add food heating to grid furnitures #1885

Conversation

leoCottret
Copy link
Collaborator

@leoCottret leoCottret commented Sep 22, 2022

Summary

SUMMARY: Bugfixes "Add food heating when eating to grid RV kitchen and oven"

Purpose of change

Fixes #1564

Describe the solution

When eating close to a RV kitchen or oven, the food will be automatically heated like with their vehicles counterpart.
If a fire is lit, no power is used.
If there isn't, it will use 25 power (same as the vehicle version).
When no power is left, it doesn't heat the food.

Testing

I tested the different conditions described in the solution

@leoCottret leoCottret changed the title Add food heating to grid furnitures [FIX] Add food heating to grid furnitures Sep 22, 2022
@Coolthulhu Coolthulhu self-assigned this Sep 22, 2022
@Coolthulhu Coolthulhu merged commit e17183c into cataclysmbnteam:upload Sep 24, 2022
@Coolthulhu
Copy link
Member

I didn't notice when it happened, but apparently heating food consumes 25 kJ now. That's quite a lot.

@leoCottret leoCottret deleted the add-food-heating-to-grid-furnitures branch September 24, 2022 11:47
@leoCottret
Copy link
Collaborator Author

Yes I just set it as 25 for consistency.
Although, the final result multiplies by 5 the json value, I wonder if it's a bug, and/or what's the logic behind it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't use grid stove to heat up food
2 participants