@dcl/asset-packs 0.0.0-20231005184607.commit-bcc54dd → 0.0.0-20231005203429.commit-c7e8b64
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/catalog.json +696 -36
- package/package.json +2 -2
package/catalog.json
CHANGED
|
@@ -39220,6 +39220,138 @@
|
|
|
39220
39220
|
"thumbnail.png": "bafkreicu4uufmucpth33j7rvtdf5jxytsld5qrztmi55e2zduxqhf2jfou"
|
|
39221
39221
|
}
|
|
39222
39222
|
},
|
|
39223
|
+
{
|
|
39224
|
+
"id": "649d5d96-18be-4f89-b592-f2dfce64b7fe",
|
|
39225
|
+
"name": "Fantasy Lever",
|
|
39226
|
+
"category": "decorations",
|
|
39227
|
+
"tags": [
|
|
39228
|
+
"lever"
|
|
39229
|
+
],
|
|
39230
|
+
"components": {
|
|
39231
|
+
"core::GltfContainer": {
|
|
39232
|
+
"src": "{assetPath}/lever_fantasy.glb"
|
|
39233
|
+
},
|
|
39234
|
+
"asset-packs::Actions": {
|
|
39235
|
+
"id": "{self}",
|
|
39236
|
+
"value": [
|
|
39237
|
+
{
|
|
39238
|
+
"name": "Activate",
|
|
39239
|
+
"type": "set_state",
|
|
39240
|
+
"jsonPayload": "{ \"state\": \"Activated\" }"
|
|
39241
|
+
},
|
|
39242
|
+
{
|
|
39243
|
+
"name": "Deactivate",
|
|
39244
|
+
"type": "set_state",
|
|
39245
|
+
"jsonPayload": "{ \"state\": \"Deactivated\" }"
|
|
39246
|
+
},
|
|
39247
|
+
{
|
|
39248
|
+
"name": "Play Sound",
|
|
39249
|
+
"type": "play_sound",
|
|
39250
|
+
"jsonPayload": "{ \"src\": \"{assetPath}/sound.mp3\" }"
|
|
39251
|
+
},
|
|
39252
|
+
{
|
|
39253
|
+
"name": "Play Activate Animation",
|
|
39254
|
+
"type": "play_animation",
|
|
39255
|
+
"jsonPayload": "{ \"animation\": \"activate\" }"
|
|
39256
|
+
},
|
|
39257
|
+
{
|
|
39258
|
+
"name": "Play Deactivate Animation",
|
|
39259
|
+
"type": "play_animation",
|
|
39260
|
+
"jsonPayload": "{ \"animation\": \"deactivate\" }"
|
|
39261
|
+
}
|
|
39262
|
+
]
|
|
39263
|
+
},
|
|
39264
|
+
"asset-packs::Triggers": {
|
|
39265
|
+
"value": [
|
|
39266
|
+
{
|
|
39267
|
+
"type": "on_click",
|
|
39268
|
+
"conditions": [
|
|
39269
|
+
{
|
|
39270
|
+
"id": "{self:asset-packs::States}",
|
|
39271
|
+
"type": "when_state_is",
|
|
39272
|
+
"value": "Deactivated"
|
|
39273
|
+
}
|
|
39274
|
+
],
|
|
39275
|
+
"actions": [
|
|
39276
|
+
{
|
|
39277
|
+
"id": "{self:asset-packs::Actions}",
|
|
39278
|
+
"name": "Activate"
|
|
39279
|
+
}
|
|
39280
|
+
]
|
|
39281
|
+
},
|
|
39282
|
+
{
|
|
39283
|
+
"type": "on_click",
|
|
39284
|
+
"conditions": [
|
|
39285
|
+
{
|
|
39286
|
+
"id": "{self:asset-packs::States}",
|
|
39287
|
+
"type": "when_state_is",
|
|
39288
|
+
"value": "Activated"
|
|
39289
|
+
}
|
|
39290
|
+
],
|
|
39291
|
+
"actions": [
|
|
39292
|
+
{
|
|
39293
|
+
"id": "{self:asset-packs::Actions}",
|
|
39294
|
+
"name": "Deactivate"
|
|
39295
|
+
}
|
|
39296
|
+
]
|
|
39297
|
+
},
|
|
39298
|
+
{
|
|
39299
|
+
"type": "on_state_change",
|
|
39300
|
+
"conditions": [
|
|
39301
|
+
{
|
|
39302
|
+
"id": "{self:asset-packs::States}",
|
|
39303
|
+
"type": "when_state_is",
|
|
39304
|
+
"value": "Activated"
|
|
39305
|
+
}
|
|
39306
|
+
],
|
|
39307
|
+
"actions": [
|
|
39308
|
+
{
|
|
39309
|
+
"id": "{self:asset-packs::Actions}",
|
|
39310
|
+
"name": "Play Activate Animation"
|
|
39311
|
+
},
|
|
39312
|
+
{
|
|
39313
|
+
"id": "{self:asset-packs::Actions}",
|
|
39314
|
+
"name": "Play Sound"
|
|
39315
|
+
}
|
|
39316
|
+
]
|
|
39317
|
+
},
|
|
39318
|
+
{
|
|
39319
|
+
"type": "on_state_change",
|
|
39320
|
+
"conditions": [
|
|
39321
|
+
{
|
|
39322
|
+
"id": "{self:asset-packs::States}",
|
|
39323
|
+
"type": "when_state_is",
|
|
39324
|
+
"value": "Deactivated"
|
|
39325
|
+
}
|
|
39326
|
+
],
|
|
39327
|
+
"actions": [
|
|
39328
|
+
{
|
|
39329
|
+
"id": "{self:asset-packs::Actions}",
|
|
39330
|
+
"name": "Play Deactivate Animation"
|
|
39331
|
+
},
|
|
39332
|
+
{
|
|
39333
|
+
"id": "{self:asset-packs::Actions}",
|
|
39334
|
+
"name": "Play Sound"
|
|
39335
|
+
}
|
|
39336
|
+
]
|
|
39337
|
+
}
|
|
39338
|
+
]
|
|
39339
|
+
},
|
|
39340
|
+
"asset-packs::States": {
|
|
39341
|
+
"id": "{self}",
|
|
39342
|
+
"value": [
|
|
39343
|
+
"Activated",
|
|
39344
|
+
"Deactivated"
|
|
39345
|
+
],
|
|
39346
|
+
"defaultValue": "Deactivated"
|
|
39347
|
+
}
|
|
39348
|
+
},
|
|
39349
|
+
"contents": {
|
|
39350
|
+
"lever_fantasy.glb": "bafkreig2xm4gzxjnad2ym7l7bvsprkucqczcqv4nsiqcobgpjdkxewfucy",
|
|
39351
|
+
"sound.mp3": "bafkreidau4zhmal6tavfyeegbbnqgsrrvf5bav64po22efb4nmivglqi3i",
|
|
39352
|
+
"thumbnail.png": "bafkreianisth7vbyj5v7preub5fuymufdjlwq243oaogbkkitpgbua4qga"
|
|
39353
|
+
}
|
|
39354
|
+
},
|
|
39223
39355
|
{
|
|
39224
39356
|
"id": "fefa3ea5-40f3-46c6-a240-9ce70db8f677",
|
|
39225
39357
|
"name": "Hatch Trapdoor",
|
|
@@ -39774,30 +39906,28 @@
|
|
|
39774
39906
|
}
|
|
39775
39907
|
},
|
|
39776
39908
|
{
|
|
39777
|
-
"id": "
|
|
39778
|
-
"name": "
|
|
39779
|
-
"category": "
|
|
39909
|
+
"id": "37e449e5-9298-41b6-8c9a-a6d12b45bdd2",
|
|
39910
|
+
"name": "Pirate Lever",
|
|
39911
|
+
"category": "decorations",
|
|
39780
39912
|
"tags": [
|
|
39781
|
-
"
|
|
39782
|
-
"trap",
|
|
39783
|
-
"interactive"
|
|
39913
|
+
"lever"
|
|
39784
39914
|
],
|
|
39785
39915
|
"components": {
|
|
39786
39916
|
"core::GltfContainer": {
|
|
39787
|
-
"src": "{assetPath}/
|
|
39917
|
+
"src": "{assetPath}/lever_pirates.glb"
|
|
39788
39918
|
},
|
|
39789
39919
|
"asset-packs::Actions": {
|
|
39790
39920
|
"id": "{self}",
|
|
39791
39921
|
"value": [
|
|
39792
39922
|
{
|
|
39793
|
-
"name": "
|
|
39923
|
+
"name": "Activate",
|
|
39794
39924
|
"type": "set_state",
|
|
39795
|
-
"jsonPayload": "{ \"state\": \"
|
|
39925
|
+
"jsonPayload": "{ \"state\": \"Activated\" }"
|
|
39796
39926
|
},
|
|
39797
39927
|
{
|
|
39798
|
-
"name": "
|
|
39928
|
+
"name": "Deactivate",
|
|
39799
39929
|
"type": "set_state",
|
|
39800
|
-
"jsonPayload": "{ \"state\": \"
|
|
39930
|
+
"jsonPayload": "{ \"state\": \"Deactivated\" }"
|
|
39801
39931
|
},
|
|
39802
39932
|
{
|
|
39803
39933
|
"name": "Play Sound",
|
|
@@ -39805,19 +39935,14 @@
|
|
|
39805
39935
|
"jsonPayload": "{ \"src\": \"{assetPath}/sound.mp3\" }"
|
|
39806
39936
|
},
|
|
39807
39937
|
{
|
|
39808
|
-
"name": "Play
|
|
39809
|
-
"type": "play_animation",
|
|
39810
|
-
"jsonPayload": "{ \"animation\": \"open\" }"
|
|
39811
|
-
},
|
|
39812
|
-
{
|
|
39813
|
-
"name": "Play Close Animation",
|
|
39938
|
+
"name": "Play Activate Animation",
|
|
39814
39939
|
"type": "play_animation",
|
|
39815
|
-
"jsonPayload": "{ \"animation\": \"
|
|
39940
|
+
"jsonPayload": "{ \"animation\": \"activate\" }"
|
|
39816
39941
|
},
|
|
39817
39942
|
{
|
|
39818
|
-
"name": "Play
|
|
39943
|
+
"name": "Play Deactivate Animation",
|
|
39819
39944
|
"type": "play_animation",
|
|
39820
|
-
"jsonPayload": "{ \"animation\": \"
|
|
39945
|
+
"jsonPayload": "{ \"animation\": \"deactivate\" }"
|
|
39821
39946
|
}
|
|
39822
39947
|
]
|
|
39823
39948
|
},
|
|
@@ -39829,13 +39954,13 @@
|
|
|
39829
39954
|
{
|
|
39830
39955
|
"id": "{self:asset-packs::States}",
|
|
39831
39956
|
"type": "when_state_is",
|
|
39832
|
-
"value": "
|
|
39957
|
+
"value": "Deactivated"
|
|
39833
39958
|
}
|
|
39834
39959
|
],
|
|
39835
39960
|
"actions": [
|
|
39836
39961
|
{
|
|
39837
39962
|
"id": "{self:asset-packs::Actions}",
|
|
39838
|
-
"name": "
|
|
39963
|
+
"name": "Activate"
|
|
39839
39964
|
}
|
|
39840
39965
|
]
|
|
39841
39966
|
},
|
|
@@ -39845,13 +39970,13 @@
|
|
|
39845
39970
|
{
|
|
39846
39971
|
"id": "{self:asset-packs::States}",
|
|
39847
39972
|
"type": "when_state_is",
|
|
39848
|
-
"value": "
|
|
39973
|
+
"value": "Activated"
|
|
39849
39974
|
}
|
|
39850
39975
|
],
|
|
39851
39976
|
"actions": [
|
|
39852
39977
|
{
|
|
39853
39978
|
"id": "{self:asset-packs::Actions}",
|
|
39854
|
-
"name": "
|
|
39979
|
+
"name": "Deactivate"
|
|
39855
39980
|
}
|
|
39856
39981
|
]
|
|
39857
39982
|
},
|
|
@@ -39861,13 +39986,13 @@
|
|
|
39861
39986
|
{
|
|
39862
39987
|
"id": "{self:asset-packs::States}",
|
|
39863
39988
|
"type": "when_state_is",
|
|
39864
|
-
"value": "
|
|
39989
|
+
"value": "Activated"
|
|
39865
39990
|
}
|
|
39866
39991
|
],
|
|
39867
39992
|
"actions": [
|
|
39868
39993
|
{
|
|
39869
39994
|
"id": "{self:asset-packs::Actions}",
|
|
39870
|
-
"name": "Play
|
|
39995
|
+
"name": "Play Activate Animation"
|
|
39871
39996
|
},
|
|
39872
39997
|
{
|
|
39873
39998
|
"id": "{self:asset-packs::Actions}",
|
|
@@ -39881,26 +40006,149 @@
|
|
|
39881
40006
|
{
|
|
39882
40007
|
"id": "{self:asset-packs::States}",
|
|
39883
40008
|
"type": "when_state_is",
|
|
39884
|
-
"value": "
|
|
40009
|
+
"value": "Deactivated"
|
|
39885
40010
|
}
|
|
39886
40011
|
],
|
|
39887
40012
|
"actions": [
|
|
39888
40013
|
{
|
|
39889
40014
|
"id": "{self:asset-packs::Actions}",
|
|
39890
|
-
"name": "Play
|
|
40015
|
+
"name": "Play Deactivate Animation"
|
|
39891
40016
|
},
|
|
39892
40017
|
{
|
|
39893
40018
|
"id": "{self:asset-packs::Actions}",
|
|
39894
40019
|
"name": "Play Sound"
|
|
39895
40020
|
}
|
|
39896
40021
|
]
|
|
40022
|
+
}
|
|
40023
|
+
]
|
|
40024
|
+
},
|
|
40025
|
+
"asset-packs::States": {
|
|
40026
|
+
"id": "{self}",
|
|
40027
|
+
"value": [
|
|
40028
|
+
"Activated",
|
|
40029
|
+
"Deactivated"
|
|
40030
|
+
],
|
|
40031
|
+
"defaultValue": "Deactivated"
|
|
40032
|
+
}
|
|
40033
|
+
},
|
|
40034
|
+
"contents": {
|
|
40035
|
+
"lever_pirates.glb": "bafkreifrb5vv6qt35lae2saxfsmv6ag3xjqspa6scf4nnicwar4k5mmmda",
|
|
40036
|
+
"sound.mp3": "bafkreif46fywk4uq3efsmo4k4ryvvs4lglww4slzhykmcq7axjmpody55e",
|
|
40037
|
+
"thumbnail.png": "bafkreifupfiglkiywfnys2dc7eilezdr7s72mu6mxuju6khi74djhm7gxa"
|
|
40038
|
+
}
|
|
40039
|
+
},
|
|
40040
|
+
{
|
|
40041
|
+
"id": "0764e129-9fff-4158-98f0-6db8665dcf7b",
|
|
40042
|
+
"name": "SciFi Lever",
|
|
40043
|
+
"category": "decorations",
|
|
40044
|
+
"tags": [
|
|
40045
|
+
"lever"
|
|
40046
|
+
],
|
|
40047
|
+
"components": {
|
|
40048
|
+
"core::GltfContainer": {
|
|
40049
|
+
"src": "{assetPath}/lever_scifi.glb"
|
|
40050
|
+
},
|
|
40051
|
+
"asset-packs::Actions": {
|
|
40052
|
+
"id": "{self}",
|
|
40053
|
+
"value": [
|
|
40054
|
+
{
|
|
40055
|
+
"name": "Activate",
|
|
40056
|
+
"type": "set_state",
|
|
40057
|
+
"jsonPayload": "{ \"state\": \"Activated\" }"
|
|
39897
40058
|
},
|
|
39898
40059
|
{
|
|
39899
|
-
"
|
|
40060
|
+
"name": "Deactivate",
|
|
40061
|
+
"type": "set_state",
|
|
40062
|
+
"jsonPayload": "{ \"state\": \"Deactivated\" }"
|
|
40063
|
+
},
|
|
40064
|
+
{
|
|
40065
|
+
"name": "Play Sound",
|
|
40066
|
+
"type": "play_sound",
|
|
40067
|
+
"jsonPayload": "{ \"src\": \"{assetPath}/sound.mp3\" }"
|
|
40068
|
+
},
|
|
40069
|
+
{
|
|
40070
|
+
"name": "Play Activate Animation",
|
|
40071
|
+
"type": "play_animation",
|
|
40072
|
+
"jsonPayload": "{ \"animation\": \"activate\" }"
|
|
40073
|
+
},
|
|
40074
|
+
{
|
|
40075
|
+
"name": "Play Deactivate Animation",
|
|
40076
|
+
"type": "play_animation",
|
|
40077
|
+
"jsonPayload": "{ \"animation\": \"deactivate\" }"
|
|
40078
|
+
}
|
|
40079
|
+
]
|
|
40080
|
+
},
|
|
40081
|
+
"asset-packs::Triggers": {
|
|
40082
|
+
"value": [
|
|
40083
|
+
{
|
|
40084
|
+
"type": "on_click",
|
|
40085
|
+
"conditions": [
|
|
40086
|
+
{
|
|
40087
|
+
"id": "{self:asset-packs::States}",
|
|
40088
|
+
"type": "when_state_is",
|
|
40089
|
+
"value": "Deactivated"
|
|
40090
|
+
}
|
|
40091
|
+
],
|
|
39900
40092
|
"actions": [
|
|
39901
40093
|
{
|
|
39902
40094
|
"id": "{self:asset-packs::Actions}",
|
|
39903
|
-
"name": "
|
|
40095
|
+
"name": "Activate"
|
|
40096
|
+
}
|
|
40097
|
+
]
|
|
40098
|
+
},
|
|
40099
|
+
{
|
|
40100
|
+
"type": "on_click",
|
|
40101
|
+
"conditions": [
|
|
40102
|
+
{
|
|
40103
|
+
"id": "{self:asset-packs::States}",
|
|
40104
|
+
"type": "when_state_is",
|
|
40105
|
+
"value": "Activated"
|
|
40106
|
+
}
|
|
40107
|
+
],
|
|
40108
|
+
"actions": [
|
|
40109
|
+
{
|
|
40110
|
+
"id": "{self:asset-packs::Actions}",
|
|
40111
|
+
"name": "Deactivate"
|
|
40112
|
+
}
|
|
40113
|
+
]
|
|
40114
|
+
},
|
|
40115
|
+
{
|
|
40116
|
+
"type": "on_state_change",
|
|
40117
|
+
"conditions": [
|
|
40118
|
+
{
|
|
40119
|
+
"id": "{self:asset-packs::States}",
|
|
40120
|
+
"type": "when_state_is",
|
|
40121
|
+
"value": "Activated"
|
|
40122
|
+
}
|
|
40123
|
+
],
|
|
40124
|
+
"actions": [
|
|
40125
|
+
{
|
|
40126
|
+
"id": "{self:asset-packs::Actions}",
|
|
40127
|
+
"name": "Play Activate Animation"
|
|
40128
|
+
},
|
|
40129
|
+
{
|
|
40130
|
+
"id": "{self:asset-packs::Actions}",
|
|
40131
|
+
"name": "Play Sound"
|
|
40132
|
+
}
|
|
40133
|
+
]
|
|
40134
|
+
},
|
|
40135
|
+
{
|
|
40136
|
+
"type": "on_state_change",
|
|
40137
|
+
"conditions": [
|
|
40138
|
+
{
|
|
40139
|
+
"id": "{self:asset-packs::States}",
|
|
40140
|
+
"type": "when_state_is",
|
|
40141
|
+
"value": "Deactivated"
|
|
40142
|
+
}
|
|
40143
|
+
],
|
|
40144
|
+
"actions": [
|
|
40145
|
+
{
|
|
40146
|
+
"id": "{self:asset-packs::Actions}",
|
|
40147
|
+
"name": "Play Deactivate Animation"
|
|
40148
|
+
},
|
|
40149
|
+
{
|
|
40150
|
+
"id": "{self:asset-packs::Actions}",
|
|
40151
|
+
"name": "Play Sound"
|
|
39904
40152
|
}
|
|
39905
40153
|
]
|
|
39906
40154
|
}
|
|
@@ -39909,16 +40157,428 @@
|
|
|
39909
40157
|
"asset-packs::States": {
|
|
39910
40158
|
"id": "{self}",
|
|
39911
40159
|
"value": [
|
|
39912
|
-
"
|
|
39913
|
-
"
|
|
40160
|
+
"Activated",
|
|
40161
|
+
"Deactivated"
|
|
39914
40162
|
],
|
|
39915
|
-
"defaultValue": "
|
|
40163
|
+
"defaultValue": "Deactivated"
|
|
39916
40164
|
}
|
|
39917
40165
|
},
|
|
39918
40166
|
"contents": {
|
|
39919
|
-
"
|
|
39920
|
-
"
|
|
39921
|
-
"thumbnail.png": "
|
|
40167
|
+
"lever_scifi.glb": "bafybeih77wluvhc66qe4vo4c7ntvy6rxajgnfjyq3vwusdayvzpfkzl7om",
|
|
40168
|
+
"sound.mp3": "bafkreiefmfeg27qf6ym3omdne6iyfmco5ymbecl2owidph3sa2bq5dk6ie",
|
|
40169
|
+
"thumbnail.png": "bafkreid7v4tgg4b64ukkkbmn6fujrxmfxaq2n2xo76kexqdrtfqgx3jfbm"
|
|
40170
|
+
}
|
|
40171
|
+
},
|
|
40172
|
+
{
|
|
40173
|
+
"id": "4bf77c44-42db-4134-90f0-06da4202ff04",
|
|
40174
|
+
"name": "SciFi Lever Console",
|
|
40175
|
+
"category": "decorations",
|
|
40176
|
+
"tags": [
|
|
40177
|
+
"lever"
|
|
40178
|
+
],
|
|
40179
|
+
"components": {
|
|
40180
|
+
"core::GltfContainer": {
|
|
40181
|
+
"src": "{assetPath}/lever_console.glb"
|
|
40182
|
+
},
|
|
40183
|
+
"asset-packs::Actions": {
|
|
40184
|
+
"id": "{self}",
|
|
40185
|
+
"value": [
|
|
40186
|
+
{
|
|
40187
|
+
"name": "Activate",
|
|
40188
|
+
"type": "set_state",
|
|
40189
|
+
"jsonPayload": "{ \"state\": \"Activated\" }"
|
|
40190
|
+
},
|
|
40191
|
+
{
|
|
40192
|
+
"name": "Deactivate",
|
|
40193
|
+
"type": "set_state",
|
|
40194
|
+
"jsonPayload": "{ \"state\": \"Deactivated\" }"
|
|
40195
|
+
},
|
|
40196
|
+
{
|
|
40197
|
+
"name": "Play Sound",
|
|
40198
|
+
"type": "play_sound",
|
|
40199
|
+
"jsonPayload": "{ \"src\": \"{assetPath}/sound.mp3\" }"
|
|
40200
|
+
},
|
|
40201
|
+
{
|
|
40202
|
+
"name": "Play Activate Animation",
|
|
40203
|
+
"type": "play_animation",
|
|
40204
|
+
"jsonPayload": "{ \"animation\": \"activate\" }"
|
|
40205
|
+
},
|
|
40206
|
+
{
|
|
40207
|
+
"name": "Play Deactivate Animation",
|
|
40208
|
+
"type": "play_animation",
|
|
40209
|
+
"jsonPayload": "{ \"animation\": \"deactivate\" }"
|
|
40210
|
+
}
|
|
40211
|
+
]
|
|
40212
|
+
},
|
|
40213
|
+
"asset-packs::Triggers": {
|
|
40214
|
+
"value": [
|
|
40215
|
+
{
|
|
40216
|
+
"type": "on_click",
|
|
40217
|
+
"conditions": [
|
|
40218
|
+
{
|
|
40219
|
+
"id": "{self:asset-packs::States}",
|
|
40220
|
+
"type": "when_state_is",
|
|
40221
|
+
"value": "Deactivated"
|
|
40222
|
+
}
|
|
40223
|
+
],
|
|
40224
|
+
"actions": [
|
|
40225
|
+
{
|
|
40226
|
+
"id": "{self:asset-packs::Actions}",
|
|
40227
|
+
"name": "Activate"
|
|
40228
|
+
}
|
|
40229
|
+
]
|
|
40230
|
+
},
|
|
40231
|
+
{
|
|
40232
|
+
"type": "on_click",
|
|
40233
|
+
"conditions": [
|
|
40234
|
+
{
|
|
40235
|
+
"id": "{self:asset-packs::States}",
|
|
40236
|
+
"type": "when_state_is",
|
|
40237
|
+
"value": "Activated"
|
|
40238
|
+
}
|
|
40239
|
+
],
|
|
40240
|
+
"actions": [
|
|
40241
|
+
{
|
|
40242
|
+
"id": "{self:asset-packs::Actions}",
|
|
40243
|
+
"name": "Deactivate"
|
|
40244
|
+
}
|
|
40245
|
+
]
|
|
40246
|
+
},
|
|
40247
|
+
{
|
|
40248
|
+
"type": "on_state_change",
|
|
40249
|
+
"conditions": [
|
|
40250
|
+
{
|
|
40251
|
+
"id": "{self:asset-packs::States}",
|
|
40252
|
+
"type": "when_state_is",
|
|
40253
|
+
"value": "Activated"
|
|
40254
|
+
}
|
|
40255
|
+
],
|
|
40256
|
+
"actions": [
|
|
40257
|
+
{
|
|
40258
|
+
"id": "{self:asset-packs::Actions}",
|
|
40259
|
+
"name": "Play Activate Animation"
|
|
40260
|
+
},
|
|
40261
|
+
{
|
|
40262
|
+
"id": "{self:asset-packs::Actions}",
|
|
40263
|
+
"name": "Play Sound"
|
|
40264
|
+
}
|
|
40265
|
+
]
|
|
40266
|
+
},
|
|
40267
|
+
{
|
|
40268
|
+
"type": "on_state_change",
|
|
40269
|
+
"conditions": [
|
|
40270
|
+
{
|
|
40271
|
+
"id": "{self:asset-packs::States}",
|
|
40272
|
+
"type": "when_state_is",
|
|
40273
|
+
"value": "Deactivated"
|
|
40274
|
+
}
|
|
40275
|
+
],
|
|
40276
|
+
"actions": [
|
|
40277
|
+
{
|
|
40278
|
+
"id": "{self:asset-packs::Actions}",
|
|
40279
|
+
"name": "Play Deactivate Animation"
|
|
40280
|
+
},
|
|
40281
|
+
{
|
|
40282
|
+
"id": "{self:asset-packs::Actions}",
|
|
40283
|
+
"name": "Play Sound"
|
|
40284
|
+
}
|
|
40285
|
+
]
|
|
40286
|
+
}
|
|
40287
|
+
]
|
|
40288
|
+
},
|
|
40289
|
+
"asset-packs::States": {
|
|
40290
|
+
"id": "{self}",
|
|
40291
|
+
"value": [
|
|
40292
|
+
"Activated",
|
|
40293
|
+
"Deactivated"
|
|
40294
|
+
],
|
|
40295
|
+
"defaultValue": "Deactivated"
|
|
40296
|
+
}
|
|
40297
|
+
},
|
|
40298
|
+
"contents": {
|
|
40299
|
+
"lever_console.glb": "bafkreifa6qmnjud7pwmw4mreeqq45vmxp56dr2uxt6jlzigvvgffegraai",
|
|
40300
|
+
"sound.mp3": "bafkreiefmfeg27qf6ym3omdne6iyfmco5ymbecl2owidph3sa2bq5dk6ie",
|
|
40301
|
+
"thumbnail.png": "bafkreib7rz52yrndd4o5cre66zdbqgrykmml6kgstndyxowfvimnzwqluq"
|
|
40302
|
+
}
|
|
40303
|
+
},
|
|
40304
|
+
{
|
|
40305
|
+
"id": "ea5b9544-2ddd-4eba-ba91-41f6cf0b34df",
|
|
40306
|
+
"name": "Stone Trapdoor",
|
|
40307
|
+
"category": "structures",
|
|
40308
|
+
"tags": [
|
|
40309
|
+
"door",
|
|
40310
|
+
"trap",
|
|
40311
|
+
"interactive"
|
|
40312
|
+
],
|
|
40313
|
+
"components": {
|
|
40314
|
+
"core::GltfContainer": {
|
|
40315
|
+
"src": "{assetPath}/stone_trap_door.glb"
|
|
40316
|
+
},
|
|
40317
|
+
"asset-packs::Actions": {
|
|
40318
|
+
"id": "{self}",
|
|
40319
|
+
"value": [
|
|
40320
|
+
{
|
|
40321
|
+
"name": "Open",
|
|
40322
|
+
"type": "set_state",
|
|
40323
|
+
"jsonPayload": "{ \"state\": \"Open\" }"
|
|
40324
|
+
},
|
|
40325
|
+
{
|
|
40326
|
+
"name": "Close",
|
|
40327
|
+
"type": "set_state",
|
|
40328
|
+
"jsonPayload": "{ \"state\": \"Closed\" }"
|
|
40329
|
+
},
|
|
40330
|
+
{
|
|
40331
|
+
"name": "Play Sound",
|
|
40332
|
+
"type": "play_sound",
|
|
40333
|
+
"jsonPayload": "{ \"src\": \"{assetPath}/sound.mp3\" }"
|
|
40334
|
+
},
|
|
40335
|
+
{
|
|
40336
|
+
"name": "Play Open Animation",
|
|
40337
|
+
"type": "play_animation",
|
|
40338
|
+
"jsonPayload": "{ \"animation\": \"open\" }"
|
|
40339
|
+
},
|
|
40340
|
+
{
|
|
40341
|
+
"name": "Play Close Animation",
|
|
40342
|
+
"type": "play_animation",
|
|
40343
|
+
"jsonPayload": "{ \"animation\": \"close\" }"
|
|
40344
|
+
},
|
|
40345
|
+
{
|
|
40346
|
+
"name": "Play Idle Animation",
|
|
40347
|
+
"type": "play_animation",
|
|
40348
|
+
"jsonPayload": "{ \"animation\": \"main\" }"
|
|
40349
|
+
}
|
|
40350
|
+
]
|
|
40351
|
+
},
|
|
40352
|
+
"asset-packs::Triggers": {
|
|
40353
|
+
"value": [
|
|
40354
|
+
{
|
|
40355
|
+
"type": "on_click",
|
|
40356
|
+
"conditions": [
|
|
40357
|
+
{
|
|
40358
|
+
"id": "{self:asset-packs::States}",
|
|
40359
|
+
"type": "when_state_is",
|
|
40360
|
+
"value": "Closed"
|
|
40361
|
+
}
|
|
40362
|
+
],
|
|
40363
|
+
"actions": [
|
|
40364
|
+
{
|
|
40365
|
+
"id": "{self:asset-packs::Actions}",
|
|
40366
|
+
"name": "Open"
|
|
40367
|
+
}
|
|
40368
|
+
]
|
|
40369
|
+
},
|
|
40370
|
+
{
|
|
40371
|
+
"type": "on_click",
|
|
40372
|
+
"conditions": [
|
|
40373
|
+
{
|
|
40374
|
+
"id": "{self:asset-packs::States}",
|
|
40375
|
+
"type": "when_state_is",
|
|
40376
|
+
"value": "Open"
|
|
40377
|
+
}
|
|
40378
|
+
],
|
|
40379
|
+
"actions": [
|
|
40380
|
+
{
|
|
40381
|
+
"id": "{self:asset-packs::Actions}",
|
|
40382
|
+
"name": "Close"
|
|
40383
|
+
}
|
|
40384
|
+
]
|
|
40385
|
+
},
|
|
40386
|
+
{
|
|
40387
|
+
"type": "on_state_change",
|
|
40388
|
+
"conditions": [
|
|
40389
|
+
{
|
|
40390
|
+
"id": "{self:asset-packs::States}",
|
|
40391
|
+
"type": "when_state_is",
|
|
40392
|
+
"value": "Open"
|
|
40393
|
+
}
|
|
40394
|
+
],
|
|
40395
|
+
"actions": [
|
|
40396
|
+
{
|
|
40397
|
+
"id": "{self:asset-packs::Actions}",
|
|
40398
|
+
"name": "Play Open Animation"
|
|
40399
|
+
},
|
|
40400
|
+
{
|
|
40401
|
+
"id": "{self:asset-packs::Actions}",
|
|
40402
|
+
"name": "Play Sound"
|
|
40403
|
+
}
|
|
40404
|
+
]
|
|
40405
|
+
},
|
|
40406
|
+
{
|
|
40407
|
+
"type": "on_state_change",
|
|
40408
|
+
"conditions": [
|
|
40409
|
+
{
|
|
40410
|
+
"id": "{self:asset-packs::States}",
|
|
40411
|
+
"type": "when_state_is",
|
|
40412
|
+
"value": "Closed"
|
|
40413
|
+
}
|
|
40414
|
+
],
|
|
40415
|
+
"actions": [
|
|
40416
|
+
{
|
|
40417
|
+
"id": "{self:asset-packs::Actions}",
|
|
40418
|
+
"name": "Play Close Animation"
|
|
40419
|
+
},
|
|
40420
|
+
{
|
|
40421
|
+
"id": "{self:asset-packs::Actions}",
|
|
40422
|
+
"name": "Play Sound"
|
|
40423
|
+
}
|
|
40424
|
+
]
|
|
40425
|
+
},
|
|
40426
|
+
{
|
|
40427
|
+
"type": "on_spawn",
|
|
40428
|
+
"actions": [
|
|
40429
|
+
{
|
|
40430
|
+
"id": "{self:asset-packs::Actions}",
|
|
40431
|
+
"name": "Play Idle Animation"
|
|
40432
|
+
}
|
|
40433
|
+
]
|
|
40434
|
+
}
|
|
40435
|
+
]
|
|
40436
|
+
},
|
|
40437
|
+
"asset-packs::States": {
|
|
40438
|
+
"id": "{self}",
|
|
40439
|
+
"value": [
|
|
40440
|
+
"Open",
|
|
40441
|
+
"Closed"
|
|
40442
|
+
],
|
|
40443
|
+
"defaultValue": "Closed"
|
|
40444
|
+
}
|
|
40445
|
+
},
|
|
40446
|
+
"contents": {
|
|
40447
|
+
"sound.mp3": "bafkreigsbmn4irzhgeeodmisbab4plhqkez6sau4vvgjcriej27yurnpxu",
|
|
40448
|
+
"stone_trap_door.glb": "bafkreickpuo4gqlzoimcb25bnopvnnybgrp2a5kgldwiwvh4dnhjevmp4i",
|
|
40449
|
+
"thumbnail.png": "bafkreicmtcqthkrzayaomy4d7bbdly5r4sayodhr5hjtfrodxmlyyybbw4"
|
|
40450
|
+
}
|
|
40451
|
+
},
|
|
40452
|
+
{
|
|
40453
|
+
"id": "553f975d-5b42-491f-9788-1a90def3f97c",
|
|
40454
|
+
"name": "Toy Lever",
|
|
40455
|
+
"category": "decorations",
|
|
40456
|
+
"tags": [
|
|
40457
|
+
"lever"
|
|
40458
|
+
],
|
|
40459
|
+
"components": {
|
|
40460
|
+
"core::GltfContainer": {
|
|
40461
|
+
"src": "{assetPath}/lever_genesis.glb"
|
|
40462
|
+
},
|
|
40463
|
+
"asset-packs::Actions": {
|
|
40464
|
+
"id": "{self}",
|
|
40465
|
+
"value": [
|
|
40466
|
+
{
|
|
40467
|
+
"name": "Activate",
|
|
40468
|
+
"type": "set_state",
|
|
40469
|
+
"jsonPayload": "{ \"state\": \"Activated\" }"
|
|
40470
|
+
},
|
|
40471
|
+
{
|
|
40472
|
+
"name": "Deactivate",
|
|
40473
|
+
"type": "set_state",
|
|
40474
|
+
"jsonPayload": "{ \"state\": \"Deactivated\" }"
|
|
40475
|
+
},
|
|
40476
|
+
{
|
|
40477
|
+
"name": "Play Sound",
|
|
40478
|
+
"type": "play_sound",
|
|
40479
|
+
"jsonPayload": "{ \"src\": \"{assetPath}/sound.mp3\" }"
|
|
40480
|
+
},
|
|
40481
|
+
{
|
|
40482
|
+
"name": "Play Activate Animation",
|
|
40483
|
+
"type": "play_animation",
|
|
40484
|
+
"jsonPayload": "{ \"animation\": \"activate\" }"
|
|
40485
|
+
},
|
|
40486
|
+
{
|
|
40487
|
+
"name": "Play Deactivate Animation",
|
|
40488
|
+
"type": "play_animation",
|
|
40489
|
+
"jsonPayload": "{ \"animation\": \"deactivate\" }"
|
|
40490
|
+
}
|
|
40491
|
+
]
|
|
40492
|
+
},
|
|
40493
|
+
"asset-packs::Triggers": {
|
|
40494
|
+
"value": [
|
|
40495
|
+
{
|
|
40496
|
+
"type": "on_click",
|
|
40497
|
+
"conditions": [
|
|
40498
|
+
{
|
|
40499
|
+
"id": "{self:asset-packs::States}",
|
|
40500
|
+
"type": "when_state_is",
|
|
40501
|
+
"value": "Deactivated"
|
|
40502
|
+
}
|
|
40503
|
+
],
|
|
40504
|
+
"actions": [
|
|
40505
|
+
{
|
|
40506
|
+
"id": "{self:asset-packs::Actions}",
|
|
40507
|
+
"name": "Activate"
|
|
40508
|
+
}
|
|
40509
|
+
]
|
|
40510
|
+
},
|
|
40511
|
+
{
|
|
40512
|
+
"type": "on_click",
|
|
40513
|
+
"conditions": [
|
|
40514
|
+
{
|
|
40515
|
+
"id": "{self:asset-packs::States}",
|
|
40516
|
+
"type": "when_state_is",
|
|
40517
|
+
"value": "Activated"
|
|
40518
|
+
}
|
|
40519
|
+
],
|
|
40520
|
+
"actions": [
|
|
40521
|
+
{
|
|
40522
|
+
"id": "{self:asset-packs::Actions}",
|
|
40523
|
+
"name": "Deactivate"
|
|
40524
|
+
}
|
|
40525
|
+
]
|
|
40526
|
+
},
|
|
40527
|
+
{
|
|
40528
|
+
"type": "on_state_change",
|
|
40529
|
+
"conditions": [
|
|
40530
|
+
{
|
|
40531
|
+
"id": "{self:asset-packs::States}",
|
|
40532
|
+
"type": "when_state_is",
|
|
40533
|
+
"value": "Activated"
|
|
40534
|
+
}
|
|
40535
|
+
],
|
|
40536
|
+
"actions": [
|
|
40537
|
+
{
|
|
40538
|
+
"id": "{self:asset-packs::Actions}",
|
|
40539
|
+
"name": "Play Activate Animation"
|
|
40540
|
+
},
|
|
40541
|
+
{
|
|
40542
|
+
"id": "{self:asset-packs::Actions}",
|
|
40543
|
+
"name": "Play Sound"
|
|
40544
|
+
}
|
|
40545
|
+
]
|
|
40546
|
+
},
|
|
40547
|
+
{
|
|
40548
|
+
"type": "on_state_change",
|
|
40549
|
+
"conditions": [
|
|
40550
|
+
{
|
|
40551
|
+
"id": "{self:asset-packs::States}",
|
|
40552
|
+
"type": "when_state_is",
|
|
40553
|
+
"value": "Deactivated"
|
|
40554
|
+
}
|
|
40555
|
+
],
|
|
40556
|
+
"actions": [
|
|
40557
|
+
{
|
|
40558
|
+
"id": "{self:asset-packs::Actions}",
|
|
40559
|
+
"name": "Play Deactivate Animation"
|
|
40560
|
+
},
|
|
40561
|
+
{
|
|
40562
|
+
"id": "{self:asset-packs::Actions}",
|
|
40563
|
+
"name": "Play Sound"
|
|
40564
|
+
}
|
|
40565
|
+
]
|
|
40566
|
+
}
|
|
40567
|
+
]
|
|
40568
|
+
},
|
|
40569
|
+
"asset-packs::States": {
|
|
40570
|
+
"id": "{self}",
|
|
40571
|
+
"value": [
|
|
40572
|
+
"Activated",
|
|
40573
|
+
"Deactivated"
|
|
40574
|
+
],
|
|
40575
|
+
"defaultValue": "Deactivated"
|
|
40576
|
+
}
|
|
40577
|
+
},
|
|
40578
|
+
"contents": {
|
|
40579
|
+
"lever_genesis.glb": "bafkreiclyuj3b3kdmv4aauqslaviidzbb673unihxkm6zeftuhjxhq4y6q",
|
|
40580
|
+
"sound.mp3": "bafkreif46fywk4uq3efsmo4k4ryvvs4lglww4slzhykmcq7axjmpody55e",
|
|
40581
|
+
"thumbnail.png": "bafkreiazwwstvmorh52dij44crnxni23e4q6auoj2vwivgt4u27nwfdtnm"
|
|
39922
40582
|
}
|
|
39923
40583
|
},
|
|
39924
40584
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/asset-packs",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-20231005203429.commit-c7e8b64",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/src/definitions.js",
|
|
6
6
|
"typings": "dist/src/definitions.d.ts",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"semi": false,
|
|
60
60
|
"printWidth": 80
|
|
61
61
|
},
|
|
62
|
-
"commit": "
|
|
62
|
+
"commit": "c7e8b6482c6b7065661767c5d55be9ab0f9aa8b9"
|
|
63
63
|
}
|