Make durability work like sunlit valley

This commit is contained in:
2026-09-29 18:00:32 -03:00
parent 8fe581ea93
commit f76cf2bf38
30 changed files with 70 additions and 28 deletions
+2 -1
View File
@@ -157,7 +157,8 @@ export interface ToolProperties {
tier: number;
// how many times faster than a hand it breaks blocks of its type
speed: number;
// how much use it can take. nothing uses it up yet
// how many deaths it lasts: each one takes 1 off every tool the player carried. what's used up is the stack's
// data.damage, see ItemStack.durability
durability: number;
}