mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 00:19:32 +01:00
Rename mcl_autogroup to _mcl_autogroup
This should fix some autogroup-related issues due to loading order.
This commit is contained in:
parent
5ca5811bc8
commit
fff3eb1ee7
9 changed files with 15 additions and 12 deletions
10
mods/CORE/_mcl_autogroup/README.txt
Normal file
10
mods/CORE/_mcl_autogroup/README.txt
Normal file
|
@ -0,0 +1,10 @@
|
|||
This mod automatically adds groups to items based on item metadata.
|
||||
|
||||
Specifically, this mod has 2 purposes:
|
||||
1) Automatically adding the group “solid” for blocks considered “solid” in Minecraft.
|
||||
2) Generating digging time group for all nodes based on node metadata (it's complicated)
|
||||
|
||||
See init.lua for more infos.
|
||||
|
||||
The leading underscore in the name “_mcl_autogroup” was added to force Minetest to load this mod as late as possible.
|
||||
As of 0.4.16, Minetest loads mods in reverse alphabetical order.
|
1
mods/CORE/_mcl_autogroup/description.txt
Normal file
1
mods/CORE/_mcl_autogroup/description.txt
Normal file
|
@ -0,0 +1 @@
|
|||
MineClone 2 core mod which automatically adds groups to all items. Very important for digging times.
|
|
@ -1,11 +1,3 @@
|
|||
--[[ This mod automatically adds groups to items based on item metadata.
|
||||
|
||||
Specifically, this mod has 2 purposes:
|
||||
1) Automatically adding the group “solid” for blocks considered “solid” in Minecraft.
|
||||
2) Generating digging time group for all nodes based on node metadata (it's complicated)
|
||||
|
||||
]]
|
||||
|
||||
--[[ Mining times. Yeah, mining times … Alright, this is going to be FUN!
|
||||
|
||||
This mod does include a HACK to make 100% sure the digging times of all tools match Minecraft's perfectly.
|
1
mods/CORE/_mcl_autogroup/mod.conf
Normal file
1
mods/CORE/_mcl_autogroup/mod.conf
Normal file
|
@ -0,0 +1 @@
|
|||
name = _mcl_autogroup
|
|
@ -1 +0,0 @@
|
|||
name = mcl_autogroup
|
|
@ -11,7 +11,7 @@ for _, f in pairs(builtin_filter_ids) do
|
|||
end
|
||||
|
||||
--[[ Populate all the item tables. We only do this once. Note this mod must be
|
||||
loaded after mcl_autogroup for this to work, because it required certain
|
||||
loaded after _mcl_autogroup for this to work, because it required certain
|
||||
groups to be set. ]]
|
||||
do
|
||||
for name,def in pairs(minetest.registered_items) do
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
mcl_init
|
||||
mcl_autogroup?
|
||||
_mcl_autogroup?
|
||||
3d_armor?
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
mcl_sounds
|
||||
mcl_autogroup
|
||||
_mcl_autogroup
|
||||
|
|
Loading…
Reference in a new issue