forked from mtcontrib/invtweak
Release :)
This commit is contained in:
parent
6f734b31b0
commit
54ffc6b3b9
12
README.txt
12
README.txt
@ -4,7 +4,7 @@ version: 2.0
|
|||||||
|
|
||||||
License of source code: WTFPL
|
License of source code: WTFPL
|
||||||
-----------------------------
|
-----------------------------
|
||||||
Written 2013-2014 by BlockMen
|
Written 2013-2015 by BlockMen
|
||||||
|
|
||||||
This program is free software. It comes without any warranty, to
|
This program is free software. It comes without any warranty, to
|
||||||
the extent permitted by applicable law. You can redistribute it
|
the extent permitted by applicable law. You can redistribute it
|
||||||
@ -26,9 +26,17 @@ First: This mod adds 3 different buttons to player inventory. With those buttons
|
|||||||
"^"-Button sorts all items in an ascending order
|
"^"-Button sorts all items in an ascending order
|
||||||
"v"-Button sorts all items in an descending order
|
"v"-Button sorts all items in an descending order
|
||||||
|
|
||||||
|
NOTE: It's currently only working for the player inventory, not for chests or other formspecs.
|
||||||
|
|
||||||
Furthermore this mod has the ability to refill your wielded items automaticly. For example your current tool
|
Furthermore this mod has the ability to refill your wielded items automaticly. For example your current tool
|
||||||
break and you have one more of the same type (e.g. a stone pickaxe) this mod put it right in you hand
|
break and you have one more of the same type (e.g. a stone pickaxe) this mod put it right in you hand
|
||||||
and you can keep digging our placing nodes without opening the inventory.
|
and you can keep digging our placing nodes without opening the inventory.
|
||||||
You can disable this setting by adding/changing following to your minetest.conf file: "invtweak_autorefill = false"
|
You can disable this setting by adding/changing following to your minetest.conf file: "invtweak_autorefill = false"
|
||||||
|
|
||||||
As a small gimic it adds also a sound when a tool breaks, to improve the atmosphere of the gameplay.
|
As a small gimmick it adds also a sound when a tool breaks, just to improve the atmosphere of the gameplay.
|
||||||
|
|
||||||
|
|
||||||
|
Supported mods:
|
||||||
|
- unified_inventory
|
||||||
|
- 3d_armor.
|
||||||
|
|
||||||
|
2
init.lua
2
init.lua
@ -238,7 +238,7 @@ minetest.register_on_punchnode(function(pos, node, puncher)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
wielded.wear[name] = item:get_wear()
|
wielded.wear[name] = item:get_wear()
|
||||||
-- TODO: re-add for costum tools like lighter
|
-- TODO: re-add for custom tools like lighter
|
||||||
end)
|
end)
|
||||||
|
|
||||||
minetest.register_on_dignode(function(pos, oldnode, digger)
|
minetest.register_on_dignode(function(pos, oldnode, digger)
|
||||||
|
Loading…
Reference in New Issue
Block a user