Skip to content

Commit 00ff381

Browse files
Hard forking weapons part 5 (ammunition and projectiles) (impstation#3890)
* Projectile Organization part 1 I have always hated having 2 projectile folders. * more work done still not done * more projectile work it's a lot * I'm sorry this one got too big uuuuhhh ummmm * More touches Everything double checked, moving on to reverting upstream files * Final Push Maybe Jeepers... * some fixes but something is broken * FINAL fix. I figured it out. * tag fixes fixin those tags * resolving the merge conflict part one wait warmly * part two of that * Delete projectiles.yml Kill it.
1 parent 319735b commit 00ff381

File tree

124 files changed

+6790
-1827
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+6790
-1827
lines changed

Resources/Prototypes/Entities/Objects/Weapons/Guns/Ammunition/Boxes/antimateriel.yml

Lines changed: 5 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
- type: entity
2-
abstract: true
32
parent: [ BaseItem, BaseSecurityContraband ]
4-
id: BaseMagazineBoxAntiMateriel
3+
id: BaseMagazineBoxAntiMaterielWizden #imp - see the _Impstation directory for the version we use
4+
abstract: true
55
name: ammunition box (.60 anti-materiel)
6-
description: A box made for 10 rounds of .60 anti-materiel ammunition. #imp
76
components:
87
- type: BallisticAmmoProvider
98
mayTransfer: true
@@ -18,7 +17,7 @@
1817
containers:
1918
ballistic-ammo: !type:Container
2019
- type: Sprite
21-
sprite: _Impstation/Objects/Weapons/Guns/Ammunition/Boxes/anti_materiel.rsi # imp
20+
sprite: Objects/Weapons/Guns/Ammunition/Boxes/anti_materiel.rsi
2221
- type: MagazineVisuals
2322
magState: mag
2423
steps: 4
@@ -28,30 +27,9 @@
2827
# Boxes
2928
- type: entity
3029
parent: BaseMagazineBoxAntiMateriel
31-
id: MagazineBoxAntiMaterielBig
32-
name: ammunition box (.60 anti-materiel)
33-
description: A large box made for 30 rounds of .60 anti-materiel ammunition. #imp
34-
components:
35-
- type: BallisticAmmoProvider
36-
capacity: 30
37-
proto: CartridgeAntiMateriel
38-
- type: Sprite
39-
layers:
40-
- state: base-b
41-
map: ["enum.GunVisualLayers.Base"]
42-
- state: magb-1
43-
map: ["enum.GunVisualLayers.Mag"]
44-
- type: MagazineVisuals
45-
magState: magb
46-
steps: 4
47-
zeroVisible: false
48-
- type: Appearance
49-
50-
- type: entity
51-
parent: BaseMagazineBoxAntiMateriel
52-
id: MagazineBoxAntiMateriel
30+
id: MagazineBoxAntiMaterielWizden #imp - see the _Impstation directory for the version we use
31+
abstract: true
5332
name: ammunition box (.60 anti-materiel)
54-
description: A box made for 10 rounds of .60 anti-materiel ammunition. #imp
5533
components:
5634
- type: BallisticAmmoProvider
5735
proto: CartridgeAntiMateriel

Resources/Prototypes/Entities/Objects/Weapons/Guns/Ammunition/Boxes/caseless_rifle.yml

Lines changed: 10 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
- type: entity
2-
abstract: true
32
parent: BaseItem
4-
id: BaseMagazineBoxCaselessRifle
3+
id: BaseMagazineBoxCaselessRifleWizden #imp - see the _Impstation directory for the version we use
4+
abstract: true
55
name: ammunition box (.25 caseless)
6-
description: A box made for 50 rounds of .25 caseless ammunition. #imp
76
components:
87
- type: BallisticAmmoProvider
98
mayTransfer: true
109
whitelist:
1110
tags:
1211
- CartridgeCaselessRifle
1312
proto: CartridgeCaselessRifle
14-
capacity: 50 #imp
13+
capacity: 60
1514
- type: Item
1615
size: Small
1716
- type: ContainerContainer
1817
containers:
1918
ballistic-ammo: !type:Container
2019
- type: Sprite
21-
sprite: _Impstation/Objects/Weapons/Guns/Ammunition/Boxes/caseless_rifle.rsi # imp
20+
sprite: Objects/Weapons/Guns/Ammunition/Boxes/caseless_rifle.rsi
2221
- type: MagazineVisuals
2322
magState: mag
2423
steps: 4
@@ -28,51 +27,10 @@
2827
# Boxes
2928
- type: entity
3029
parent: BaseMagazineBoxCaselessRifle
31-
id: MagazineBoxCaselessRifle10x24
32-
name: ammunition box (.25 caseless)
33-
description: A large box made for 200 rounds of .25 caseless ammunition, labeled as live-fire bullets. #imp
34-
components:
35-
- type: BallisticAmmoProvider
36-
capacity: 200
37-
proto: CartridgeCaselessRifle
38-
- type: Sprite
39-
layers:
40-
- state: base-10x24
41-
map: ["enum.GunVisualLayers.Base"]
42-
- state: mag10-1
43-
map: ["enum.GunVisualLayers.Mag"]
44-
- type: MagazineVisuals
45-
magState: mag10
46-
steps: 4
47-
zeroVisible: false
48-
- type: Appearance
49-
50-
- type: entity
51-
parent: BaseMagazineBoxCaselessRifle
52-
id: MagazineBoxCaselessRifleBig
53-
name: ammunition box (.25 caseless)
54-
description: A large box made for 200 rounds of .25 caseless ammunition, labeled as live-fire bullets. #imp
55-
components:
56-
- type: BallisticAmmoProvider
57-
capacity: 200
58-
proto: CartridgeCaselessRifle
59-
- type: Sprite
60-
layers:
61-
- state: base-b
62-
map: ["enum.GunVisualLayers.Base"]
63-
- state: magb-1
64-
map: ["enum.GunVisualLayers.Mag"]
65-
- type: MagazineVisuals
66-
magState: magb
67-
steps: 4
68-
zeroVisible: false
69-
- type: Appearance
70-
71-
- type: entity
72-
parent: BaseMagazineBoxCaselessRifle
73-
id: MagazineBoxCaselessRifle
30+
id: MagazineBoxCaselessRifleWizden #imp - see the _Impstation directory for the version we use
31+
abstract: true
7432
name: ammunition box (.25 caseless)
75-
description: A box made for 50 rounds of .25 caseless ammunition, labeled as live-fire bullets. #imp
33+
description: A cardboard box of .25 caseless rounds. Intended to hold general-purpose kinetic ammunition.
7634
components:
7735
- type: BallisticAmmoProvider
7836
proto: CartridgeCaselessRifle
@@ -85,9 +43,10 @@
8543

8644
- type: entity
8745
parent: BaseMagazineBoxCaselessRifle
88-
id: MagazineBoxCaselessRiflePractice
46+
id: MagazineBoxCaselessRiflePracticeWizden #imp - see the _Impstation directory for the version we use
47+
abstract: true
8948
name: ammunition box (.25 caseless practice)
90-
description: A box made for 50 rounds of .25 caseless ammunition, labeled as practice bullets. #imp
49+
description: A cardboard box of .25 caseless rounds. Intended to hold non-harmful chalk ammunition.
9150
components:
9251
- type: BallisticAmmoProvider
9352
proto: CartridgeCaselessRiflePractice

Resources/Prototypes/Entities/Objects/Weapons/Guns/Ammunition/Boxes/light_rifle.yml

Lines changed: 24 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
- type: entity
2-
abstract: true
32
parent: BaseItem
4-
id: BaseMagazineBoxLightRifle
3+
id: BaseMagazineBoxLightRifleWizden #imp - see the _Impstation directory for the version we use
4+
abstract: true
55
name: ammunition box (.30 rifle)
6-
description: A box made for 60 rounds of .30 rifle ammunition. #imp
76
components:
87
- type: BallisticAmmoProvider
98
mayTransfer: true
@@ -18,7 +17,7 @@
1817
containers:
1918
ballistic-ammo: !type:Container
2019
- type: Sprite
21-
sprite: _Impstation/Objects/Weapons/Guns/Ammunition/Boxes/light_rifle.rsi # imp
20+
sprite: Objects/Weapons/Guns/Ammunition/Boxes/light_rifle.rsi
2221
- type: MagazineVisuals
2322
magState: mag
2423
steps: 4
@@ -27,32 +26,28 @@
2726

2827
# Boxes
2928
- type: entity
30-
parent: BaseMagazineBoxLightRifle
31-
id: MagazineBoxLightRifleBig
29+
parent: BaseMagazineBoxLightRifleWizden #imp
30+
id: MagazineBoxLightRifleBigWizden #imp - see the _Impstation directory for the version we use
31+
abstract: true
3232
name: ammunition box (.30 rifle)
3333
suffix: Big
34-
description: A large box made for 200 rounds of .30 rifle ammunition, labeled as live-fire bullets. #imp
3534
components:
3635
- type: BallisticAmmoProvider
3736
capacity: 200
3837
proto: CartridgeLightRifle
3938
- type: Sprite
4039
layers:
41-
- state: base-b #imp
40+
- state: base
4241
map: ["enum.GunVisualLayers.Base"]
43-
- state: magb-1 #imp
42+
- state: mag-1
4443
map: ["enum.GunVisualLayers.Mag"]
45-
- type: MagazineVisuals #imp
46-
magState: magb
47-
steps: 4
48-
zeroVisible: false
49-
- type: Appearance # imp
5044

5145
- type: entity
52-
parent: BaseMagazineBoxLightRifle
53-
id: MagazineBoxLightRifle
46+
parent: BaseMagazineBoxLightRifleWizden #imp
47+
id: MagazineBoxLightRifleWizden #imp - see the _Impstation directory for the version we use
48+
abstract: true
5449
name: ammunition box (.30 rifle)
55-
description: A box made for 60 rounds of .30 rifle ammunition, labeled as live-fire bullets. #imp
50+
description: A cardboard box of .30 rifle rounds. Intended to hold general-purpose kinetic ammunition.
5651
components:
5752
- type: BallisticAmmoProvider
5853
proto: CartridgeLightRifle
@@ -64,10 +59,11 @@
6459
map: ["enum.GunVisualLayers.Mag"]
6560

6661
- type: entity
67-
parent: BaseMagazineBoxLightRifle
68-
id: MagazineBoxLightRiflePractice
62+
parent: BaseMagazineBoxLightRifleWizden #imp
63+
id: MagazineBoxLightRiflePracticeWizden #imp - see the _Impstation directory for the version we use
64+
abstract: true
6965
name: ammunition box (.30 rifle practice)
70-
description: A box made for 60 rounds of .30 rifle ammunition, labeled as practice bullets. #imp
66+
description: A cardboard box of .30 rifle rounds. Intended to hold non-harmful chalk ammunition.
7167
components:
7268
- type: BallisticAmmoProvider
7369
proto: CartridgeLightRiflePractice
@@ -80,10 +76,11 @@
8076
- state: practice
8177

8278
- type: entity
83-
id: MagazineBoxLightRifleIncendiary
84-
parent: BaseMagazineBoxLightRifle
85-
description: A box made for 60 rounds of .30 rifle ammunition, labeled as incendiary bullets. #imp
79+
id: MagazineBoxLightRifleIncendiaryWizden #imp - see the _Impstation directory for the version we use
80+
abstract: true
81+
parent: BaseMagazineBoxLightRifleWizden #imp
8682
name: ammunition box (.30 rifle incendiary)
83+
description: A cardboard box of .30 rifle rounds. Intended to hold self-igniting incendiary ammunition.
8784
components:
8885
- type: BallisticAmmoProvider
8986
proto: CartridgeLightRifleIncendiary
@@ -96,10 +93,11 @@
9693
- state: incendiary
9794

9895
- type: entity
99-
parent: BaseMagazineBoxLightRifle
100-
id: MagazineBoxLightRifleUranium
96+
parent: BaseMagazineBoxLightRifleWizden #imp
97+
id: MagazineBoxLightRifleUraniumWizden #imp - see the _Impstation directory for the version we use
98+
abstract: true
10199
name: ammunition box (.30 rifle uranium)
102-
description: A box made for 60 rounds of .30 rifle ammunition, labeled as uranium bullets. #imp
100+
description: A cardboard box of .30 rifle rounds. Intended to hold exotic uranium-core ammunition.
103101
components:
104102
- type: BallisticAmmoProvider
105103
proto: CartridgeLightRifleUranium

Resources/Prototypes/Entities/Objects/Weapons/Guns/Ammunition/Boxes/magnum.yml

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
- type: entity
2-
abstract: true
32
parent: BaseItem
4-
id: BaseMagazineBoxMagnum
5-
name: ammunition box (.45 magnum) #imp
6-
description: A box made for 12 rounds of .45 magnum ammunition. #imp
3+
id: BaseMagazineBoxMagnumWizden #imp - see the _Impstation directory for the version we use
4+
abstract: true
75
components:
86
- type: BallisticAmmoProvider
97
mayTransfer: true
@@ -18,7 +16,7 @@
1816
containers:
1917
ballistic-ammo: !type:Container
2018
- type: Sprite
21-
sprite: _Impstation/Objects/Weapons/Guns/Ammunition/Boxes/magnum.rsi # imp
19+
sprite: Objects/Weapons/Guns/Ammunition/Boxes/magnum.rsi
2220
- type: MagazineVisuals
2321
magState: mag
2422
steps: 4
@@ -28,9 +26,10 @@
2826
# Boxes
2927
- type: entity
3028
parent: BaseMagazineBoxMagnum
31-
id: MagazineBoxMagnum
29+
id: MagazineBoxMagnumWizden #imp - see the _Impstation directory for the version we use
30+
abstract: true
3231
name: ammunition box (.45 magnum)
33-
description: A box made for 12 rounds of .45 magnum ammunition, labeled as live-fire bullets. #imp
32+
description: A cardboard box of .45 magnum rounds. Intended to hold general-purpose kinetic ammunition.
3433
components:
3534
- type: BallisticAmmoProvider
3635
proto: CartridgeMagnum
@@ -43,9 +42,10 @@
4342

4443
- type: entity
4544
parent: BaseMagazineBoxMagnum
46-
id: MagazineBoxMagnumPractice
45+
id: MagazineBoxMagnumPracticeWizden #imp - see the _Impstation directory for the version we use
46+
abstract: true
4747
name: ammunition box (.45 magnum practice)
48-
description: A box made for 12 rounds of .45 magnum ammunition, labeled as practice bullets. #imp
48+
description: A cardboard box of .45 magnum rounds. Intended to hold non-harmful chalk ammunition.
4949
components:
5050
- type: BallisticAmmoProvider
5151
proto: CartridgeMagnumPractice
@@ -58,10 +58,11 @@
5858
- state: practice
5959

6060
- type: entity
61-
id: MagazineBoxMagnumIncendiary
61+
id: MagazineBoxMagnumIncendiaryWizden #imp - see the _Impstation directory for the version we use
62+
abstract: true
6263
parent: BaseMagazineBoxMagnum
6364
name: ammunition box (.45 magnum incendiary)
64-
description: A box made for 12 rounds of .45 magnum ammunition, labeled as incendiary bullets. #imp
65+
description: A cardboard box of .45 magnum rounds. Intended to hold self-igniting incendiary ammunition.
6566
components:
6667
- type: BallisticAmmoProvider
6768
proto: CartridgeMagnumIncendiary
@@ -74,10 +75,11 @@
7475
- state: incendiary
7576

7677
- type: entity
77-
id: MagazineBoxMagnumUranium
78+
id: MagazineBoxMagnumUraniumWizden #imp - see the _Impstation directory for the version we use
79+
abstract: true
7880
parent: BaseMagazineBoxMagnum
7981
name: ammunition box (.45 magnum uranium)
80-
description: A box made for 12 rounds of .45 magnum ammunition, labeled as uranium bullets. #imp
82+
description: A cardboard box of .45 magnum rounds. Intended to hold exotic uranium-core ammunition.
8183
components:
8284
- type: BallisticAmmoProvider
8385
proto: CartridgeMagnumUranium
@@ -90,10 +92,11 @@
9092
- state: uranium
9193

9294
- type: entity
93-
id: MagazineBoxMagnumAP
95+
id: MagazineBoxMagnumAPWizden #imp - see the _Impstation directory for the version we use
96+
abstract: true
9497
parent: BaseMagazineBoxMagnum
9598
name: ammunition box (.45 magnum armor-piercing)
96-
description: A box made for 12 rounds of .45 magnum ammunition, labeled as armor-piercing bullets. #imp
99+
description: A cardboard box of .45 magnum rounds. Intended to hold rare armor-piercing ammunition.
97100
components:
98101
- type: BallisticAmmoProvider
99102
proto: CartridgeMagnumAP

0 commit comments

Comments
 (0)