Add proper tooltip for repair recipes
This commit is contained in:
parent
ea583a2d70
commit
0f6bdc9921
3 changed files with 37 additions and 11 deletions
|
@ -693,7 +693,7 @@ minetest.register_craft({
|
|||
--
|
||||
minetest.register_craft({
|
||||
type = "toolrepair",
|
||||
additional_wear = -0.05,
|
||||
additional_wear = -mcl_core.repair,
|
||||
})
|
||||
|
||||
--
|
||||
|
|
|
@ -10,6 +10,9 @@ mcl_core.gui_bg_img = ""
|
|||
|
||||
mcl_core.inventory_header = mcl_core.gui_slots .. mcl_core.gui_bg
|
||||
|
||||
-- Repair percentage for toolrepair
|
||||
mcl_core.repair = 0.05
|
||||
|
||||
minetest.nodedef_default.stack_max = 64
|
||||
minetest.craftitemdef_default.stack_max = 64
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue