1
0
Fork 0

Rename mcl_autogroup to _mcl_autogroup

This should fix some autogroup-related issues due to loading order.
objects
Wuzzy 2018-05-08 16:32:07 +02:00
parent 5ca5811bc8
commit fff3eb1ee7
9 changed files with 15 additions and 12 deletions

View 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.

View File

@ -0,0 +1 @@
MineClone 2 core mod which automatically adds groups to all items. Very important for digging times.

View File

@ -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.

View File

@ -0,0 +1 @@
name = _mcl_autogroup

View File

@ -1 +0,0 @@
name = mcl_autogroup

View File

@ -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

View File

@ -1,3 +1,3 @@
mcl_init
mcl_autogroup?
_mcl_autogroup?
3d_armor?

View File

@ -1,2 +1,2 @@
mcl_sounds
mcl_autogroup
_mcl_autogroup