sorcery  Diff

Differences From Artifact [b08a2041a5]:

To Artifact [ba37716134]:


1
2
3
4
5
6

7






8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23







24



















return {
	Force = {
		color = {255,165,85}; flag = 'force';
		apply = function(potion, kind)
			local meta = potion:get_meta()
			meta:set_int('force', meta:get_int('force') + 1)

		end;






		describe = function(potion)
			return 'good', 'empowered', "The strength of this potion's effect has been alchemically amplified"
		end;
		infusion = 'sorcery:grease_thunder';
	};
	Longevity = {
		color = {255,85,216}; flag = 'duration';
		apply = function(potion, kind)
			local meta = potion:get_meta()
			meta:set_int('duration', meta:get_int('duration') + 1)
		end;
		describe = function(potion)
			return 'good', 'prolonged', 'The effects of this potion will last longer than normal'
		end;
		infusion = 'sorcery:grease_pine';
	};







}



















|
<
<
|
|
<
>
|
>
>
>
>
>
>






|
|
<
<
<





>
>
>
>
>
>
>
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1


2
3

4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19



20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
local inc = function(prop, val)


	return function(potion, kind)
		local meta = potion:get_meta()

		meta:set_int(prop, meta:get_int(prop) + (val or 1))
	end
end

return {
	Force = {
		color = {255,165,85}; qual = 'force';
		apply = inc('force');
		describe = function(potion)
			return 'good', 'empowered', "The strength of this potion's effect has been alchemically amplified"
		end;
		infusion = 'sorcery:grease_thunder';
	};
	Longevity = {
		color = {255,85,216}; qual = 'duration';
		apply = inc('duration');



		describe = function(potion)
			return 'good', 'prolonged', 'The effects of this potion will last longer than normal'
		end;
		infusion = 'sorcery:grease_pine';
	};
	Rapidity = {
		color = {183,28,238}; qual = 'speed';
		apply = inc('speed');
		describe = function(potion)
			return 'good', 'Quickened', 'This potion will take effect more quiclkly and easily'
		end;
		infusion = 'sorcery:liquid_sap_acacia_bottle';
	};
	Purity = {
		color = {244,255,255}; qual = 'purity';
		apply = inc('purity');
		describe = function(potion)
			return 'good', 'purified', 'This potion\'s impurities and undesirable side effects are diminished or eliminated'
		end;
		infusion = 'sorcery:oil_purifying';
	};
	Beauty = {
		color = {255,20,226}; qual = 'beauty';
		apply = inc('beauty');
		describe = function(potion)
			return 'good', 'beautified', 'The effects of this potion will be more vivid and spectacular than normal'
		end;
		infusion = 'sorcery:liquid_sap_apple_bottle';
	};
	-- Glory?
	-- Clarity?
}