25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
..
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';
-- serialization
'marshal', 'json';
-- data structures
'tbl', 'class';
-- wrappers
'color', 'image', 'ui';
}
................................................................................
'potions', 'oils', 'greases',
'draughts', 'elixirs',
'philters', 'extracts';
'register';
}
for _,u in pairs {
'leylines'; 'ores'; 'gems';
'potions'; 'infuser'; 'altar'; 'wands';
'tools'; 'enchanter'; 'harvester';
'metallurgy-hot', 'metallurgy-cold';
'entities'; 'recipes'; 'coins';
'interop'; 'tnodes';
} do sorcery.load(u) end
|
|
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
..
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';
}
................................................................................
'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
|