Differences From Artifact [5df312f3fb]:
- File itemclass.lua — part of check-in [01f4ba8ddc] at 2021-06-28 15:38:59 on branch trunk — more work on kegs and liquid, add taps and troughs for tapping trees and obtaining sap, add tree lore, add infuser module system, various tweaks, fix up bugged itemclass logic, add scaffold for crafting extension mechanism (user: lexi, size: 6483) [annotate] [blame] [check-ins using]
To Artifact [2e8a1de5b1]:
- File itemclass.lua — part of check-in [0dbb4f52c3] at 2021-07-08 01:08:09 on branch trunk — add tool wear to lathe, add page turning sounds for cookbooks (user: lexi, size: 6553) [annotate] [blame] [check-ins using]
21 21 -- themselves) and items crafted from those materials. 22 22 -- the former includes only crafting materials, the 23 23 -- latter includes both. 24 24 gem = { 25 25 compat = 'gems'; 26 + finagle = function(g) return {data = sorcery.data.gems[g.id]} end; 26 27 groups = { 'gem', 'crystal'; }; 27 28 predicate = function(name) 28 29 if minetest.get_item_group(name, 'sorcery_gem') ~= 0 29 30 or minetest.get_item_group(name, 'sorcery_shard') ~= 0 then 30 31 return minetest.registered_items[name]._sorcery.material;