Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SVT Mid-tier Weapon #1417

Merged
merged 33 commits into from
Jul 8, 2024
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
8ec9671
add a new weapon to the game
VividPups May 25, 2024
79b467c
update
VividPups May 25, 2024
ae41312
small updates
VividPups May 25, 2024
0e32673
so i can fix it
VividPups May 26, 2024
a6f3e26
fix
VividPups May 26, 2024
5d7efe7
some updates
VividPups May 26, 2024
851ba81
Update weapon_cases_shuttle_guns.yml
VividPups May 26, 2024
ee700ed
Merge branch 'new-frontiers-14:master' into SVT40
VividPups May 26, 2024
11a558e
rifle
VividPups May 26, 2024
230de00
In the wrong place
VividPups May 26, 2024
3246c04
Merge branch 'new-frontiers-14:master' into SVT40
VividPups May 28, 2024
75bb1b1
Update Resources/Prototypes/_NF/Catalog/Fills/Items/weapon_cases_shut…
VividPups May 30, 2024
fa6d893
Update Resources/Prototypes/_NF/Catalog/Fills/Items/weapon_cases_expe…
VividPups May 30, 2024
7a6415d
updates
VividPups May 30, 2024
0e12d86
updates again
VividPups May 30, 2024
64f08c4
Merge branch 'new-frontiers-14:master' into SVT40
VividPups May 30, 2024
74012b7
Shuttle update
VividPups May 30, 2024
9738713
ammo
VividPups May 30, 2024
99583ac
aaa
VividPups May 30, 2024
46ec8a2
Delete snipers.yml
VividPups Jun 4, 2024
339b3b7
Update snipers.yml
VividPups Jun 4, 2024
cd507dc
Merge branch 'master' of https://github.com/new-frontiers-14/frontier…
Jun 9, 2024
0ea12bb
Resolve merge conflicts (for real this time)
Jun 9, 2024
700ca3f
Merge branch 'new-frontiers-14:master' into SVT40
VividPups Jun 10, 2024
64ced0a
Merge branch 'master' into SVT40
VividPups Jun 16, 2024
bba8d44
aaa
VividPups Jun 16, 2024
471e256
Update dungeon_items_weapons.yml
VividPups Jun 16, 2024
5127867
Update weapon_cases_expedition.yml
VividPups Jun 16, 2024
01c0758
GADDAMNIT WHATSONE
VividPups Jun 23, 2024
5813bba
ADSFGAFGA
VividPups Jun 23, 2024
07c49b5
Merge branch 'master' into SVT40
VividPups Jun 24, 2024
c063ac0
Merge branch 'new-frontiers-14:master' into SVT40
VividPups Jun 27, 2024
bbb0797
Merge branch 'new-frontiers-14:master' into SVT40
VividPups Jul 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Resources/Prototypes/Entities/Structures/Machines/lathe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -883,6 +883,8 @@
- ShellTranquilizer
- SpeedLoaderMagnum
- SpeedLoaderMagnumEmpty
- MagazineSVT #frontier by VividPups
- MagazineSVTempty #frontier VividPups
VividPups marked this conversation as resolved.
Show resolved Hide resolved
- type: MaterialStorage
whitelist:
tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,19 @@
- id: MagazineBoxMagnum
amount: 2

- type: entity #made By VividPups added in with PR 1770
VividPups marked this conversation as resolved.
Show resolved Hide resolved
parent: WeaponCaseLong
id: WeaponCaseLongSVTExpedition
suffix: Dungeon, SVT
noSpawn: true
components:
- type: StorageFill
contents:
- id: WeaponSVT
amount: 1
- id: MagazineSVT
amount: 2

# RPG
- type: entity
parent: WeaponCaseLong
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,29 @@
- id: WeaponShotgunSawnNonlethal
- id: BoxBeanbag

# WeaponSVT
- type: entity #made By VividPups added in with PR 1770
parent: WeaponCaseLongShuttle
id: ShuttleWeaponSVT
noSpawn: true
components:
- type: StorageFill
contents:
- id: WeaponSVT
- id: MagazineSVT

# WeaponSVTNonlethal # Frontier - TODO: Restore this later
# - type: entity
# parent: WeaponCaseLongShuttle
# id: ShuttleWeaponSVTNonlethal
# noSpawn: true
# components:
# - type: StorageFill
# contents:
# - id: N/A
VividPups marked this conversation as resolved.
Show resolved Hide resolved
# - id: MagazineSVTRubber


# T3:
# WeaponEnergyGun
- type: entity
Expand Down
12 changes: 12 additions & 0 deletions Resources/Prototypes/_NF/Catalog/Fills/Lockers/guns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,12 @@
prob: 0.1
# - id: ShuttleKardashev-MosinNonlethal # Frontier - TODO: Restore rubber
# orGroup: T1-2
# prob: 0.1
- id: ShuttleWeaponSVT
orGroup: T1-2
prob: 0.1
# - id: ShuttleWeaponSVTNonlethal # Frontier - TODO: Restore rubber
# orGroup: T1-2
# prob: 0.1
# T2-1
- id: ShuttleWeaponPistolMk58
Expand All @@ -142,6 +148,12 @@
prob: 0.1
# - id: ShuttleWeaponShotgunSawnNonlethal # Frontier - TODO: Restore rubber
# orGroup: T2-1
# prob: 0.1
- id: ShuttleWeaponSVT
orGroup: T2-1
prob: 0.1
# - id: ShuttleWeaponSVTNonlethal # Frontier - TODO: Restore rubber
# orGroup: T2-1
# prob: 0.1
# T2 Melee
- id: SpearReinforced
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
- WeaponCaseShortLaserGunExpedition
- WeaponCaseLongKammererExpedition
- WeaponCaseLongRepeaterExpedition
- WeaponCaseLongSVTExpedition
#- WeaponCaseShortSvalinnExpedition
chance: 0.7
offset: 0.0
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
- type: entity #made By VividPups added in with PR 1770
id: MagazineSVT
name: "10 rounder SVT magazine (.30 rifle)"
VividPups marked this conversation as resolved.
Show resolved Hide resolved
parent: BaseMagazineLightRifle
components:
- type: Tag
tags:
- MagazineLightRifle
- type: BallisticAmmoProvider
proto: CartridgeLightRifle
capacity: 10
- type: Sprite
sprite: _NF/Objects/Weapons/Ammunition/svt40.rsi

- type: entity
id: MagazineSVTempty
VividPups marked this conversation as resolved.
Show resolved Hide resolved
name: "10 rounder SVT magazine (.30 rifle any)"
suffix: empty
parent: MagazineSVT
components:
- type: BallisticAmmoProvider
proto: null

- type: entity
id: MagazineSVTUranium
name: "10 rounder SVT magazine (.30 rifle uranium)"
parent: MagazineSVT
components:
- type: BallisticAmmoProvider
proto: CartridgeLightRifleUranium
- type: Sprite
layers:
- state: uranium
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]

# type: entity to be added back when Rubber rounds are added.
# id: MagazineSVTRubber
#name: "10 Rounder SVT magazine (.30 rifle rubber)"
#parent: MagazineSVT
#components:
# type: BallisticAmmoProvider
# proto: CartridgeLightRifleRubber
#type: Sprite
#layers:
# state: rubber
#map: ["enum.GunVisualLayers.Base"]
#state: mag-1
#map: ["enum.GunVisualLayers.Mag"]

- type: entity
id: MagazineSVTPractice
name: "10 rounder SVT magazine (.30 rifle practice)"
parent: MagazineSVT
components:
- type: BallisticAmmoProvider
proto: CartridgeLightRiflePractice
- type: Sprite
layers:
- state: practice
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]

- type: entity
id: MagazineSVTIncendiary
name: "10 rounder SVT magazine (.30 rifle incendiary)"
parent: MagazineSVT
components:
- type: BallisticAmmoProvider
proto: CartridgeLightRifleIncendiary
- type: Sprite
sprite: _NF/Objects/Weapons/Ammunition/svt40.rsi
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,60 @@
# - CartridgeLightRifle
# capacity: 10
# proto: CartridgeLightRifleRubber

- type: entity #made By VividPups added in with PR 1770
id: WeaponSVT
name: SVT-40
parent: BaseWeaponRifle
description: Once a weapon used in war, now a civilian hunting rifle brought to you by S.E.S.W, Retreating is Consider Treason is etch into the side
components:
- type: Sprite
sprite: _NF/Objects/Weapons/Guns/Rifles/svt40.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: base
map: ["enum.GunVisualLayers.Mag"]
- type: Clothing
sprite: _NF/Objects/Weapons/Guns/Rifles/svt40.rsi
quickEquip: false
slots:
- Back
- suitStorage
- type: Gun
fireRate: 3.5
selectedMode: SemiAuto
availableModes:
- SemiAuto
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/rifle2.ogg
- type: ChamberMagazineAmmoProvider
soundRack:
path: /Audio/Weapons/Guns/Cock/ltrifle_cock.ogg
- type: ItemSlots
slots:
gun_magazine:
name: Magazine
startingItem: MagazineSVT
insertSound: /Audio/Weapons/Guns/MagIn/ltrifle_magin.ogg
ejectSound: /Audio/Weapons/Guns/MagOut/ltrifle_magout.ogg
priority: 2
whitelist:
tags:
- MagazineLightRifle
gun_chamber:
name: Chamber
startingItem: CartridgeLightRifle
priority: 1
whitelist:
tags:
- CartridgeLightRifle
- type: ContainerContainer
containers:
gun_magazine: !type:ContainerSlot
gun_chamber: !type:ContainerSlot
- type: MagazineVisuals
magState: mag
steps: 1
zeroVisible: true
- type: Appearance
17 changes: 17 additions & 0 deletions Resources/Prototypes/_NF/Recipes/Lathes/ammo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# these were added By VividPups for the AMMOfab for; added in with PR 1770

- type: latheRecipe
id: MagazineSVT
result: MagazineSVT
category: Ammo
completetime: 5
materials:
Steel: 25

- type: latheRecipe
id: MagazineSVTempty
result: MagazineSVTempty
category: Ammo
completetime: 5
materials:
Steel: 25
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
VividPups marked this conversation as resolved.
Show resolved Hide resolved
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,29 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "https://github.com/shiptest-ss13/Shiptest/pull/1602/commits/3e6cfea9d468508a7f64ad5543c3b22479cb465f , https://github.com/shiptest-ss13/Shiptest/blob/master/icons/obj/ammo.dmi",
"states": [
{
"name": "base"
},
{
"name": "practice"
},
{
"name": "red"
},
{
"name": "rubber"
},
{
"name": "uranium"
},
{
"name": "mag-1"
}
]
}
VividPups marked this conversation as resolved.
Show resolved Hide resolved
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.
VividPups marked this conversation as resolved.
Show resolved Hide resolved
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
VividPups marked this conversation as resolved.
Show resolved Hide resolved
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,35 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken/modified from cev-eris at https://github.com/discordia-space/CEV-Eris/pull/6042/commits/64916c98f4847acc4adf3a2416bf78c005fd7dd7, https://github.com/discordia-space/CEV-Eris/raw/e1a3cbe9ba2e6e29b7f1cad1bb456b390aac936d/icons/obj/guns/projectile.dmi, backpack sprite by Peptide, backpack sling sprite edited by Boaz1111",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "base"
},
{
"name": "bolt-open"
},
{
"name": "mag-0"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "equipped-BACKPACK",
"directions": 4
}
]
}
Loading