Skip to content

Commit

Permalink
set half starter nutritions
Browse files Browse the repository at this point in the history
  • Loading branch information
Globox1997 committed Apr 5, 2024
1 parent 9738b09 commit 3da3ff5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
### Changed:
- No pause nutrition screen
- Starter nutritions set to half
### Added:
-
10 changes: 5 additions & 5 deletions src/main/java/net/nutritionz/mixin/HungerManagerMixin.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
@Mixin(HungerManager.class)
public class HungerManagerMixin implements HungerManagerAccess {

private int carbohydrateLevel = ConfigInit.CONFIG.maxNutrition;
private int proteinLevel = ConfigInit.CONFIG.maxNutrition;
private int fatLevel = ConfigInit.CONFIG.maxNutrition;
private int vitaminLevel = ConfigInit.CONFIG.maxNutrition;
private int mineralLevel = ConfigInit.CONFIG.maxNutrition;
private int carbohydrateLevel = ConfigInit.CONFIG.maxNutrition / 2;
private int proteinLevel = ConfigInit.CONFIG.maxNutrition / 2;
private int fatLevel = ConfigInit.CONFIG.maxNutrition / 2;
private int vitaminLevel = ConfigInit.CONFIG.maxNutrition / 2;
private int mineralLevel = ConfigInit.CONFIG.maxNutrition / 2;
private Map<Integer, Boolean> effectMap = new HashMap<Integer, Boolean>() {
{
put(0, false);
Expand Down

0 comments on commit 3da3ff5

Please sign in to comment.