-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.xml
74 lines (64 loc) · 2.5 KB
/
config.xml
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?xml version="1.0" encoding="utf-8"?>
<config>
<!-- This file contains the CRP options. -->
<updates>
<!-- This is mostly about updates. Yep. I'm setting these timers so a check is limited once per day. -->
<!-- 24 hours = 86400 seconds -->
<core>
<timer>86400</timer>
<version>https://raw.githubusercontent.com/Private/CollectiveRefiningProgram/stable/version</version>
<url>https://github.com/Private/CollectiveRefiningProgram/archive/stable.zip</url>
</core>
<database>
<timer>86400</timer>
<url>https://www.fuzzwork.co.uk/dump/sqlite-latest.sqlite.bz2</url>
<md5>https://www.fuzzwork.co.uk/dump/sqlite-latest.sqlite.bz2.md5</md5>
<filename>latest.sqlite</filename>
</database>
</updates>
<cache>
<!-- I'm adding a cache here, I should have done do long ago. -->
<directory>cache</directory>
<filename>cache/cache.sqlite</filename>
</cache>
<namingpatterns>
<!-- This segment allows user-defined container naming patterns. These are fed
straight to the standard Python re package, so see code or documentation
for more info. -->
<!-- This reads as "Any character, any number of times, then "CRP", then any
character, any number of times". In other words, any string with "CRP" in
it. -->
<pattern>(?:.*)(CRP)(?:.*)</pattern>
<!-- For those of you who are old-school. -->
<pattern>(?:.*)(LBP)(?:.*)</pattern>
</namingpatterns>
<valuation>
<!-- The market segment allows you to control how prices are estimated. -->
<!-- This is rather rudimentary. Currently operations "min", "max" and "avg"
(average) are supported. Leaf nodes should be query for obvious reasons. -->
<value>
<avg>
<query system = 'Jita' stat = 'sell'/>
<query system = 'Jita' stat = 'buy'/>
</avg>
</value>
<!-- Set the refining return. The unit is percent. -->
<refiningEfficiency>
<ore>78.522</ore>
<modules>55</modules>
</refiningEfficiency>
<!-- Number of seconds the market data is cached. 3600 seconds is one hour,
human time -->
<cachetime>3600</cachetime>
</valuation>
<outputs>
<!-- I've added an output section to make custom output "easier". -->
<output enabled='true' module='iidp'>
<args outputprefix = '' uniquefiles = 'true'
marketgroups = "{'Mineral': 0.95,
'Salvaged Materials': 0.95,
'Datacores': 0.95,
'Generic Decryptor': 0.95}"/>
</output>
</outputs>
</config>