sorcery  Diff

Differences From Artifact [fa0c620eff]:

To Artifact [bf2974671a]:


53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
			};
		})
	end
	gem.durability = gem.durability or (gem.hardness or 1) * 100
	if not gem.foreign_amulet then
		local img = sorcery.lib.image
		local colorized_stone = function(file)
			return img(file):multiply(sorcery.lib.color(gem.tone:brighten(1.1)))
		end
		local img_stone = colorized_stone('sorcery_amulet.png')
		local img_stone_tiny = colorized_stone('sorcery_amulet_embedded.png')
		local img_sparkle = img('sorcery_amulet_sparkle.png')
		local img_necklace = img('sorcery_amulet_necklace.png')
		local useamulet = function(stack,user,target)
			local sp = sorcery.amulet.getspell(stack)







|







53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
			};
		})
	end
	gem.durability = gem.durability or (gem.hardness or 1) * 100
	if not gem.foreign_amulet then
		local img = sorcery.lib.image
		local colorized_stone = function(file)
			return img(file):multiply(sorcery.lib.color(gem.tone):brighten(1.1))
		end
		local img_stone = colorized_stone('sorcery_amulet.png')
		local img_stone_tiny = colorized_stone('sorcery_amulet_embedded.png')
		local img_sparkle = img('sorcery_amulet_sparkle.png')
		local img_necklace = img('sorcery_amulet_necklace.png')
		local useamulet = function(stack,user,target)
			local sp = sorcery.amulet.getspell(stack)