1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

DevTest: Change "Minetest" to "DevTest" (#15326)

This commit is contained in:
Wuzzy 2024-10-26 17:40:29 +02:00 committed by GitHub
parent 6ead789509
commit 4deb5b999c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 10 additions and 10 deletions

View file

@ -87,7 +87,7 @@ local function test_get_craft_result()
minetest.log("info", "[unittests] repairable tool crafting output.item:to_table(): "..dump(output.item:to_table()))
assert(output.item:get_name() == "unittests:repairable_tool")
-- Test the wear value.
-- See src/craftdef.cpp in Minetest source code for the formula. The formula to calculate
-- See src/craftdef.cpp in Luanti source code for the formula. The formula to calculate
-- the value 51187 is:
-- 65536 - ((65536-60000)+(65536-60000)) + floor(additonal_wear * 65536 + 0.5) = 51187
-- where additional_wear = 0.05