sorcery  Diff

Differences From Artifact [752c791349]:

To Artifact [73a80c3c4b]:


25
26
27
28
29
30
31
32
33
34
35
36
37
38


39
40
41
42
43
44
45
..
47
48
49
50
51
52
53
54
55
56
57
58
59

60
-- and load them automatically, as interdependencies
-- exist (especially with /lib) and we need to be very
-- careful about the order they're loaded in

sorcery.unit('data') {'ui'}
sorcery.unit('lib') {
	-- convenience
	'str', 'node';
	-- serialization
	'marshal', 'json';
	-- data structures
	'tbl', 'class';
	-- wrappers
	'color', 'image', 'ui';


}

sorcery.unit() { 'compat', 'matreg' }
sorcery.unit('data') {
	'compat';
	'affinities'; 'gods';
	'enchants', 'spells';
................................................................................
	'potions', 'oils', 'greases',
		'draughts', 'elixirs',
		'philters', 'extracts';
	'register';
}

for _,u in pairs {
	'ores'; 'gems';	'leylines';
	'potions'; 'infuser'; 'altar'; 'wands';
	'tools'; 'enchanter'; 'harvester';
	'metallurgy-hot', 'metallurgy-cold';
	'entities'; 'recipes'; 'coins';
	'interop'; 'tnodes'; 'forcefield';

} do sorcery.load(u) end







|






>
>







 







|

|



>

25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
..
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
-- and load them automatically, as interdependencies
-- exist (especially with /lib) and we need to be very
-- careful about the order they're loaded in

sorcery.unit('data') {'ui'}
sorcery.unit('lib') {
	-- convenience
	'str';
	-- serialization
	'marshal', 'json';
	-- data structures
	'tbl', 'class';
	-- wrappers
	'color', 'image', 'ui';
	-- game
	'node';
}

sorcery.unit() { 'compat', 'matreg' }
sorcery.unit('data') {
	'compat';
	'affinities'; 'gods';
	'enchants', 'spells';
................................................................................
	'potions', 'oils', 'greases',
		'draughts', 'elixirs',
		'philters', 'extracts';
	'register';
}

for _,u in pairs {
	'attunement'; 'ores'; 'gems'; 'leylines';
	'potions'; 'infuser'; 'altar'; 'wands';
	'tools'; 'crafttools'; 'enchanter'; 'harvester';
	'metallurgy-hot', 'metallurgy-cold';
	'entities'; 'recipes'; 'coins';
	'interop'; 'tnodes'; 'forcefield';
	'farcaster'; 'portal'; 'cookbook'; 'disassembly';
} do sorcery.load(u) end