mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Add helper functions to make tool usable n times (#12047)
This commit is contained in:
@@ -142,4 +142,5 @@ PunchDamageResult getPunchDamage(
|
||||
u16 initial_wear = 0
|
||||
);
|
||||
|
||||
u32 calculateResultWear(const u32 uses, const u16 initial_wear);
|
||||
f32 getToolRange(const ItemDefinition &def_selected, const ItemDefinition &def_hand);
|
||||
|
Reference in New Issue
Block a user