mirror of
https://github.com/GTNewHorizons/Gadomancy.git
synced 2026-11-25 14:24:25 +00:00
- Language File updated! Thanks @BBoldt and @63502
- GrowingNodeBehavior: Rebalancing
This commit is contained in:
1 parent
00d9bfb21b
commit
a52a1bab21
5 files changed
+54
-33
No files matched your search
@@ -32,7 +32,7 @@ public class GrowingNodeBehavior {
|
||||
|
||||
public static final double SATURATION_DIFFICULTY = 15D;
|
||||
public static final double SATURATION_CAP = 90D;
|
||||
public static final int HAPPINESS_CAP = 500;
|
||||
public static final int HAPPINESS_CAP = 400;
|
||||
|
||||
//The node the growing node attacks.
|
||||
private TileNode fixedNode;
|
||||
@@ -256,6 +256,7 @@ public class GrowingNodeBehavior {
|
||||
inc *= evaluateFeedingDenialFunc((lastFedRow > 0 ? lastFedRow : 1));
|
||||
} else {
|
||||
inc *= -10;
|
||||
lastFedRow = 0;
|
||||
}
|
||||
}
|
||||
this.overallHappiness += inc; //The node doesn't like to be forced to eat the same every time.
|
||||
@@ -274,7 +275,9 @@ public class GrowingNodeBehavior {
|
||||
return (Math.log(i) / 6) + 1;
|
||||
}
|
||||
|
||||
private void handleOverfeed() {}
|
||||
private void handleOverfeed() {
|
||||
//TODO handle transformation into STARVING
|
||||
}
|
||||
|
||||
public void readFromNBT(NBTTagCompound nbtTagCompound) {
|
||||
this.isSaturated = nbtTagCompound.getBoolean("overallSaturated");
|
||||
|
||||
Reference in new issue
Block a user