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:
parent
6ead789509
commit
4deb5b999c
7 changed files with 10 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue