hytopia 0.3.30 → 0.3.32
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.
@@ -100,7 +100,7 @@ export const CHEST_DROP_ITEMS = [
|
|
100
100
|
},
|
101
101
|
{
|
102
102
|
itemId: 'rocket-launcher',
|
103
|
-
pickWeight: 0.
|
103
|
+
pickWeight: 0.5,
|
104
104
|
},
|
105
105
|
{
|
106
106
|
itemId: 'shotgun',
|
@@ -404,7 +404,7 @@ export const ITEM_SPAWN_ITEMS = [
|
|
404
404
|
},
|
405
405
|
{
|
406
406
|
itemId: 'rocket-launcher',
|
407
|
-
pickWeight: 0.
|
407
|
+
pickWeight: 0.5,
|
408
408
|
},
|
409
409
|
{
|
410
410
|
itemId: 'shotgun',
|
@@ -119,6 +119,8 @@ function setupJoinNPC(world: World) {
|
|
119
119
|
}
|
120
120
|
}, 250);
|
121
121
|
|
122
|
+
joinNPC.spawn(world, { x: 1, y: 3.1, z: 15 });
|
123
|
+
|
122
124
|
// Create the Scene UI over the NPC
|
123
125
|
const npcMessageUI = new SceneUI({
|
124
126
|
templateId: 'join-npc-message',
|
@@ -127,8 +129,6 @@ function setupJoinNPC(world: World) {
|
|
127
129
|
});
|
128
130
|
|
129
131
|
npcMessageUI.load(world);
|
130
|
-
|
131
|
-
joinNPC.spawn(world, { x: 1, y: 3.1, z: 15 });
|
132
132
|
}
|
133
133
|
|
134
134
|
/**
|
package/package.json
CHANGED
package/server.api.json
CHANGED
@@ -8500,7 +8500,7 @@
|
|
8500
8500
|
{
|
8501
8501
|
"kind": "Reference",
|
8502
8502
|
"text": "RAPIER.Collider",
|
8503
|
-
"canonicalReference": "@dimforge/rapier3d-compat
|
8503
|
+
"canonicalReference": "@dimforge/rapier3d-simd-compat!Collider:class"
|
8504
8504
|
},
|
8505
8505
|
{
|
8506
8506
|
"kind": "Content",
|
@@ -10408,7 +10408,7 @@
|
|
10408
10408
|
{
|
10409
10409
|
"kind": "Reference",
|
10410
10410
|
"text": "RAPIER.Vector",
|
10411
|
-
"canonicalReference": "@dimforge/rapier3d-compat
|
10411
|
+
"canonicalReference": "@dimforge/rapier3d-simd-compat!Vector:interface"
|
10412
10412
|
},
|
10413
10413
|
{
|
10414
10414
|
"kind": "Content",
|
@@ -10417,7 +10417,7 @@
|
|
10417
10417
|
{
|
10418
10418
|
"kind": "Reference",
|
10419
10419
|
"text": "RAPIER.Vector",
|
10420
|
-
"canonicalReference": "@dimforge/rapier3d-compat
|
10420
|
+
"canonicalReference": "@dimforge/rapier3d-simd-compat!Vector:interface"
|
10421
10421
|
},
|
10422
10422
|
{
|
10423
10423
|
"kind": "Content",
|
@@ -31665,7 +31665,7 @@
|
|
31665
31665
|
{
|
31666
31666
|
"kind": "Reference",
|
31667
31667
|
"text": "RAPIER.InteractionGroups",
|
31668
|
-
"canonicalReference": "@dimforge/rapier3d-compat
|
31668
|
+
"canonicalReference": "@dimforge/rapier3d-simd-compat!InteractionGroups:type"
|
31669
31669
|
},
|
31670
31670
|
{
|
31671
31671
|
"kind": "Content",
|
@@ -31749,7 +31749,7 @@
|
|
31749
31749
|
{
|
31750
31750
|
"kind": "Reference",
|
31751
31751
|
"text": "RAPIER.QueryFilterFlags",
|
31752
|
-
"canonicalReference": "@dimforge/rapier3d-compat
|
31752
|
+
"canonicalReference": "@dimforge/rapier3d-simd-compat!QueryFilterFlags:enum"
|
31753
31753
|
},
|
31754
31754
|
{
|
31755
31755
|
"kind": "Content",
|
@@ -31758,7 +31758,7 @@
|
|
31758
31758
|
{
|
31759
31759
|
"kind": "Reference",
|
31760
31760
|
"text": "RAPIER.Collider",
|
31761
|
-
"canonicalReference": "@dimforge/rapier3d-compat
|
31761
|
+
"canonicalReference": "@dimforge/rapier3d-simd-compat!Collider:class"
|
31762
31762
|
},
|
31763
31763
|
{
|
31764
31764
|
"kind": "Content",
|
@@ -31767,7 +31767,7 @@
|
|
31767
31767
|
{
|
31768
31768
|
"kind": "Reference",
|
31769
31769
|
"text": "RAPIER.RigidBody",
|
31770
|
-
"canonicalReference": "@dimforge/rapier3d-compat
|
31770
|
+
"canonicalReference": "@dimforge/rapier3d-simd-compat!RigidBody:class"
|
31771
31771
|
},
|
31772
31772
|
{
|
31773
31773
|
"kind": "Content",
|
@@ -31776,7 +31776,7 @@
|
|
31776
31776
|
{
|
31777
31777
|
"kind": "Reference",
|
31778
31778
|
"text": "RAPIER.Collider",
|
31779
|
-
"canonicalReference": "@dimforge/rapier3d-compat
|
31779
|
+
"canonicalReference": "@dimforge/rapier3d-simd-compat!Collider:class"
|
31780
31780
|
},
|
31781
31781
|
{
|
31782
31782
|
"kind": "Content",
|
@@ -33680,7 +33680,7 @@
|
|
33680
33680
|
{
|
33681
33681
|
"kind": "Reference",
|
33682
33682
|
"text": "RAPIER.RigidBody",
|
33683
|
-
"canonicalReference": "@dimforge/rapier3d-compat
|
33683
|
+
"canonicalReference": "@dimforge/rapier3d-simd-compat!RigidBody:class"
|
33684
33684
|
},
|
33685
33685
|
{
|
33686
33686
|
"kind": "Content",
|
@@ -37494,7 +37494,7 @@
|
|
37494
37494
|
{
|
37495
37495
|
"kind": "Reference",
|
37496
37496
|
"text": "RAPIER.ColliderHandle",
|
37497
|
-
"canonicalReference": "@dimforge/rapier3d-compat
|
37497
|
+
"canonicalReference": "@dimforge/rapier3d-simd-compat!ColliderHandle:type"
|
37498
37498
|
},
|
37499
37499
|
{
|
37500
37500
|
"kind": "Content",
|
@@ -37503,7 +37503,7 @@
|
|
37503
37503
|
{
|
37504
37504
|
"kind": "Reference",
|
37505
37505
|
"text": "RAPIER.ColliderHandle",
|
37506
|
-
"canonicalReference": "@dimforge/rapier3d-compat
|
37506
|
+
"canonicalReference": "@dimforge/rapier3d-simd-compat!ColliderHandle:type"
|
37507
37507
|
},
|
37508
37508
|
{
|
37509
37509
|
"kind": "Content",
|
@@ -37565,7 +37565,7 @@
|
|
37565
37565
|
{
|
37566
37566
|
"kind": "Reference",
|
37567
37567
|
"text": "RAPIER.Vector3",
|
37568
|
-
"canonicalReference": "@dimforge/rapier3d-compat
|
37568
|
+
"canonicalReference": "@dimforge/rapier3d-simd-compat!Vector3:class"
|
37569
37569
|
},
|
37570
37570
|
{
|
37571
37571
|
"kind": "Content",
|
@@ -37656,7 +37656,7 @@
|
|
37656
37656
|
{
|
37657
37657
|
"kind": "Reference",
|
37658
37658
|
"text": "RAPIER.Vector3",
|
37659
|
-
"canonicalReference": "@dimforge/rapier3d-compat
|
37659
|
+
"canonicalReference": "@dimforge/rapier3d-simd-compat!Vector3:class"
|
37660
37660
|
},
|
37661
37661
|
{
|
37662
37662
|
"kind": "Content",
|
@@ -37665,7 +37665,7 @@
|
|
37665
37665
|
{
|
37666
37666
|
"kind": "Reference",
|
37667
37667
|
"text": "RAPIER.Vector3",
|
37668
|
-
"canonicalReference": "@dimforge/rapier3d-compat
|
37668
|
+
"canonicalReference": "@dimforge/rapier3d-simd-compat!Vector3:class"
|
37669
37669
|
},
|
37670
37670
|
{
|
37671
37671
|
"kind": "Content",
|
@@ -37760,7 +37760,7 @@
|
|
37760
37760
|
{
|
37761
37761
|
"kind": "Reference",
|
37762
37762
|
"text": "RAPIER.Vector3",
|
37763
|
-
"canonicalReference": "@dimforge/rapier3d-compat
|
37763
|
+
"canonicalReference": "@dimforge/rapier3d-simd-compat!Vector3:class"
|
37764
37764
|
},
|
37765
37765
|
{
|
37766
37766
|
"kind": "Content",
|
@@ -38212,7 +38212,7 @@
|
|
38212
38212
|
{
|
38213
38213
|
"kind": "Reference",
|
38214
38214
|
"text": "RapierSdpMatrix3",
|
38215
|
-
"canonicalReference": "@dimforge/rapier3d-compat
|
38215
|
+
"canonicalReference": "@dimforge/rapier3d-simd-compat!SdpMatrix3:class"
|
38216
38216
|
},
|
38217
38217
|
{
|
38218
38218
|
"kind": "Content",
|
package/server.d.ts
CHANGED
@@ -6,8 +6,8 @@ import type { IncomingMessage } from 'http';
|
|
6
6
|
import type { InputSchema } from '@hytopia.com/server-protocol';
|
7
7
|
import type { LobbyMembershipDto } from '@hytopia.com/creative-lib/dist/impl/getSession';
|
8
8
|
import protocol from '@hytopia.com/server-protocol';
|
9
|
-
import RAPIER from '@dimforge/rapier3d-compat
|
10
|
-
import { SdpMatrix3 } from '@dimforge/rapier3d-compat
|
9
|
+
import RAPIER from '@dimforge/rapier3d-simd-compat';
|
10
|
+
import { SdpMatrix3 } from '@dimforge/rapier3d-simd-compat';
|
11
11
|
import type { Socket } from 'net';
|
12
12
|
import { WebSocket as WebSocket_2 } from 'ws';
|
13
13
|
|