-
Notifications
You must be signed in to change notification settings - Fork 0
/
example_mod.yaml
74 lines (60 loc) · 1.59 KB
/
example_mod.yaml
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
#parent=example_global.yaml
---
ModMetaData: !merge
<: !parent ModMetaData
name: Super Swords
packageId: modder.superswords
url: https://example.com/rimworld-super-swords
modDependencies:
- packageId: brrainz.harmony
displayName: Harmony
steamWorkshopUrl: steam://url/CommunityFilePage/2009463077
downloadUrl: https://github.com/pardeike/HarmonyRimWorld/releases/latest
intro: Super slashin'! Git 'em good!
# mappings are easy to override in a child file
longsword:
title: &longsword_title '[u]Super longsword.[/u]'
desc: &longsword_desc 'A super longsword: 1.5x vanilla damage.'
_: &v1_2_0 !join [ "\n", [ *longsword_title, *longsword_desc ] ]
features: !join
- "\n"
- - &v1_0_0 !join
- "\n"
- - |-
[u]Super gladius.[/u]
- &gladius_desc |-
A super gladius: 2x vanilla damage.
- |-
{is_steam?=Slashy slashy!
}
{longsword.title}
{longsword.desc}
-
- &v1_1_0 |-
[u]Spawn map with random super sword.[/u]
It's a neat feature!
updates:
- at: 1.0.0
desc: *v1_0_0
- at: 1.1.0
desc: !join
- "\n"
- - *v1_1_0
- |-
• Fixed bug with super gladius.
- at: 1.2.0
desc: *v1_2_0
- at: 1.2.1
desc: '• Fixed bug with super longsword.'
settings:
- name: enabled
title: Enable mod
- name: useLongsword
title: Enable longsword
desc: '{longsword.desc}'
- name: spawnWith
title: *v1_1_0
swords: !join [ "\n", [ *gladius_desc, '{longsword.desc}' ] ]
desc: |-
Spawn map with one of these swords:
{swords}