Differences From Artifact [1d78d17f17]:
- File potions.lua — part of check-in [e408b8d0e0] at 2021-06-24 16:36:14 on branch trunk — enable kegs to store (non-drinkable) potions, add keg crafting recipe (user: lexi, size: 9128) [annotate] [blame] [check-ins using]
To Artifact [a4fa9f9b09]:
- File potions.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: 9091) [annotate] [blame] [check-ins using]
1 1 local u = sorcery.lib 2 2 sorcery.registry.mk('infusions',false) 3 -sorcery.registry.mk('residue',false) 4 3 sorcery.register.residue.meld(sorcery.data.compat.residue) 5 4 6 5 sorcery.register_potion_tbl = function(tbl) -- :/ 7 6 return sorcery.register_potion(tbl.name,tbl.label,tbl.desc,tbl.color,tbl.imgvariant,tbl.glow,tbl.extra) 8 7 end 9 8 sorcery.register_potion = function(name,label,desc,color,imgvariant,glow,extra) 10 9 local image = 'sorcery_liquid_'..(imgvariant or 'dull')..'.png' ..