Uranium & AP magazine and projectile sprites (#23914)

Add missing uranium and AP magazine and box sprite layers. Add uranium and AP projectile sprites. Fix whitelist issue that made .45 pistol mags not go in secbelt.
This commit is contained in:
IProduceWidgets
2024-01-11 03:01:41 -05:00
committed by GitHub
parent 3b6bfde83d
commit 11bbf2b020
57 changed files with 265 additions and 10 deletions

View File

@@ -455,6 +455,7 @@
- Radio
- Sidearm
- MagazinePistol
- MagazineMagnum
components:
- Stunbaton
- FlashOnTrigger

View File

@@ -116,4 +116,5 @@
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
map: ["enum.GunVisualLayers.Mag"]
- state: uranium

View File

@@ -95,4 +95,20 @@
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
map: ["enum.GunVisualLayers.Mag"]
- state: uranium
- type: entity
id: MagazineBoxMagnumAP
parent: BaseMagazineBoxMagnum
name: ammunition box (.45 magnum armor-piercing)
components:
- type: BallisticAmmoProvider
proto: CartridgeMagnumAP
- type: Sprite
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
- state: piercing

View File

@@ -97,4 +97,4 @@
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
- state: uranium

View File

@@ -137,4 +137,5 @@
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
- state: uranium

View File

@@ -96,6 +96,20 @@
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
- type: entity
id: MagazineLightRifleUranium
name: "magazine (.30 rifle uranium)"
parent: BaseMagazineLightRifle
components:
- type: BallisticAmmoProvider
proto: CartridgeLightRifleUranium
- type: Sprite
layers:
- state: uranium
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
- type: entity
id: MagazineLightRifleMaxim
name: "pan magazine (.30 rifle)"

View File

@@ -67,7 +67,7 @@
parent: BaseMagazineMagnum
components:
- type: BallisticAmmoProvider
proto: CartridgeMagnum
proto: CartridgeMagnumPractice
- type: Sprite
layers:
- state: practice
@@ -89,6 +89,34 @@
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
- type: entity
id: MagazineMagnumUranium
name: pistol magazine (.45 magnum uranium)
parent: BaseMagazineMagnum
components:
- type: BallisticAmmoProvider
proto: CartridgeMagnumUranium
- type: Sprite
layers:
- state: uranium
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
- type: entity
id: MagazineMagnumAP
name: pistol magazine (.45 magnum armor-piercing)
parent: BaseMagazineMagnum
components:
- type: BallisticAmmoProvider
proto: CartridgeMagnumAP
- type: Sprite
layers:
- state: piercing
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
- type: entity
id: MagazineMagnumSubMachineGun
name: "Vector magazine (.45 magnum)"
@@ -130,3 +158,31 @@
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
- type: entity
id: MagazineMagnumSubMachineGunUranium
name: "Vector magazine (.45 magnum uranium)"
parent: BaseMagazineMagnumSubMachineGun
components:
- type: BallisticAmmoProvider
proto: CartridgeMagnumUranium
- type: Sprite
layers:
- state: uranium
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
- type: entity
id: MagazineMagnumSubMachineGunPiercing
name: "Vector magazine (.45 magnum armor-piercing)"
parent: BaseMagazineMagnumSubMachineGun
components:
- type: BallisticAmmoProvider
proto: CartridgeMagnumAP
- type: Sprite
layers:
- state: piercing
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]

View File

@@ -259,3 +259,17 @@
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
- type: entity
id: MagazinePistolSubMachineGunUranium
name: SMG magazine (.35 auto rubber)
parent: BaseMagazinePistolSubMachineGun
components:
- type: BallisticAmmoProvider
proto: CartridgePistolUranium
- type: Sprite
layers:
- state: uranium
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]

View File

@@ -74,3 +74,17 @@
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
- type: entity
id: MagazineRifleUranium
name: "magazine (.20 rifle uranium)"
parent: BaseMagazineRifle
components:
- type: BallisticAmmoProvider
proto: CartridgeRifleUranium
- type: Sprite
layers:
- state: uranium
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]

View File

@@ -45,7 +45,7 @@
- type: entity
id: BulletLightRifleUranium
parent: BaseBullet
parent: BaseBulletUranium
name: bullet (.20 rifle uranium)
noSpawn: true
components:

View File

@@ -60,7 +60,7 @@
- type: entity
id: BulletMagnumUranium
name: bullet (.45 magnum uranium)
parent: BaseBullet
parent: BaseBulletUranium
noSpawn: true
components:
- type: Projectile

View File

@@ -45,7 +45,7 @@
- type: entity
id: BulletPistolUranium
parent: BaseBullet
parent: BaseBulletUranium
name: bullet (.35 auto uranium)
noSpawn: true
components:

View File

@@ -45,7 +45,7 @@
- type: entity
id: BulletRifleUranium
parent: BaseBullet
parent: BaseBulletUranium
name: bullet (0.20 rifle uranium)
noSpawn: true
components:

View File

@@ -91,10 +91,30 @@
layers:
- state: base
map: [ "enum.GunVisualLayers.Base" ]
- state: base-6
- state: piercing-6
map: [ "enum.GunVisualLayers.Mag" ]
- type: MagazineVisuals
magState: base
magState: piercing
steps: 7
zeroVisible: false
- type: Appearance
- type: entity
id: SpeedLoaderMagnumUranium
name: "speed loader (.45 magnum uranium)"
parent: BaseSpeedLoaderMagnum
components:
- type: BallisticAmmoProvider
proto: CartridgeMagnumUranium
- type: Sprite
sprite: Objects/Weapons/Guns/Ammunition/SpeedLoaders/Magnum/magnum_speed_loader.rsi
layers:
- state: base
map: [ "enum.GunVisualLayers.Base" ]
- state: uranium-6
map: [ "enum.GunVisualLayers.Mag" ]
- type: MagazineVisuals
magState: uranium
steps: 7
zeroVisible: false
- type: Appearance

View File

@@ -147,12 +147,31 @@
parent: BaseBullet
noSpawn: true
components:
- type: Sprite
sprite: Objects/Weapons/Guns/Projectiles/projectiles2.rsi
layers:
- state: piercing
- type: Projectile
damage:
types:
Piercing: 11 # 20% decrease
ignoreResistances: true
- type: entity
id: BaseBulletUranium
name: base bullet uranium
parent: BaseBullet
noSpawn: true
components:
- type: Sprite
sprite: Objects/Weapons/Guns/Projectiles/projectiles2.rsi
layers:
- state: uranium
- type: Projectile
damage:
types:
Radiation: 11
# Energy projectiles
- type: entity
name: taser bolt

View File

@@ -27,6 +27,9 @@
},
{
"name": "rubber"
},
{
"name": "uranium"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 B

View File

@@ -27,6 +27,12 @@
},
{
"name": "rubber"
},
{
"name": "uranium"
},
{
"name": "piercing"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 B

View File

@@ -24,6 +24,9 @@
},
{
"name": "rubber"
},
{
"name": "uranium"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 B

View File

@@ -30,6 +30,9 @@
},
{
"name": "rubber"
},
{
"name": "uranium"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 245 B

View File

@@ -22,6 +22,9 @@
{
"name": "rubber"
},
{
"name": "uranium"
},
{
"name": "mag-1"
},

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 B

View File

@@ -19,6 +19,9 @@
{
"name": "rubber"
},
{
"name": "uranium"
},
{
"name": "mag-1"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

View File

@@ -19,6 +19,12 @@
{
"name": "rubber"
},
{
"name": "uranium"
},
{
"name": "piercing"
},
{
"name": "mag-1"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 B

View File

@@ -19,6 +19,12 @@
{
"name": "rubber"
},
{
"name": "uranium"
},
{
"name": "piercing"
},
{
"name": "mag-1"
},

Binary file not shown.

After

Width:  |  Height:  |  Size: 254 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B

View File

@@ -22,6 +22,12 @@
{
"name": "rubber"
},
{
"name": "uranium"
},
{
"name": "piercing"
},
{
"name": "mag-1"
},

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 B

View File

@@ -22,6 +22,9 @@
{
"name": "rubber"
},
{
"name": "uranium"
},
{
"name": "mag-1"
},

Binary file not shown.

After

Width:  |  Height:  |  Size: 379 B

View File

@@ -19,6 +19,9 @@
{
"name": "rubber"
},
{
"name": "uranium"
},
{
"name": "mag-1"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 B

View File

@@ -66,6 +66,42 @@
},
{
"name": "rubber-6"
},
{
"name": "uranium-1"
},
{
"name": "uranium-2"
},
{
"name": "uranium-3"
},
{
"name": "uranium-4"
},
{
"name": "uranium-5"
},
{
"name": "uranium-6"
},
{
"name": "piercing-1"
},
{
"name": "piercing-2"
},
{
"name": "piercing-3"
},
{
"name": "piercing-4"
},
{
"name": "piercing-5"
},
{
"name": "piercing-6"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 B

View File

@@ -46,6 +46,24 @@
]
]
},
{
"name": "uranium",
"delays": [
[
0.05,
0.05
]
]
},
{
"name": "piercing",
"delays": [
[
0.05,
0.05
]
]
},
{
"name": "frag"
},

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 B