Skip to content

Commit

Permalink
Фикс оружия для осщ (#472)
Browse files Browse the repository at this point in the history
🆑
- add: Добавлена возможность печатать пистолетные обоймы для .45
калибра(ладно).
- tweak: После полевых испытаний, лазерный револьвер "ОСЩ" немного
облегчили позволив стрелять из одной руки.
  • Loading branch information
Filokini authored Sep 15, 2024
1 parent b0b3c90 commit 6036381
Show file tree
Hide file tree
Showing 23 changed files with 144 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
ent-ADTMagazineRifleBibis = магазин от страйкбольного автомата
.desc = Магазин для страйкбольного автомата, с двумя сотнями маленьких шариков.
.suffix = { "Страйкбол" }
.desc = Магазин для страйкбольного автомата, с двумя сотнями маленьких шариков.
.suffix = { "Страйкбол" }
ent-ADTMagazineMagnumIncendiary = пистолетный магазин (.45 зажигательные)
.desc = { ent-BaseMagazinePistol.desc }
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
- 3,0,6,1
- type: StorageFill
contents:
- id: ADTWeaponSaberRevBlueshield
- id: ADTPowerCellLasgunRevolver
- id: ADTPowerCellLasgunRevolver
- id: ADTPowerCellLasgunRevolver
- id: ADTWeaponSaberRevBlueshield
- id: ADTPowerCellLasgunRevolver
- id: ADTPowerCellLasgunRevolver
- id: ADTPowerCellLasgunRevolver
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
- type: entity
id: ADTMagazineMagnumIncendiary
name: pistol magazine (.45 magnum uranium)
parent: BaseMagazineMagnum
components:
- type: BallisticAmmoProvider
proto: CartridgeMagnumIncendiary
- type: Sprite
layers:
- state: incendiary
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
- type: Clothing
sprite: ADT/Objects/Weapons/Guns/Pistols/deser_eagle.rsi
- type: Gun
minAngle: 10
maxAngle: 10
angleIncrease: 5
angleDecay: 5
fireRate: 4.1
minAngle: 4
maxAngle: 6
angleIncrease: 1
angleDecay: 1
fireRate: 3.2
availableModes:
- SemiAuto
soundGunshot:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,10 @@
netsync: false
- type: Gun
fireRate: 1.8
projectileSpeed: 30
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/laser_cannon.ogg
useKey: false
- type: Wieldable
- type: IncreaseDamageOnWield
damage:
types:
Blunt: 5
Slash: 5
Structural: 10
- type: MeleeWeapon
wideAnimationRotation: -135
attackRate: 1
Expand All @@ -68,10 +62,9 @@
variation: 0.125
activatedDamage:
types:
Slash: 5
Heat: 5
Structural: 20
- type: GunRequiresWield
Slash: 10
Heat: 10
Structural: 25
- type: ToggleableLightVisuals
spriteLayer: blade
inhandVisuals:
Expand Down
35 changes: 35 additions & 0 deletions Resources/Prototypes/ADT/Recipes/Lathes/security.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
- type: latheRecipe
id: ADTMagazineMagnumEmpty
result: MagazineMagnumEmpty
category: Ammo
completetime: 5
materials:
Steel: 25

- type: latheRecipe
id: ADTMagazineMagnum
result: MagazineMagnum
category: Ammo
completetime: 5
materials:
Steel: 170

- type: latheRecipe
id: ADTMagazineMagnumIncendiary
result: ADTMagazineMagnumIncendiary
category: Ammo
completetime: 5
materials:
Steel: 25
Plastic: 145

- type: latheRecipe
id: ADTMagazineMagnumUranium
result: MagazineMagnumUranium
category: Ammo
completetime: 5
materials:
Steel: 25
Plastic: 145
Uranium: 125

Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,27 @@
- type: Tag
tags:
- MagazineMagnum
# Start ADT tweak
- type: Sprite
sprite: ADT/Objects/Weapons/Guns/Ammunition/Magazine/Pistol/pistol_magnum_mag.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
# End ADT tweak
- type: BallisticAmmoProvider
mayTransfer: true
whitelist:
tags:
- CartridgeMagnum
capacity: 7
# Start Adt tweak
- type: MagazineVisuals
magState: mag
steps: 6
zeroVisible: false
# End ADT tweak

- type: entity
id: BaseMagazineMagnumSubMachineGun
Expand Down
8 changes: 8 additions & 0 deletions Resources/Prototypes/Entities/Structures/Machines/lathe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -832,6 +832,10 @@
- MagazineLightRifleEmpty
- MagazinePistol
- MagazinePistolEmpty
# Start ADT tweak
- ADTMagazineMagnum
- ADTMagazineMagnumEmpty
# End ADT tweak
- MagazinePistolSubMachineGun
- MagazinePistolSubMachineGunEmpty
- MagazinePistolSubMachineGunTopMounted
Expand Down Expand Up @@ -876,6 +880,10 @@
- MagazineLightRifleUranium
- MagazinePistolIncendiary
- MagazinePistolUranium
# Start ADT tweak
- ADTMagazineMagnumIncendiary
- ADTMagazineMagnumUranium
# Start ADT tweak
- MagazineRifleIncendiary
- MagazineRifleUranium
- MagazineShotgunBeanbag
Expand Down
6 changes: 6 additions & 0 deletions Resources/Prototypes/Research/arsenal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
- BoxShotgunIncendiary
- MagazineRifleIncendiary
- MagazinePistolIncendiary
# Start ADT tweak
- ADTMagazineMagnumIncendiary
# Start ADT tweak
- MagazineLightRifleIncendiary
- SpeedLoaderMagnumIncendiary
- MagazineShotgunIncendiary
Expand Down Expand Up @@ -78,6 +81,9 @@
recipeUnlocks:
- MagazineRifleUranium
- MagazinePistolUranium
# Start ADT tweak
- ADTMagazineMagnumUranium
# Start ADT tweak
- MagazineLightRifleUranium
- SpeedLoaderMagnumUranium
- MagazineBoxPistolUranium
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "Made by discord:filokini",
"states": [
{
"name": "base"
},
{
"name": "practice"
},
{
"name": "red"
},
{
"name": "incendiary"
},
{
"name": "red-icon"
},
{
"name": "rubber"
},
{
"name": "uranium"
},
{
"name": "piercing"
},
{
"name": "mag-1"
},
{
"name": "mag-2"
},
{
"name": "mag-3"
},
{
"name": "mag-4"
},
{
"name": "mag-5"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6036381

Please sign in to comment.