narrat 2.0.0-test-2 → 2.0.0-test-4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +730 -0
- package/LICENSE +21 -21
- package/dist/.DS_Store +0 -0
- package/dist/data/characters.json +62 -62
- package/dist/data/config.json +176 -176
- package/dist/data/example.rpy +356 -356
- package/dist/data/refactor.rpy +30 -30
- package/dist/fonts/OpenDyslexic.ttf.svg +2326 -2326
- package/dist/img/.DS_Store +0 -0
- package/dist/lib.css +1 -0
- package/dist/music/.DS_Store +0 -0
- package/dist/narrat.es.js +37 -38
- package/dist/narrat.umd.js +64 -63
- package/dist/sounds/.DS_Store +0 -0
- package/package.json +9 -1
- package/dist/style.css +0 -1
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2020 Liana Pigeot
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 Liana Pigeot
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/.DS_Store
ADDED
|
Binary file
|
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
{
|
|
2
|
-
"config": {
|
|
3
|
-
"imagesPath": "./img/characters/"
|
|
4
|
-
},
|
|
5
|
-
"characters": {
|
|
6
|
-
"game": {
|
|
7
|
-
"name": "",
|
|
8
|
-
"color": "white"
|
|
9
|
-
},
|
|
10
|
-
"player": {
|
|
11
|
-
"style": {
|
|
12
|
-
"color": "orange"
|
|
13
|
-
},
|
|
14
|
-
"name": "You"
|
|
15
|
-
},
|
|
16
|
-
"cat": {
|
|
17
|
-
"sprites": {
|
|
18
|
-
"idle": "cat_idle.jpg"
|
|
19
|
-
},
|
|
20
|
-
"style": {
|
|
21
|
-
"color": "white"
|
|
22
|
-
},
|
|
23
|
-
"name": "Generic Cat"
|
|
24
|
-
},
|
|
25
|
-
"shopkeeper": {
|
|
26
|
-
"sprites": {
|
|
27
|
-
"idle": "music_cat.jpeg"
|
|
28
|
-
},
|
|
29
|
-
"style": {
|
|
30
|
-
"color": "white"
|
|
31
|
-
},
|
|
32
|
-
"name": "Shopkeeper"
|
|
33
|
-
},
|
|
34
|
-
"helper": {
|
|
35
|
-
"sprites": {
|
|
36
|
-
"idle": "helper_cat.png"
|
|
37
|
-
},
|
|
38
|
-
"style": {
|
|
39
|
-
"color": "green"
|
|
40
|
-
},
|
|
41
|
-
"name": "Helper Cat"
|
|
42
|
-
},
|
|
43
|
-
"music_cat": {
|
|
44
|
-
"sprites": {
|
|
45
|
-
"idle": "music_cat.jpeg"
|
|
46
|
-
},
|
|
47
|
-
"style": {
|
|
48
|
-
"color": "green"
|
|
49
|
-
},
|
|
50
|
-
"name": "Music Cat"
|
|
51
|
-
},
|
|
52
|
-
"inner": {
|
|
53
|
-
"sprites": {
|
|
54
|
-
"idle": "inner_voice.png"
|
|
55
|
-
},
|
|
56
|
-
"style": {
|
|
57
|
-
"color": "red"
|
|
58
|
-
},
|
|
59
|
-
"name": "Inner Voice"
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"config": {
|
|
3
|
+
"imagesPath": "./img/characters/"
|
|
4
|
+
},
|
|
5
|
+
"characters": {
|
|
6
|
+
"game": {
|
|
7
|
+
"name": "",
|
|
8
|
+
"color": "white"
|
|
9
|
+
},
|
|
10
|
+
"player": {
|
|
11
|
+
"style": {
|
|
12
|
+
"color": "orange"
|
|
13
|
+
},
|
|
14
|
+
"name": "You"
|
|
15
|
+
},
|
|
16
|
+
"cat": {
|
|
17
|
+
"sprites": {
|
|
18
|
+
"idle": "cat_idle.jpg"
|
|
19
|
+
},
|
|
20
|
+
"style": {
|
|
21
|
+
"color": "white"
|
|
22
|
+
},
|
|
23
|
+
"name": "Generic Cat"
|
|
24
|
+
},
|
|
25
|
+
"shopkeeper": {
|
|
26
|
+
"sprites": {
|
|
27
|
+
"idle": "music_cat.jpeg"
|
|
28
|
+
},
|
|
29
|
+
"style": {
|
|
30
|
+
"color": "white"
|
|
31
|
+
},
|
|
32
|
+
"name": "Shopkeeper"
|
|
33
|
+
},
|
|
34
|
+
"helper": {
|
|
35
|
+
"sprites": {
|
|
36
|
+
"idle": "helper_cat.png"
|
|
37
|
+
},
|
|
38
|
+
"style": {
|
|
39
|
+
"color": "green"
|
|
40
|
+
},
|
|
41
|
+
"name": "Helper Cat"
|
|
42
|
+
},
|
|
43
|
+
"music_cat": {
|
|
44
|
+
"sprites": {
|
|
45
|
+
"idle": "music_cat.jpeg"
|
|
46
|
+
},
|
|
47
|
+
"style": {
|
|
48
|
+
"color": "green"
|
|
49
|
+
},
|
|
50
|
+
"name": "Music Cat"
|
|
51
|
+
},
|
|
52
|
+
"inner": {
|
|
53
|
+
"sprites": {
|
|
54
|
+
"idle": "inner_voice.png"
|
|
55
|
+
},
|
|
56
|
+
"style": {
|
|
57
|
+
"color": "red"
|
|
58
|
+
},
|
|
59
|
+
"name": "Inner Voice"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
package/dist/data/config.json
CHANGED
|
@@ -1,176 +1,176 @@
|
|
|
1
|
-
{
|
|
2
|
-
"gameTitle": "Narrat Game Example",
|
|
3
|
-
"images": {
|
|
4
|
-
"narrat": "img/backgrounds/narrat.png",
|
|
5
|
-
"map": "img/backgrounds/map.png",
|
|
6
|
-
"shopButton": "img/ui/shop-button.png",
|
|
7
|
-
"parkButton": "img/ui/park-button.png"
|
|
8
|
-
},
|
|
9
|
-
"layout": {
|
|
10
|
-
"backgrounds": {
|
|
11
|
-
"width": 880,
|
|
12
|
-
"height": 720
|
|
13
|
-
},
|
|
14
|
-
"dialogBottomPadding": 70,
|
|
15
|
-
"minTextWidth": 475,
|
|
16
|
-
"mobileDialogHeightPercentage": 60,
|
|
17
|
-
"verticalLayoutThreshold": 1000,
|
|
18
|
-
"portraits": {
|
|
19
|
-
"width": 100,
|
|
20
|
-
"height": 100
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"screens": {
|
|
24
|
-
"default": {
|
|
25
|
-
"background": "narrat"
|
|
26
|
-
},
|
|
27
|
-
"map": {
|
|
28
|
-
"background": "map",
|
|
29
|
-
"buttons": ["shopButton", "parkButton"]
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
"buttons": {
|
|
33
|
-
"shopButton": {
|
|
34
|
-
"enabled": false,
|
|
35
|
-
"background": "shopButton",
|
|
36
|
-
"position": {
|
|
37
|
-
"left": 38,
|
|
38
|
-
"top": 6,
|
|
39
|
-
"width": 255,
|
|
40
|
-
"height": 226
|
|
41
|
-
},
|
|
42
|
-
"action": "shopButton"
|
|
43
|
-
},
|
|
44
|
-
"parkButton": {
|
|
45
|
-
"enabled": false,
|
|
46
|
-
"background": "parkButton",
|
|
47
|
-
"position": {
|
|
48
|
-
"left": 632,
|
|
49
|
-
"top": 86,
|
|
50
|
-
"width": 255,
|
|
51
|
-
"height": 226
|
|
52
|
-
},
|
|
53
|
-
"action": "parkButton"
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"skills": {
|
|
57
|
-
"agility": {
|
|
58
|
-
"name": "Agility",
|
|
59
|
-
"description": "How good you are at moving around.",
|
|
60
|
-
"startingLevel": 0,
|
|
61
|
-
"icon": "img/skills/agility.jpg",
|
|
62
|
-
"hidden": true
|
|
63
|
-
},
|
|
64
|
-
"haggling": {
|
|
65
|
-
"name": "Haggling",
|
|
66
|
-
"description": "Get good prices on items",
|
|
67
|
-
"icon": "img/skills/logic.jpg",
|
|
68
|
-
"startingLevel": 1
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
"skillChecks": {
|
|
72
|
-
"rollRange": 100,
|
|
73
|
-
"skillMultiplier": 10,
|
|
74
|
-
"failureChance": 1,
|
|
75
|
-
"difficultyText": [
|
|
76
|
-
[0, "Very Easy"],
|
|
77
|
-
[10, "Easy"],
|
|
78
|
-
[30, "Medium"],
|
|
79
|
-
[50, "Hard"],
|
|
80
|
-
[70, "Very Hard"],
|
|
81
|
-
[80, "Extremely Hard"],
|
|
82
|
-
[90, "Near Impossible"]
|
|
83
|
-
]
|
|
84
|
-
},
|
|
85
|
-
"scripts": ["data/example.rpy"],
|
|
86
|
-
"audio": {
|
|
87
|
-
"calm": {
|
|
88
|
-
"loop": true,
|
|
89
|
-
"src": "music/calm.mp3"
|
|
90
|
-
},
|
|
91
|
-
"click": {
|
|
92
|
-
"src": "audio/click.ogg"
|
|
93
|
-
},
|
|
94
|
-
"game_start": {
|
|
95
|
-
"src": "audio/game_start.ogg"
|
|
96
|
-
},
|
|
97
|
-
"failure": {
|
|
98
|
-
"src": "audio/failure.ogg"
|
|
99
|
-
},
|
|
100
|
-
"success": {
|
|
101
|
-
"src": "audio/success.wav"
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
"audioOptions": {
|
|
105
|
-
"volume": 0.5,
|
|
106
|
-
"musicFadeInTime": 0.5,
|
|
107
|
-
"musicFadeInDelay": 0.5,
|
|
108
|
-
"musicFadeOutTime": 0.5
|
|
109
|
-
},
|
|
110
|
-
"notifications": {
|
|
111
|
-
"timeOnScreen": 2.5,
|
|
112
|
-
"alsoPrintInDialogue": true
|
|
113
|
-
},
|
|
114
|
-
"hudStats": {
|
|
115
|
-
"money": {
|
|
116
|
-
"icon": "img/ui/money.png",
|
|
117
|
-
"name": "Money",
|
|
118
|
-
"startingValue": 10,
|
|
119
|
-
"minValue": 0
|
|
120
|
-
},
|
|
121
|
-
"energy": {
|
|
122
|
-
"icon": "img/ui/energy.png",
|
|
123
|
-
"name": "Energy",
|
|
124
|
-
"startingValue": 10,
|
|
125
|
-
"minValue": 0,
|
|
126
|
-
"maxValue": 10
|
|
127
|
-
}
|
|
128
|
-
},
|
|
129
|
-
"items": {
|
|
130
|
-
"bread": {
|
|
131
|
-
"name": "Bread",
|
|
132
|
-
"description": "A bread in the game.",
|
|
133
|
-
"icon": "img/items/bread.png",
|
|
134
|
-
"onUse": {
|
|
135
|
-
"action": "jump",
|
|
136
|
-
"label": "eat_bread"
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
"book": {
|
|
140
|
-
"name": "Ominous Book",
|
|
141
|
-
"description": "An ominous book. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque sed ullamcorper turpis. Aliquam tincidunt dolor sed mollis aliquet. Duis in odio eros. Maecenas sapien arcu, fermentum id tincidunt non, accumsan vel metus. Nullam pretium molestie accumsan. In ut rutrum tellus. Integer vitae nisl eleifend lorem tristique auctor quis sed nulla. Cras gravida viverra tristique. Mauris imperdiet tortor purus, fringilla vehicula metus ullamcorper eget. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla porta imperdiet justo, sed blandit orci. Aenean accumsan hendrerit arcu, laoreet vestibulum turpis vulputate eu. Etiam dignissim nibh dictum pharetra congue. Nulla ultrices, augue a blandit laoreet, metus enim sodales arcu, eget pellentesque lorem justo et ipsum. ",
|
|
142
|
-
"icon": "img/items/book.png",
|
|
143
|
-
"onUse": {
|
|
144
|
-
"action": "run_label",
|
|
145
|
-
"label": "read_book"
|
|
146
|
-
},
|
|
147
|
-
"tag": "always_interactable"
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
"interactionTags": {
|
|
151
|
-
"default": {
|
|
152
|
-
"onlyInteractOutsideOfScripts": true
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
|
-
"quests": {
|
|
156
|
-
"breadShopping": {
|
|
157
|
-
"title": "Bread Shopping",
|
|
158
|
-
"description": "The helper cat asked you to buy bread for him.",
|
|
159
|
-
"objectives": {
|
|
160
|
-
"bread": {
|
|
161
|
-
"description": "Buy bread for the helper cat."
|
|
162
|
-
},
|
|
163
|
-
"delivery": {
|
|
164
|
-
"hidden": true,
|
|
165
|
-
"description": "Deliver the bread to the helper cat."
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
},
|
|
170
|
-
"audioTriggers": {
|
|
171
|
-
"onPlayerAnswered": "click",
|
|
172
|
-
"onPressStart": "game_start",
|
|
173
|
-
"onSkillCheckFailure": "failure",
|
|
174
|
-
"onSkillCheckSuccess": "success"
|
|
175
|
-
}
|
|
176
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"gameTitle": "Narrat Game Example",
|
|
3
|
+
"images": {
|
|
4
|
+
"narrat": "img/backgrounds/narrat.png",
|
|
5
|
+
"map": "img/backgrounds/map.png",
|
|
6
|
+
"shopButton": "img/ui/shop-button.png",
|
|
7
|
+
"parkButton": "img/ui/park-button.png"
|
|
8
|
+
},
|
|
9
|
+
"layout": {
|
|
10
|
+
"backgrounds": {
|
|
11
|
+
"width": 880,
|
|
12
|
+
"height": 720
|
|
13
|
+
},
|
|
14
|
+
"dialogBottomPadding": 70,
|
|
15
|
+
"minTextWidth": 475,
|
|
16
|
+
"mobileDialogHeightPercentage": 60,
|
|
17
|
+
"verticalLayoutThreshold": 1000,
|
|
18
|
+
"portraits": {
|
|
19
|
+
"width": 100,
|
|
20
|
+
"height": 100
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"screens": {
|
|
24
|
+
"default": {
|
|
25
|
+
"background": "narrat"
|
|
26
|
+
},
|
|
27
|
+
"map": {
|
|
28
|
+
"background": "map",
|
|
29
|
+
"buttons": ["shopButton", "parkButton"]
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"buttons": {
|
|
33
|
+
"shopButton": {
|
|
34
|
+
"enabled": false,
|
|
35
|
+
"background": "shopButton",
|
|
36
|
+
"position": {
|
|
37
|
+
"left": 38,
|
|
38
|
+
"top": 6,
|
|
39
|
+
"width": 255,
|
|
40
|
+
"height": 226
|
|
41
|
+
},
|
|
42
|
+
"action": "shopButton"
|
|
43
|
+
},
|
|
44
|
+
"parkButton": {
|
|
45
|
+
"enabled": false,
|
|
46
|
+
"background": "parkButton",
|
|
47
|
+
"position": {
|
|
48
|
+
"left": 632,
|
|
49
|
+
"top": 86,
|
|
50
|
+
"width": 255,
|
|
51
|
+
"height": 226
|
|
52
|
+
},
|
|
53
|
+
"action": "parkButton"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"skills": {
|
|
57
|
+
"agility": {
|
|
58
|
+
"name": "Agility",
|
|
59
|
+
"description": "How good you are at moving around.",
|
|
60
|
+
"startingLevel": 0,
|
|
61
|
+
"icon": "img/skills/agility.jpg",
|
|
62
|
+
"hidden": true
|
|
63
|
+
},
|
|
64
|
+
"haggling": {
|
|
65
|
+
"name": "Haggling",
|
|
66
|
+
"description": "Get good prices on items",
|
|
67
|
+
"icon": "img/skills/logic.jpg",
|
|
68
|
+
"startingLevel": 1
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"skillChecks": {
|
|
72
|
+
"rollRange": 100,
|
|
73
|
+
"skillMultiplier": 10,
|
|
74
|
+
"failureChance": 1,
|
|
75
|
+
"difficultyText": [
|
|
76
|
+
[0, "Very Easy"],
|
|
77
|
+
[10, "Easy"],
|
|
78
|
+
[30, "Medium"],
|
|
79
|
+
[50, "Hard"],
|
|
80
|
+
[70, "Very Hard"],
|
|
81
|
+
[80, "Extremely Hard"],
|
|
82
|
+
[90, "Near Impossible"]
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
"scripts": ["data/example.rpy"],
|
|
86
|
+
"audio": {
|
|
87
|
+
"calm": {
|
|
88
|
+
"loop": true,
|
|
89
|
+
"src": "music/calm.mp3"
|
|
90
|
+
},
|
|
91
|
+
"click": {
|
|
92
|
+
"src": "audio/click.ogg"
|
|
93
|
+
},
|
|
94
|
+
"game_start": {
|
|
95
|
+
"src": "audio/game_start.ogg"
|
|
96
|
+
},
|
|
97
|
+
"failure": {
|
|
98
|
+
"src": "audio/failure.ogg"
|
|
99
|
+
},
|
|
100
|
+
"success": {
|
|
101
|
+
"src": "audio/success.wav"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"audioOptions": {
|
|
105
|
+
"volume": 0.5,
|
|
106
|
+
"musicFadeInTime": 0.5,
|
|
107
|
+
"musicFadeInDelay": 0.5,
|
|
108
|
+
"musicFadeOutTime": 0.5
|
|
109
|
+
},
|
|
110
|
+
"notifications": {
|
|
111
|
+
"timeOnScreen": 2.5,
|
|
112
|
+
"alsoPrintInDialogue": true
|
|
113
|
+
},
|
|
114
|
+
"hudStats": {
|
|
115
|
+
"money": {
|
|
116
|
+
"icon": "img/ui/money.png",
|
|
117
|
+
"name": "Money",
|
|
118
|
+
"startingValue": 10,
|
|
119
|
+
"minValue": 0
|
|
120
|
+
},
|
|
121
|
+
"energy": {
|
|
122
|
+
"icon": "img/ui/energy.png",
|
|
123
|
+
"name": "Energy",
|
|
124
|
+
"startingValue": 10,
|
|
125
|
+
"minValue": 0,
|
|
126
|
+
"maxValue": 10
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"items": {
|
|
130
|
+
"bread": {
|
|
131
|
+
"name": "Bread",
|
|
132
|
+
"description": "A bread in the game.",
|
|
133
|
+
"icon": "img/items/bread.png",
|
|
134
|
+
"onUse": {
|
|
135
|
+
"action": "jump",
|
|
136
|
+
"label": "eat_bread"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"book": {
|
|
140
|
+
"name": "Ominous Book",
|
|
141
|
+
"description": "An ominous book. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque sed ullamcorper turpis. Aliquam tincidunt dolor sed mollis aliquet. Duis in odio eros. Maecenas sapien arcu, fermentum id tincidunt non, accumsan vel metus. Nullam pretium molestie accumsan. In ut rutrum tellus. Integer vitae nisl eleifend lorem tristique auctor quis sed nulla. Cras gravida viverra tristique. Mauris imperdiet tortor purus, fringilla vehicula metus ullamcorper eget. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla porta imperdiet justo, sed blandit orci. Aenean accumsan hendrerit arcu, laoreet vestibulum turpis vulputate eu. Etiam dignissim nibh dictum pharetra congue. Nulla ultrices, augue a blandit laoreet, metus enim sodales arcu, eget pellentesque lorem justo et ipsum. ",
|
|
142
|
+
"icon": "img/items/book.png",
|
|
143
|
+
"onUse": {
|
|
144
|
+
"action": "run_label",
|
|
145
|
+
"label": "read_book"
|
|
146
|
+
},
|
|
147
|
+
"tag": "always_interactable"
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"interactionTags": {
|
|
151
|
+
"default": {
|
|
152
|
+
"onlyInteractOutsideOfScripts": true
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"quests": {
|
|
156
|
+
"breadShopping": {
|
|
157
|
+
"title": "Bread Shopping",
|
|
158
|
+
"description": "The helper cat asked you to buy bread for him.",
|
|
159
|
+
"objectives": {
|
|
160
|
+
"bread": {
|
|
161
|
+
"description": "Buy bread for the helper cat."
|
|
162
|
+
},
|
|
163
|
+
"delivery": {
|
|
164
|
+
"hidden": true,
|
|
165
|
+
"description": "Deliver the bread to the helper cat."
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"audioTriggers": {
|
|
171
|
+
"onPlayerAnswered": "click",
|
|
172
|
+
"onPressStart": "game_start",
|
|
173
|
+
"onSkillCheckFailure": "failure",
|
|
174
|
+
"onSkillCheckSuccess": "success"
|
|
175
|
+
}
|
|
176
|
+
}
|