Implement shrine to reset skillpoints, custom shrine model, worldgen for the shrine, and other stuff

This commit is contained in:
2025-11-12 11:11:15 +01:00
parent 20ca8c3e43
commit f72c2a54fe
20 changed files with 709 additions and 8 deletions
@@ -109,6 +109,16 @@ public class PlayerStats {
knowledge = Math.max(0, knowledge + amount);
}
public void refundAllPoints() {
int totalSpent = 0;
for (String key : attributes.keySet()) {
int lvl = attributes.get(key);
totalSpent += lvl;
attributes.put(key, 0);
}
unspentPoints += totalSpent;
}
public boolean hasUsedMoonseye() {
return hasUsedMoonseye;
}