Standardized groups for mods compatibility
We could define more standard groups that would be documented, and used. This will improve the compatibility between mods. We should add all possible data for the nodes in mods and in minetest_game, even if they are useless without any other mod.
Problem : it seems that it's not the main trend in minetest_game.
I'm especially against commit 4ec4672 : it is the exact opposite of what I mean.
A few suggestions :
And, for example, add a special group that we could name food or edible, with a rating. Item can be eaten and restores this rating through a public function defined in builtin, that mods can change.
And do really use in mods groups like flammable, connect_to_raillike, cracky, snappy, explody, vessel when it's logical, even if it's not the main interest of your mod.
Problem : it seems that it's not the main trend in minetest_game.
I'm especially against commit 4ec4672 : it is the exact opposite of what I mean.
A few suggestions :
- hot
- cold
- freezes
- melts
- nonsolid* : its weight is considered null. Can be crushed. (grass, fire, …)
- heavy : particulary heavy (for example steelblock with rating 1, copperblock with 2, goldblock with 3)
- gas*
- buildable_to* should be a group, I think. It's not exactely the same as nonsolid.
- soil : use different ratings. Some saplings need 3 but some others have enough with 1
And, for example, add a special group that we could name food or edible, with a rating. Item can be eaten and restores this rating through a public function defined in builtin, that mods can change.
And do really use in mods groups like flammable, connect_to_raillike, cracky, snappy, explody, vessel when it's logical, even if it's not the main interest of your mod.