sorcery  Check-in [92e49a62b8]

Overview
Comment:fix misplaced parens
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 92e49a62b8b5eb58df9677b3b9198f982975a168540ba0e3e5298ff6add4bd0e
User & Date: lexi on 2021-10-18 12:00:33
Other Links: manifest | tags
Context
2021-10-18
12:03
add missing images check-in: 59604446d7 user: lexi tags: trunk
12:00
fix misplaced parens check-in: 92e49a62b8 user: lexi tags: trunk
2021-10-17
03:27
fix amulets again check-in: 1d0bffea07 user: lexi tags: trunk
Changes

Modified gems.lua from [fa0c620eff] to [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)