@adatechnology/game-weapons 0.5.8 → 0.6.0
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 +7 -0
- package/dist/index.global.js +19 -0
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -3682,6 +3682,7 @@ var explosives_default = [
|
|
|
3682
3682
|
lethalRadius: 5,
|
|
3683
3683
|
injuryRadius: 15,
|
|
3684
3684
|
energy: 2e5,
|
|
3685
|
+
tnt: 0.24,
|
|
3685
3686
|
destructionLevel: 2,
|
|
3686
3687
|
noise: 500,
|
|
3687
3688
|
fuse: 4,
|
|
@@ -3727,6 +3728,7 @@ var explosives_default = [
|
|
|
3727
3728
|
lethalRadius: 3,
|
|
3728
3729
|
injuryRadius: 10,
|
|
3729
3730
|
energy: 43200,
|
|
3731
|
+
tnt: 0.15,
|
|
3730
3732
|
destructionLevel: 2,
|
|
3731
3733
|
noise: 450,
|
|
3732
3734
|
fuse: 3,
|
|
@@ -3746,6 +3748,7 @@ var explosives_default = [
|
|
|
3746
3748
|
lethalRadius: 5,
|
|
3747
3749
|
injuryRadius: 14,
|
|
3748
3750
|
energy: 2e5,
|
|
3751
|
+
tnt: 1.5,
|
|
3749
3752
|
destructionLevel: 2,
|
|
3750
3753
|
noise: 550,
|
|
3751
3754
|
fire: {
|
|
@@ -3792,6 +3795,7 @@ var explosives_default = [
|
|
|
3792
3795
|
lethalRadius: 4,
|
|
3793
3796
|
injuryRadius: 12,
|
|
3794
3797
|
energy: 102400,
|
|
3798
|
+
tnt: 0.25,
|
|
3795
3799
|
destructionLevel: 3,
|
|
3796
3800
|
noise: 600,
|
|
3797
3801
|
fuseLength: 0.03,
|
|
@@ -3814,6 +3818,7 @@ var explosives_default = [
|
|
|
3814
3818
|
lethalRadius: 6,
|
|
3815
3819
|
injuryRadius: 18,
|
|
3816
3820
|
energy: 345600,
|
|
3821
|
+
tnt: 0.76,
|
|
3817
3822
|
destructionLevel: 3,
|
|
3818
3823
|
noise: 700,
|
|
3819
3824
|
triggers: [
|
|
@@ -3837,6 +3842,7 @@ var explosives_default = [
|
|
|
3837
3842
|
length: 50
|
|
3838
3843
|
},
|
|
3839
3844
|
energy: 102400,
|
|
3845
|
+
tnt: 0.9,
|
|
3840
3846
|
destructionLevel: 1,
|
|
3841
3847
|
noise: 500,
|
|
3842
3848
|
triggers: [
|
|
@@ -3860,6 +3866,7 @@ var explosives_default = [
|
|
|
3860
3866
|
lethalRadius: 0,
|
|
3861
3867
|
injuryRadius: 10,
|
|
3862
3868
|
energy: 0,
|
|
3869
|
+
tnt: 0.01,
|
|
3863
3870
|
destructionLevel: 0,
|
|
3864
3871
|
noise: 400,
|
|
3865
3872
|
fuseRange: [
|
|
@@ -3884,6 +3891,7 @@ var explosives_default = [
|
|
|
3884
3891
|
lethalRadius: 4,
|
|
3885
3892
|
injuryRadius: 12,
|
|
3886
3893
|
energy: 102400,
|
|
3894
|
+
tnt: 0.045,
|
|
3887
3895
|
destructionLevel: 2,
|
|
3888
3896
|
noise: 450,
|
|
3889
3897
|
triggers: [
|
|
@@ -3902,6 +3910,7 @@ var explosives_default = [
|
|
|
3902
3910
|
lethalRadius: 5,
|
|
3903
3911
|
injuryRadius: 15,
|
|
3904
3912
|
energy: 2e5,
|
|
3913
|
+
tnt: 0.45,
|
|
3905
3914
|
destructionLevel: 3,
|
|
3906
3915
|
noise: 700,
|
|
3907
3916
|
triggers: [
|
|
@@ -3920,6 +3929,7 @@ var explosives_default = [
|
|
|
3920
3929
|
lethalRadius: 5,
|
|
3921
3930
|
injuryRadius: 16,
|
|
3922
3931
|
energy: 2e5,
|
|
3932
|
+
tnt: 0.7,
|
|
3923
3933
|
destructionLevel: 3,
|
|
3924
3934
|
noise: 750,
|
|
3925
3935
|
triggers: [
|
|
@@ -3938,6 +3948,7 @@ var explosives_default = [
|
|
|
3938
3948
|
lethalRadius: 5,
|
|
3939
3949
|
injuryRadius: 16,
|
|
3940
3950
|
energy: 2e5,
|
|
3951
|
+
tnt: 0.45,
|
|
3941
3952
|
destructionLevel: 3,
|
|
3942
3953
|
noise: 750,
|
|
3943
3954
|
triggers: [
|
|
@@ -3956,6 +3967,7 @@ var explosives_default = [
|
|
|
3956
3967
|
lethalRadius: 5,
|
|
3957
3968
|
injuryRadius: 16,
|
|
3958
3969
|
energy: 2e5,
|
|
3970
|
+
tnt: 0.7,
|
|
3959
3971
|
destructionLevel: 3,
|
|
3960
3972
|
noise: 750,
|
|
3961
3973
|
triggers: [
|
|
@@ -3974,6 +3986,7 @@ var explosives_default = [
|
|
|
3974
3986
|
lethalRadius: 4,
|
|
3975
3987
|
injuryRadius: 12,
|
|
3976
3988
|
energy: 102400,
|
|
3989
|
+
tnt: 1,
|
|
3977
3990
|
destructionLevel: 2,
|
|
3978
3991
|
noise: 550,
|
|
3979
3992
|
fire: {
|
|
@@ -4007,6 +4020,7 @@ var explosives_default = [
|
|
|
4007
4020
|
lethalRadius: 5,
|
|
4008
4021
|
injuryRadius: 14,
|
|
4009
4022
|
energy: 2e5,
|
|
4023
|
+
tnt: 0.5,
|
|
4010
4024
|
destructionLevel: 2,
|
|
4011
4025
|
noise: 550,
|
|
4012
4026
|
fire: {
|
|
@@ -4044,6 +4058,7 @@ var explosives_default = [
|
|
|
4044
4058
|
lethalRadius: 4,
|
|
4045
4059
|
injuryRadius: 12,
|
|
4046
4060
|
energy: 102400,
|
|
4061
|
+
tnt: 0.5,
|
|
4047
4062
|
destructionLevel: 3,
|
|
4048
4063
|
noise: 700,
|
|
4049
4064
|
fire: {
|
|
@@ -4073,6 +4088,7 @@ var explosives_default = [
|
|
|
4073
4088
|
lethalRadius: 12,
|
|
4074
4089
|
injuryRadius: 30,
|
|
4075
4090
|
energy: 2764800,
|
|
4091
|
+
tnt: 20,
|
|
4076
4092
|
destructionLevel: 3,
|
|
4077
4093
|
noise: 700,
|
|
4078
4094
|
fire: {
|
|
@@ -4100,6 +4116,7 @@ var explosives_default = [
|
|
|
4100
4116
|
lethalRadius: 4,
|
|
4101
4117
|
injuryRadius: 12,
|
|
4102
4118
|
energy: 102400,
|
|
4119
|
+
tnt: 0.045,
|
|
4103
4120
|
destructionLevel: 2,
|
|
4104
4121
|
noise: 450,
|
|
4105
4122
|
triggers: [
|
|
@@ -12844,6 +12861,7 @@ var ExplosiveBody = class {
|
|
|
12844
12861
|
direction: this.facing,
|
|
12845
12862
|
at,
|
|
12846
12863
|
energy: def.energy,
|
|
12864
|
+
...def.tnt !== void 0 ? { tnt: def.tnt } : {},
|
|
12847
12865
|
lethalRadius: def.lethalRadius,
|
|
12848
12866
|
injuryRadius: def.injuryRadius,
|
|
12849
12867
|
noise: def.noise,
|