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