@dcl/asset-packs 1.18.1 → 1.18.2-20240520180319.commit-c93aeb9
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/bin/index.js +69 -23
- package/catalog.json +129 -24
- package/dist/actions.js +58 -12
- package/dist/bin/index.js +69 -23
- package/package.json +2 -2
package/catalog.json
CHANGED
|
@@ -39197,7 +39197,7 @@
|
|
|
39197
39197
|
{
|
|
39198
39198
|
"name": "Explode",
|
|
39199
39199
|
"type": "batch",
|
|
39200
|
-
"jsonPayload": "{ \"actions\": [\"Play Explosion Animation\", \"Damage\", \"Delay Remove\"] }",
|
|
39200
|
+
"jsonPayload": "{ \"actions\": [\"Play Explosion Animation\", \"Explosion Damage\", \"Delay Remove\"] }",
|
|
39201
39201
|
"allowedInBasicView": true
|
|
39202
39202
|
},
|
|
39203
39203
|
{
|
|
@@ -39206,10 +39206,16 @@
|
|
|
39206
39206
|
"jsonPayload": "{ \"animation\": \"Animation\" }"
|
|
39207
39207
|
},
|
|
39208
39208
|
{
|
|
39209
|
-
"name": "Damage",
|
|
39209
|
+
"name": "Explosion Damage",
|
|
39210
39210
|
"type": "damage",
|
|
39211
39211
|
"jsonPayload": "{ \"radius\": 10, \"hits\": 30, \"layer\": \"all\" }",
|
|
39212
|
-
"basicViewId": "action-damage"
|
|
39212
|
+
"basicViewId": "action-explosion-damage"
|
|
39213
|
+
},
|
|
39214
|
+
{
|
|
39215
|
+
"name": "Damage",
|
|
39216
|
+
"type": "decrease_counter",
|
|
39217
|
+
"jsonPayload": "{ \"amount\": 1 }",
|
|
39218
|
+
"allowedInBasicView": true
|
|
39213
39219
|
},
|
|
39214
39220
|
{
|
|
39215
39221
|
"name": "Remove",
|
|
@@ -39224,14 +39230,58 @@
|
|
|
39224
39230
|
}
|
|
39225
39231
|
]
|
|
39226
39232
|
},
|
|
39233
|
+
"asset-packs::Triggers": {
|
|
39234
|
+
"value": [
|
|
39235
|
+
{
|
|
39236
|
+
"type": "on_damage",
|
|
39237
|
+
"conditions": [
|
|
39238
|
+
{
|
|
39239
|
+
"id": "{self:asset-packs::Counter}",
|
|
39240
|
+
"type": "when_counter_is_greater_than",
|
|
39241
|
+
"value": "0"
|
|
39242
|
+
}
|
|
39243
|
+
],
|
|
39244
|
+
"actions": [
|
|
39245
|
+
{
|
|
39246
|
+
"id": "{self:asset-packs::Actions}",
|
|
39247
|
+
"name": "Damage"
|
|
39248
|
+
}
|
|
39249
|
+
]
|
|
39250
|
+
},
|
|
39251
|
+
{
|
|
39252
|
+
"type": "on_counter_change",
|
|
39253
|
+
"conditions": [
|
|
39254
|
+
{
|
|
39255
|
+
"id": "{self:asset-packs::Counter}",
|
|
39256
|
+
"type": "when_counter_is_less_than",
|
|
39257
|
+
"value": "1"
|
|
39258
|
+
}
|
|
39259
|
+
],
|
|
39260
|
+
"actions": [
|
|
39261
|
+
{
|
|
39262
|
+
"id": "{self:asset-packs::Actions}",
|
|
39263
|
+
"name": "Explode"
|
|
39264
|
+
}
|
|
39265
|
+
]
|
|
39266
|
+
}
|
|
39267
|
+
]
|
|
39268
|
+
},
|
|
39269
|
+
"asset-packs::Counter": {
|
|
39270
|
+
"id": "{self}",
|
|
39271
|
+
"value": 30
|
|
39272
|
+
},
|
|
39227
39273
|
"inspector::Config": {
|
|
39228
39274
|
"isBasicViewEnabled": true,
|
|
39229
39275
|
"componentName": "Barrel",
|
|
39230
39276
|
"fields": [
|
|
39231
39277
|
{
|
|
39232
|
-
"name": "
|
|
39278
|
+
"name": "Item Health Points",
|
|
39279
|
+
"type": "asset-packs::Counter"
|
|
39280
|
+
},
|
|
39281
|
+
{
|
|
39282
|
+
"name": "Explosion Damage",
|
|
39233
39283
|
"type": "asset-packs::Actions",
|
|
39234
|
-
"basicViewId": "action-damage",
|
|
39284
|
+
"basicViewId": "action-explosion-damage",
|
|
39235
39285
|
"layout": "{\"radius\": { \"field\": \"TextField\", \"type\": \"number\", \"label\": \"Explosion Radius\" }, \"hits\": { \"field\": \"TextField\", \"type\": \"number\", \"label\": \"Explosion Damage\" }, \"layer\": { \"field\": \"Dropdown\", \"label\": \"Damage Target\" }}"
|
|
39236
39286
|
}
|
|
39237
39287
|
]
|
|
@@ -41558,7 +41608,8 @@
|
|
|
41558
41608
|
{
|
|
41559
41609
|
"name": "Remove",
|
|
41560
41610
|
"type": "remove_entity",
|
|
41561
|
-
"jsonPayload": "{}"
|
|
41611
|
+
"jsonPayload": "{}",
|
|
41612
|
+
"allowedInBasicView": true
|
|
41562
41613
|
}
|
|
41563
41614
|
]
|
|
41564
41615
|
},
|
|
@@ -41593,12 +41644,7 @@
|
|
|
41593
41644
|
"value": "1"
|
|
41594
41645
|
}
|
|
41595
41646
|
],
|
|
41596
|
-
"actions": [
|
|
41597
|
-
{
|
|
41598
|
-
"id": "{self:asset-packs::Actions}",
|
|
41599
|
-
"name": "Remove"
|
|
41600
|
-
}
|
|
41601
|
-
],
|
|
41647
|
+
"actions": [],
|
|
41602
41648
|
"basicViewId": "trigger-when-health-reaches-zero"
|
|
41603
41649
|
}
|
|
41604
41650
|
]
|
|
@@ -44294,16 +44340,22 @@
|
|
|
44294
44340
|
"jsonPayload": "{ \"animation\": \"Attack\" }"
|
|
44295
44341
|
},
|
|
44296
44342
|
{
|
|
44297
|
-
"name": "
|
|
44343
|
+
"name": "Attack",
|
|
44298
44344
|
"type": "damage",
|
|
44299
44345
|
"jsonPayload": "{ \"radius\": 3, \"hits\": 10, \"layer\": \"player\" }",
|
|
44300
|
-
"basicViewId": "action-
|
|
44346
|
+
"basicViewId": "action-attack",
|
|
44301
44347
|
"allowedInBasicView": true
|
|
44302
44348
|
},
|
|
44303
44349
|
{
|
|
44304
44350
|
"name": "Attack Loop",
|
|
44305
44351
|
"type": "start_loop",
|
|
44306
|
-
"jsonPayload": "{ \"actions\": [\"
|
|
44352
|
+
"jsonPayload": "{ \"actions\": [\"Attack\"], \"interval\": 1 }"
|
|
44353
|
+
},
|
|
44354
|
+
{
|
|
44355
|
+
"name": "Damage",
|
|
44356
|
+
"type": "decrease_counter",
|
|
44357
|
+
"jsonPayload": "{ \"amount\": 1 }",
|
|
44358
|
+
"allowedInBasicView": true
|
|
44307
44359
|
},
|
|
44308
44360
|
{
|
|
44309
44361
|
"name": "Remove",
|
|
@@ -44357,17 +44409,57 @@
|
|
|
44357
44409
|
"name": "Play Attack Animation"
|
|
44358
44410
|
}
|
|
44359
44411
|
]
|
|
44412
|
+
},
|
|
44413
|
+
{
|
|
44414
|
+
"type": "on_damage",
|
|
44415
|
+
"conditions": [
|
|
44416
|
+
{
|
|
44417
|
+
"id": "{self:asset-packs::Counter}",
|
|
44418
|
+
"type": "when_counter_is_greater_than",
|
|
44419
|
+
"value": "0"
|
|
44420
|
+
}
|
|
44421
|
+
],
|
|
44422
|
+
"actions": [
|
|
44423
|
+
{
|
|
44424
|
+
"id": "{self:asset-packs::Actions}",
|
|
44425
|
+
"name": "Damage"
|
|
44426
|
+
}
|
|
44427
|
+
]
|
|
44428
|
+
},
|
|
44429
|
+
{
|
|
44430
|
+
"type": "on_counter_change",
|
|
44431
|
+
"conditions": [
|
|
44432
|
+
{
|
|
44433
|
+
"id": "{self:asset-packs::Counter}",
|
|
44434
|
+
"type": "when_counter_is_less_than",
|
|
44435
|
+
"value": "1"
|
|
44436
|
+
}
|
|
44437
|
+
],
|
|
44438
|
+
"actions": [
|
|
44439
|
+
{
|
|
44440
|
+
"id": "{self:asset-packs::Actions}",
|
|
44441
|
+
"name": "Die"
|
|
44442
|
+
}
|
|
44443
|
+
]
|
|
44360
44444
|
}
|
|
44361
44445
|
]
|
|
44362
44446
|
},
|
|
44447
|
+
"asset-packs::Counter": {
|
|
44448
|
+
"id": "{self}",
|
|
44449
|
+
"value": 30
|
|
44450
|
+
},
|
|
44363
44451
|
"inspector::Config": {
|
|
44364
44452
|
"isBasicViewEnabled": true,
|
|
44365
44453
|
"componentName": "Robot Enemy",
|
|
44366
44454
|
"fields": [
|
|
44367
44455
|
{
|
|
44368
|
-
"name": "
|
|
44456
|
+
"name": "Item Health Points",
|
|
44457
|
+
"type": "asset-packs::Counter"
|
|
44458
|
+
},
|
|
44459
|
+
{
|
|
44460
|
+
"name": "Attack Damage",
|
|
44369
44461
|
"type": "asset-packs::Actions",
|
|
44370
|
-
"basicViewId": "action-
|
|
44462
|
+
"basicViewId": "action-attack",
|
|
44371
44463
|
"layout": "{\"radius\": { \"field\": \"TextField\", \"type\": \"number\", \"label\": \"Attack Radius\" }, \"hits\": { \"field\": \"TextField\", \"type\": \"number\", \"label\": \"Attack Damage Points\" }, \"layer\": { \"field\": \"Dropdown\", \"label\": \"Damage Target\" } }"
|
|
44372
44464
|
},
|
|
44373
44465
|
{
|
|
@@ -44380,7 +44472,7 @@
|
|
|
44380
44472
|
}
|
|
44381
44473
|
},
|
|
44382
44474
|
"contents": {
|
|
44383
|
-
"robot.glb": "
|
|
44475
|
+
"robot.glb": "bafybeiahl3jzdh7izw23zv5hawspxnt7ymrpmjczdvdjhzlv2paw2ac5e4",
|
|
44384
44476
|
"thumbnail.png": "bafkreibg2emc5upv4lq7mqjtwjgcwzmou4wvtacdotjjrjbqyjl5ebvxo4"
|
|
44385
44477
|
}
|
|
44386
44478
|
},
|
|
@@ -46132,7 +46224,7 @@
|
|
|
46132
46224
|
"name": "Damage",
|
|
46133
46225
|
"type": "asset-packs::Actions",
|
|
46134
46226
|
"basicViewId": "action-damage",
|
|
46135
|
-
"layout": "{\"
|
|
46227
|
+
"layout": "{ \"layer\": { \"field\": \"Dropdown\", \"label\": \"Damage Target\" }, \"hits\": { \"field\": \"TextField\", \"type\": \"number\", \"label\": \"Damage Points\" } }"
|
|
46136
46228
|
},
|
|
46137
46229
|
{
|
|
46138
46230
|
"name": "Interval Damage",
|
|
@@ -46394,8 +46486,8 @@
|
|
|
46394
46486
|
"value": [
|
|
46395
46487
|
{
|
|
46396
46488
|
"name": "Pick Up",
|
|
46397
|
-
"type": "
|
|
46398
|
-
"jsonPayload": "{ \"actions\": [\"Set Ready\"] }",
|
|
46489
|
+
"type": "start_delay",
|
|
46490
|
+
"jsonPayload": "{ \"actions\": [\"Set Ready\"], \"timeout\": 0.1 }",
|
|
46399
46491
|
"allowedInBasicView": true
|
|
46400
46492
|
},
|
|
46401
46493
|
{
|
|
@@ -46446,7 +46538,7 @@
|
|
|
46446
46538
|
"asset-packs::Triggers": {
|
|
46447
46539
|
"value": [
|
|
46448
46540
|
{
|
|
46449
|
-
"type": "
|
|
46541
|
+
"type": "on_input_action",
|
|
46450
46542
|
"actions": [
|
|
46451
46543
|
{
|
|
46452
46544
|
"id": "{self:asset-packs::Actions}",
|
|
@@ -46497,6 +46589,19 @@
|
|
|
46497
46589
|
],
|
|
46498
46590
|
"defaultValue": "Idle"
|
|
46499
46591
|
},
|
|
46592
|
+
"core::PointerEvents": {
|
|
46593
|
+
"pointerEvents": [
|
|
46594
|
+
{
|
|
46595
|
+
"eventType": 1,
|
|
46596
|
+
"eventInfo": {
|
|
46597
|
+
"button": 1,
|
|
46598
|
+
"hoverText": "Pick Up",
|
|
46599
|
+
"maxDistance": 10,
|
|
46600
|
+
"showFeedback": true
|
|
46601
|
+
}
|
|
46602
|
+
}
|
|
46603
|
+
]
|
|
46604
|
+
},
|
|
46500
46605
|
"inspector::Config": {
|
|
46501
46606
|
"isBasicViewEnabled": true,
|
|
46502
46607
|
"componentName": "Sword",
|
|
@@ -50190,7 +50295,7 @@
|
|
|
50190
50295
|
],
|
|
50191
50296
|
"components": {
|
|
50192
50297
|
"core::VideoPlayer": {
|
|
50193
|
-
"src": "",
|
|
50298
|
+
"src": "https://player.vimeo.com/external/552481870.m3u8?s=c312c8533f97e808fccc92b0510b085c8122a875",
|
|
50194
50299
|
"playing": true
|
|
50195
50300
|
},
|
|
50196
50301
|
"core::MeshRenderer": {
|
|
@@ -50246,7 +50351,7 @@
|
|
|
50246
50351
|
{
|
|
50247
50352
|
"name": "Play Video Stream",
|
|
50248
50353
|
"type": "play_video_stream",
|
|
50249
|
-
"jsonPayload": "{ \"src\": \"\", \"loop\": \"false\", \"volume\": 1, \"dclCast\": false }"
|
|
50354
|
+
"jsonPayload": "{ \"src\": \"https://player.vimeo.com/external/552481870.m3u8?s=c312c8533f97e808fccc92b0510b085c8122a875\", \"loop\": \"false\", \"volume\": 1, \"dclCast\": false }"
|
|
50250
50355
|
},
|
|
50251
50356
|
{
|
|
50252
50357
|
"name": "Stop Video Stream",
|