@adatechnology/game-weapons 0.12.1 → 0.12.2
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/dist/index.d.ts +8 -1
- package/dist/index.global.js +93 -3
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +52 -0
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -2731,6 +2731,26 @@ var archetypes_default = [
|
|
|
2731
2731
|
"heavy"
|
|
2732
2732
|
]
|
|
2733
2733
|
},
|
|
2734
|
+
{
|
|
2735
|
+
id: "shovel",
|
|
2736
|
+
name: "Shovel",
|
|
2737
|
+
category: "melee_blunt",
|
|
2738
|
+
action: {
|
|
2739
|
+
kind: "melee",
|
|
2740
|
+
damage: "blunt",
|
|
2741
|
+
energy: 160,
|
|
2742
|
+
radius: 0.12,
|
|
2743
|
+
reach: 1.25,
|
|
2744
|
+
rpm: 35,
|
|
2745
|
+
noise: 5
|
|
2746
|
+
},
|
|
2747
|
+
mass: 2,
|
|
2748
|
+
tags: [
|
|
2749
|
+
"heavy",
|
|
2750
|
+
"two_handed",
|
|
2751
|
+
"digs"
|
|
2752
|
+
]
|
|
2753
|
+
},
|
|
2734
2754
|
{
|
|
2735
2755
|
id: "baseball_bat",
|
|
2736
2756
|
name: "Baseball bat",
|
|
@@ -3803,6 +3823,13 @@ var explosives_default = [
|
|
|
3803
3823
|
injuryRadius: 15,
|
|
3804
3824
|
energy: 2e5,
|
|
3805
3825
|
tnt: 0.24,
|
|
3826
|
+
casing: {
|
|
3827
|
+
mass: 0.19,
|
|
3828
|
+
material: "steel",
|
|
3829
|
+
fragments: 1e3,
|
|
3830
|
+
chargeMass: 0.18,
|
|
3831
|
+
gurneyVelocity: 2700
|
|
3832
|
+
},
|
|
3806
3833
|
destructionLevel: 2,
|
|
3807
3834
|
noise: 500,
|
|
3808
3835
|
fuse: 4,
|
|
@@ -3849,6 +3876,14 @@ var explosives_default = [
|
|
|
3849
3876
|
injuryRadius: 10,
|
|
3850
3877
|
energy: 43200,
|
|
3851
3878
|
tnt: 0.15,
|
|
3879
|
+
casing: {
|
|
3880
|
+
mass: 0.35,
|
|
3881
|
+
material: "steel",
|
|
3882
|
+
fragments: 60,
|
|
3883
|
+
chargeMass: 0.15,
|
|
3884
|
+
gurneyVelocity: 2e3,
|
|
3885
|
+
geometry: "cylinder"
|
|
3886
|
+
},
|
|
3852
3887
|
destructionLevel: 2,
|
|
3853
3888
|
noise: 450,
|
|
3854
3889
|
fuse: 3,
|
|
@@ -4012,6 +4047,13 @@ var explosives_default = [
|
|
|
4012
4047
|
injuryRadius: 12,
|
|
4013
4048
|
energy: 102400,
|
|
4014
4049
|
tnt: 0.045,
|
|
4050
|
+
casing: {
|
|
4051
|
+
mass: 0.09,
|
|
4052
|
+
material: "steel",
|
|
4053
|
+
fragments: 250,
|
|
4054
|
+
chargeMass: 0.032,
|
|
4055
|
+
gurneyVelocity: 2700
|
|
4056
|
+
},
|
|
4015
4057
|
destructionLevel: 2,
|
|
4016
4058
|
noise: 450,
|
|
4017
4059
|
armRange: [
|
|
@@ -4242,6 +4284,13 @@ var explosives_default = [
|
|
|
4242
4284
|
injuryRadius: 12,
|
|
4243
4285
|
energy: 102400,
|
|
4244
4286
|
tnt: 0.045,
|
|
4287
|
+
casing: {
|
|
4288
|
+
mass: 0.1,
|
|
4289
|
+
material: "steel",
|
|
4290
|
+
fragments: 300,
|
|
4291
|
+
chargeMass: 0.037,
|
|
4292
|
+
gurneyVelocity: 2650
|
|
4293
|
+
},
|
|
4245
4294
|
destructionLevel: 2,
|
|
4246
4295
|
noise: 450,
|
|
4247
4296
|
armRange: [
|
|
@@ -14296,6 +14345,7 @@ var locales = {
|
|
|
14296
14345
|
crossbow: "Crossbow",
|
|
14297
14346
|
hammer: "Hammer",
|
|
14298
14347
|
sledgehammer: "Sledgehammer",
|
|
14348
|
+
shovel: "Shovel",
|
|
14299
14349
|
baseball_bat: "Baseball bat",
|
|
14300
14350
|
crowbar: "Crowbar",
|
|
14301
14351
|
machete: "Machete",
|
|
@@ -14397,6 +14447,7 @@ var locales = {
|
|
|
14397
14447
|
crossbow: "besta",
|
|
14398
14448
|
hammer: "martelo",
|
|
14399
14449
|
sledgehammer: "marreta",
|
|
14450
|
+
shovel: "p\xE1",
|
|
14400
14451
|
baseball_bat: "taco de beisebol",
|
|
14401
14452
|
crowbar: "p\xE9 de cabra",
|
|
14402
14453
|
machete: "fac\xE3o",
|
|
@@ -14793,6 +14844,7 @@ var ExplosiveBody = class {
|
|
|
14793
14844
|
at,
|
|
14794
14845
|
energy: def.energy,
|
|
14795
14846
|
...def.tnt !== void 0 ? { tnt: def.tnt } : {},
|
|
14847
|
+
...def.casing ? { casing: def.casing } : {},
|
|
14796
14848
|
lethalRadius: def.lethalRadius,
|
|
14797
14849
|
injuryRadius: def.injuryRadius,
|
|
14798
14850
|
noise: def.noise,
|