Skip to content

Commit f871775

Browse files
committed
forgot the defaults lol
1 parent f119192 commit f871775

File tree

4 files changed

+132
-1
lines changed

4 files changed

+132
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,5 @@ build-*/
6565

6666
# for me lol
6767
old/
68-
defaults/
6968
*.txt
7069
!CMakeLists.txt

defaults/custom_chests.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"to-show": "chest_example",
3+
"to-show-alt": "bigbooms",
4+
5+
"chest_example": {
6+
"type": "100key",
7+
"hideStats": true,
8+
"rewards": [
9+
{ "iconID": 433 },
10+
{ "type": "orbs", "amount": 3000 },
11+
{ "type": "diamond", "amount": 200 },
12+
{ "type": "key", "amount": 3 }
13+
]
14+
},
15+
16+
"bigbooms": {
17+
"type": "gold",
18+
"hideStats": true,
19+
"openSound": "sfx/s1740.ogg",
20+
"rewards": [
21+
{ "iconID": 20, "iconType": "deathEffect" },
22+
{ "iconID": 20, "iconType": "deathEffect" },
23+
{ "iconID": 20, "iconType": "deathEffect" },
24+
{ "iconID": 20, "iconType": "deathEffect" },
25+
{ "iconID": 20, "iconType": "deathEffect" }
26+
]
27+
}
28+
}

defaults/custom_dialogues.json

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"to-show": "scratch",
3+
"to-show-alt": "wraith",
4+
5+
"scratch": {
6+
"background": "blue",
7+
"messages": [
8+
{
9+
"name": "Scratch",
10+
"content": "What up,<d020> I'm <cl>Scratch</c>.",
11+
"icon": 10
12+
},
13+
{
14+
"name": "Scratch",
15+
"content": "You can make me say anything you want!",
16+
"icon": 52
17+
},
18+
{
19+
"name": "Scratch",
20+
"content": "Spawn this dialogue while holding ALT for a fancier example!",
21+
"icon": 8
22+
}
23+
]
24+
},
25+
26+
"wraith": {
27+
"background": "darkblue",
28+
"position": "top",
29+
"messages": [
30+
{
31+
"name": "Wraith",
32+
"nameColor": [200, 128, 255],
33+
"content": "Hey it's me, <cr>The Wraith</c>.",
34+
"icon": 53,
35+
"textSound": "sfx/s474.ogg"
36+
},
37+
{
38+
"name": "Wraith",
39+
"nameColor": [200, 128, 255],
40+
"content": "You're not <cg>gullible</c>,<d030> are you?",
41+
"icon": 55,
42+
"textSound": "sfx/s474.ogg"
43+
},
44+
{
45+
"name": "Wraith",
46+
"nameColor": [200, 128, 255],
47+
"content": "Oh,<d020> you're <cy><username></c>?",
48+
"icon": 54,
49+
"textSound": "sfx/s474.ogg",
50+
"pauseMusic": true
51+
},
52+
{
53+
"name": "Wraith",
54+
"nameColor": [200, 128, 255],
55+
"content": "Carry on then<...>",
56+
"icon": 56,
57+
"scale": 0.6,
58+
"textSound": { "name": "sfx/s474.ogg", "volume": 0.5, "speed": -2 },
59+
"pauseMusic": false
60+
}
61+
],
62+
"onComplete": {
63+
"playSound": { "name": "secretKey.ogg", "speed": -1 },
64+
"spawnIcon": { "id": 92, "type": "wave" }
65+
}
66+
}
67+
}

defaults/custom_popups.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"to-show": "alert",
3+
"to-show-alt": "alert-alt",
4+
5+
"alert": {
6+
"title": "Custom Textboxes",
7+
"content": "This is a <cy>custom textbox!</c> Read the docs for info on how to modify it."
8+
},
9+
10+
"alert-alt": {
11+
"title": {
12+
"text": "Woah!",
13+
"font": "gjFont58.fnt",
14+
"color": [255, 128, 0]
15+
},
16+
"subtitle": "Custom icon popup",
17+
"content": "You can also make textboxes like <cg>this!</c>",
18+
"type": "icon",
19+
"icon": {
20+
"type": "cube",
21+
"id": 60,
22+
"col1": 18,
23+
"col2": 10,
24+
"colG": 10
25+
},
26+
"button": {
27+
"content": {
28+
"text": "Cool!",
29+
"scale": 0.75,
30+
"color": [255, 255, 128],
31+
"font": "bigFont.fnt"
32+
},
33+
"background": "pink",
34+
"pulse": { "speed": 0.5, "size": 1.2 }
35+
}
36+
}
37+
}

0 commit comments

Comments
 (0)