-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.tmpl
More file actions
33 lines (30 loc) · 995 Bytes
/
example.tmpl
File metadata and controls
33 lines (30 loc) · 995 Bytes
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
{{- modlet "ExampleModlet" -}}
{{- output "ModInfo.xml" -}}
{{- xmlHeader -}}
<xml>
<Name value="ExampleModlet" />
<DisplayName value="This is an Example Modlet" />
<Version value="0.1.0" compat="1.0" />
<Description value="A Really cool example of a modlet built by Donovan's ModBulder" />
<Author value="Donovan" />
<Website value="https://example.com" />
</xml>
{{- write -}}
{{- output "Config/blocks.xml" -}}
<configs>
{{ set "//block[@name='terrStone']/drop[@event='Harvest' and @name='resourceRockSmall']/@count" "165" }}
{{ mult "//block[starts_with(name, 'terr')]/drop[@event='Harvest' and @name='resourceRockSmall']/@count" "by=1.5" "min=1" }}
<!-- BLOCKS -->
<blocks>
<block name="exampleBlock" type="exampleBlock" />
</blocks>
</configs>
{{- write -}}
{{- output "Config/entityclasses.xml" -}}
<configs>
<!-- ENTITY CLASSES -->
<entityclasses>
<entityclass name="exampleEntity" type="exampleEntity" />
</entityclasses>
</configs>
{{- write -}}