Skip to content

Commit 4957243

Browse files
committed
wield sprites
1 parent 2087148 commit 4957243

File tree

26 files changed

+43
-13
lines changed

26 files changed

+43
-13
lines changed

Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.Examine.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ private FormattedMessage GetGunExamine(Entity<GunComponent> ent)
6464
msg.PushNewline();
6565
msg.AddMarkupOrThrow(Loc.GetString("gun-examine-fire-rate",
6666
("color", FireRateExamineColor),
67-
("value", MathF.Round(ent.Comp.FireRateModified * 60f, 0))
67+
("value", MathF.Round(ent.Comp.FireRateModified, 1))
6868
));
6969

7070
// Muzzle Velocity (ProjectileSpeed * 10)

Resources/Locale/en-US/_emberfall/weapons/gun-examine.ftl

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ gun-examine-recoil = - [color={$color}]Recoil[/color]: [color=lightblue]{$value}
55
gun-examine-stability = - [color={$color}]Stability[/color]: [color=lightblue]{$value}°[/color] per second
66
gun-examine-max-angle = - [color={$color}]Maximum spread[/color]: [color=lightblue]{$value}°[/color]
77
gun-examine-min-angle = - [color={$color}]Minimum spread[/color]: [color=lightblue]{$value}°[/color]
8-
gun-examine-fire-rate = - [color={$color}]Fire rate[/color]: [color=lightblue]{$value} RPM[/color]
8+
gun-examine-fire-rate = - [color={$color}]Fire rate[/color]: [color=lightblue]{$value} RPS[/color]
99
gun-examine-muzzle-velocity = - [color={$color}]Muzzle velocity[/color]: [color=lightblue]{$value} m/s[/color]
1010
gun-examine-caliber = It's chambered in [color={$color}]{$caliber}[/color].

Resources/Prototypes/Entities/Objects/Weapons/Guns/Projectiles/projectiles.yml

-1
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,6 @@
10531053
count: 3 #bit stronger than a disabler if you hit your shots you goober, still not a 2 hit stun though
10541054
spread: 9
10551055

1056-
10571056
# Emberfall projectiles: yes they have to be here
10581057

10591058
# Tracers

Resources/Prototypes/Entities/Structures/Machines/lathe.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@
232232
- MagazineHeavyPistolEmpty
233233
- MagazineHeavyPistolSubMachineGun
234234
- MagazineHeavyPistolSubMachineGunEmpty
235-
# End Emberfall additions
235+
# End Emberfall
236236
- type: BlueprintReceiver
237237
whitelist:
238238
tags:
@@ -766,6 +766,7 @@
766766
- MagazineHeavyPistolPractice
767767
- MagazineBoxHeavyPistol
768768
- MagazineBoxHeavyPistolPractice
769+
# End Emberfall
769770
dynamicRecipes:
770771
- BoxBeanbag
771772
- BoxShotgunIncendiary

Resources/Prototypes/_Emberfall/Catalog/Fills/Lockers/security.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
amount: 8
8484

8585
- type: entity
86-
parent: [GunSafeBaseSecure, BaseRestrictedContraband]
86+
parent: [ GunSafeBaseSecure, BaseRestrictedContraband ]
8787
id: GunSafePistolPollock
8888
name: pollock safe
8989
components:

Resources/Prototypes/_Emberfall/Entities/Objects/Weapons/Guns/Rifles/rifles.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
- type: GunRequiresWield
1717
- type: GunWieldBonus
1818
minAngle: -19.5 # 1.5 deg min
19-
maxAngle: -23 # 9 deg max
19+
maxAngle: -23.5 # 8.5 deg max
2020
- type: Gun
2121
projectileSpeed: 45
2222
fireRate: 5.5
@@ -65,7 +65,7 @@
6565
- type: GunRequiresWield
6666
- type: GunWieldBonus
6767
minAngle: -20 # 1 deg min
68-
maxAngle: -24.5 # 7.5 deg max
68+
maxAngle: -25 # 7 deg max
6969
- type: Gun
7070
projectileSpeed: 45
7171
fireRate: 4.5

Resources/Prototypes/_Emberfall/Recipies/Lathes/security.yml

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# 10mm auto magazines
2-
32
- type: latheRecipe
43
parent: BaseEmptyAmmoRecipe
54
id: MagazineHeavyPistolEmpty
@@ -107,7 +106,6 @@
107106
Plastic: 350
108107
Uranium: 700
109108

110-
111109
# Tracers: magazines
112110

113111
# 9x19mm

Resources/Textures/_Emberfall/Objects/Weapons/Guns/Rifles/carbinenogl.rsi/meta.json

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"version": 1,
33
"license": "CC-BY-SA-3.0",
4-
"copyright": "Taken from Delta-v at https://github.com/DeltaV-Station/Delta-v/commit/87c70a89a67d0521a56388e6b1c3f2cb947943e4",
4+
"copyright": "Taken from Delta-v at https://github.com/DeltaV-Station/Delta-v/commit/87c70a89a67d0521a56388e6b1c3f2cb947943e4, edited by MilonPL",
55
"size": {
66
"x": 32,
77
"y": 32
@@ -34,6 +34,14 @@
3434
{
3535
"name": "equipped-SUITSTORAGE",
3636
"directions": 4
37+
},
38+
{
39+
"name": "wielded-inhand-right",
40+
"directions": 4
41+
},
42+
{
43+
"name": "wielded-inhand-left",
44+
"directions": 4
3745
}
3846
]
3947
}
Loading
Loading
Loading

Resources/Textures/_Emberfall/Objects/Weapons/Guns/Rifles/nightshade.rsi/meta.json

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"version": 1,
33
"license": "CC0-1.0",
4-
"copyright": "Taken from Delta-v at https://github.com/DeltaV-Station/Delta-v/commit/87c70a89a67d0521a56388e6b1c3f2cb947943e4",
4+
"copyright": "Taken from Delta-v at https://github.com/DeltaV-Station/Delta-v/commit/87c70a89a67d0521a56388e6b1c3f2cb947943e4, edited by MilonPL",
55
"size": {
66
"x": 32,
77
"y": 32
@@ -34,6 +34,14 @@
3434
{
3535
"name": "equipped-SUITSTORAGE",
3636
"directions": 4
37+
},
38+
{
39+
"name": "wielded-inhand-right",
40+
"directions": 4
41+
},
42+
{
43+
"name": "wielded-inhand-left",
44+
"directions": 4
3745
}
3846
]
3947
}
Loading
Loading
Loading
Loading
Loading

Resources/Textures/_Emberfall/Objects/Weapons/Guns/Rifles/tenebra.rsi/meta.json

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"version": 1,
33
"license": "CC0-1.0",
4-
"copyright": "Taken from Delta-v at https://github.com/DeltaV-Station/Delta-v/commit/87c70a89a67d0521a56388e6b1c3f2cb947943e4",
4+
"copyright": "Taken from Delta-v at https://github.com/DeltaV-Station/Delta-v/commit/87c70a89a67d0521a56388e6b1c3f2cb947943e4, edited by MilonPL",
55
"size": {
66
"x": 32,
77
"y": 32
@@ -34,6 +34,14 @@
3434
{
3535
"name": "equipped-SUITSTORAGE",
3636
"directions": 4
37+
},
38+
{
39+
"name": "wielded-inhand-right",
40+
"directions": 4
41+
},
42+
{
43+
"name": "wielded-inhand-left",
44+
"directions": 4
3745
}
3846
]
3947
}
Loading
Loading

Resources/Textures/_Emberfall/Objects/Weapons/Guns/Rifles/vulcan.rsi/meta.json

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"version": 1,
33
"license": "CC-BY-SA-4.0",
4-
"copyright": "Taken from Delta-v at https://github.com/DeltaV-Station/Delta-v/commit/87c70a89a67d0521a56388e6b1c3f2cb947943e4",
4+
"copyright": "Taken from Delta-v at https://github.com/DeltaV-Station/Delta-v/commit/87c70a89a67d0521a56388e6b1c3f2cb947943e4, edited by MilonPL",
55
"size": {
66
"x": 32,
77
"y": 32
@@ -34,6 +34,14 @@
3434
{
3535
"name": "equipped-SUITSTORAGE",
3636
"directions": 4
37+
},
38+
{
39+
"name": "wielded-inhand-right",
40+
"directions": 4
41+
},
42+
{
43+
"name": "wielded-inhand-left",
44+
"directions": 4
3745
}
3846
]
3947
}
Loading
Loading

0 commit comments

Comments
 (0)