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

new guns PR 1: chinese pistol and some fixes #143

Closed
wants to merge 50 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
6622fc8
guns, here the problematic anti material rifle
PatoGrone Jun 20, 2023
35775a7
Update snipers.yml
Peptide90 Jun 21, 2023
ebe759b
Ammunition calibers
PatoGrone Aug 21, 2023
305fff7
Merge branch 'master' of https://github.com/PatoGrone/nuclear-14
PatoGrone Aug 21, 2023
daca4cf
Update 10mm.yml
Peptide90 Aug 22, 2023
48c7e94
Update 12.7.yml
Peptide90 Aug 22, 2023
d9eeceb
Update 12gauge.yml
Peptide90 Aug 22, 2023
ee17c5a
Update 20gauge.yml
Peptide90 Aug 22, 2023
6d2201f
Update 22lr.yml
Peptide90 Aug 22, 2023
4523ec5
Update 308.yml
Peptide90 Aug 22, 2023
c51f675
Update 44.yml
Peptide90 Aug 22, 2023
af516ff
Update 45..yml
Peptide90 Aug 22, 2023
30c24dc
Update 5.56.yml
Peptide90 Aug 22, 2023
ae6825e
Update 7.62.yml
Peptide90 Aug 22, 2023
b3036d1
Update 9mm.yml
Peptide90 Aug 22, 2023
0e52bce
Rename 45..yml to 45.yml
Peptide90 Aug 22, 2023
d2184a8
Rename 45..yml to 45.yml
Peptide90 Aug 22, 2023
6a24608
Update 5.56.yml
Peptide90 Aug 22, 2023
c4ef18f
Update 7.62.yml
Peptide90 Aug 22, 2023
fb828db
Delete .308 box open.png
PatoGrone Aug 24, 2023
d3e0668
Merge branch 'master' of https://github.com/PatoGrone/nuclear-14
PatoGrone Aug 24, 2023
dedad22
Delete Mag-0.png
PatoGrone Aug 24, 2023
e40ca45
Create mag-0.png
PatoGrone Aug 24, 2023
70c4ef9
Delete mag-0.png
PatoGrone Aug 24, 2023
2194aa8
Create mag-0.png
PatoGrone Aug 24, 2023
fcb3ed1
Update antidote.png
PatoGrone Aug 26, 2023
07bb292
Merge branch 'master' of https://github.com/PatoGrone/nuclear-14
PatoGrone Aug 26, 2023
5bffb5f
Update tags.yml
PatoGrone Aug 26, 2023
7acc402
Merge branch 'master' into master
Peptide90 Aug 26, 2023
90460af
Update 50.yml
Peptide90 Aug 27, 2023
eadb080
Merge branch 'master' of https://github.com/PatoGrone/nuclear-14
PatoGrone Aug 27, 2023
d250d9c
Merge branch 'master' of https://github.com/PatoGrone/nuclear-14
PatoGrone Aug 28, 2023
c93b207
more fixes
PatoGrone Aug 28, 2023
f587ea5
fix linter
Cheackraze Aug 28, 2023
e2befe5
melee weapons
PatoGrone Aug 31, 2023
cb5d12c
Merge branch 'master' of https://github.com/PatoGrone/nuclear-14
PatoGrone Aug 31, 2023
6f0862e
Merge branch 'master' of https://github.com/PatoGrone/nuclear-14
PatoGrone Aug 31, 2023
2cd1200
machete name change
PatoGrone Aug 31, 2023
695e084
machete change
PatoGrone Aug 31, 2023
52390b9
tiny error fix
PatoGrone Aug 31, 2023
ec296b0
Update meta.json
PatoGrone Aug 31, 2023
ae6c243
Update meta.json
PatoGrone Aug 31, 2023
7462b7d
parented the axes
PatoGrone Sep 3, 2023
08d782f
Update longblades.yml
PatoGrone Sep 3, 2023
820af2a
Update longblades.yml
PatoGrone Sep 3, 2023
3fe3fb7
Update hammer.yml
Peptide90 Sep 4, 2023
74582d7
Update longblades.yml
Peptide90 Sep 4, 2023
a512d4e
fix hammer lint
Peptide90 Sep 4, 2023
6913049
fix longblades.yml lint
Peptide90 Sep 4, 2023
4505931
little sprite changes and 1 new pistol with extra variant
PatoGrone Dec 17, 2023
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
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
- type: Tag
tags:
- Cartridge
- N14CartridgePistol10
- N14CartridgePistol10
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
- type: Tag
tags:
- Cartridge
- N14CartridgePistol12.7
- N14CartridgePistol12.7
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
- type: Tag
tags:
- Cartridge
- N14CartridgePistol22
- N14CartridgePistol22
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
- type: Tag
tags:
- Cartridge
- N14Cartridge308Rifle
- N14Cartridge308Rifle
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
- type: Tag
tags:
- Cartridge
- N14Cartridge44Magnum
- N14Cartridge44Magnum
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
- type: Tag
tags:
- Cartridge
- N14CartridgePistol45
- N14CartridgePistol45
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
- type: Tag
tags:
- Cartridge
- N14Cartridge5.56Rifle
- N14Cartridge5.56Rifle
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
- type: Tag
tags:
- Cartridge
- N14Cartridge7.62Rifle
- N14Cartridge7.62Rifle
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
- type: Tag
tags:
- Cartridge
- N14CartridgePistol9
- N14CartridgePistol9
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
components:
- type: Tag
tags:
- Magazine5.56Rifle
- LongMagazine5.56Rifle
- type: BallisticAmmoProvider
proto: N14Cartridge5.56Rifle
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
whitelist:
tags:
- N14CartridgePistol9
- type: Gun
selectedMode: SemiAuto
availableModes:
- SemiAuto

- type: entity
name: 10mm Pistol
Expand Down Expand Up @@ -67,6 +71,10 @@
whitelist:
tags:
- N14CartridgePistol10
- type: Gun
selectedMode: SemiAuto
availableModes:
- SemiAuto

- type: entity
name: .45 handgun
Expand Down Expand Up @@ -109,6 +117,10 @@
containers:
gun_magazine: !type:ContainerSlot
gun_chamber: !type:ContainerSlot
- type: Gun
selectedMode: SemiAuto
availableModes:
- SemiAuto

- type: entity
name: 12.7mm handgun
Expand Down Expand Up @@ -151,6 +163,10 @@
containers:
gun_magazine: !type:ContainerSlot
gun_chamber: !type:ContainerSlot
- type: Gun
selectedMode: SemiAuto
availableModes:
- SemiAuto

- type: entity
name: 10mm pipe pistol
Expand Down Expand Up @@ -186,3 +202,79 @@
whitelist:
tags:
- N14CartridgePistol10
- type: Gun
selectedMode: SemiAuto
availableModes:
- SemiAuto

- type: entity
name: chinese pistol
parent: BaseWeaponPistol
id: N14WeaponPistolChinese
description: A elegant and long pistol with a internal magazine, chambered in 9 mm.
components:
- type: Sprite
sprite: Nuclear14/Objects/Weapons/Guns/Pistols/9mm.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-0
map: ["enum.GunVisualLayers.Mag"]
- type: Item
sprite: Nuclear14/Objects/Weapons/Guns/Pistols/chinesepistol.rsi
- type: Gun
fireRate: 5
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/mk58.ogg
gun_chamber:
name: Chamber
startingItem: N14CartridgePistol9
priority: 1
whitelist:
tags:
- N14CartridgePistol9
- type: BallisticAmmoProvider
whitelist:
tags:
- N14CartridgePistol9
capacity: 14
proto: N14CartridgePistol9
- type: Gun
selectedMode: SemiAuto
availableModes:
- SemiAuto

- type: entity
name: the spy
parent: BaseWeaponPistol
id: N14WeaponPistolSpy
description: A totally modified chinese pistol. with a integrated silencer, fully automatic conversion and a extended magazine this pistol was designed for brutal silent murder, chambered in 9 mm.
components:
- type: Sprite
sprite: Nuclear14/Objects/Weapons/Guns/Pistols/9mm.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- type: Item
sprite: Nuclear14/Objects/Weapons/Guns/Pistols/chinesepistol.rsi
- type: Gun
fireRate: 6
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/mk58.ogg
gun_chamber:
name: Chamber
startingItem: N14CartridgePistol9
priority: 1
whitelist:
tags:
- N14CartridgePistol9
- type: BallisticAmmoProvider
whitelist:
tags:
- N14CartridgePistol9
capacity: 24
proto: N14CartridgePistol9
- type: Gun
selectedMode: Fullauto
availableModes:
- Fullauto
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,57 @@
Piercing: 5
- type: Item
sprite: Nuclear14/Objects/Weapons/Melee/hatchet.rsi

- type: entity
name: fireaxe
parent: N14BaseAxe
id: N14FireAxe
description: Truly, the weapon of a madman. Who would think to fight fire with an axe?
components:
- type: Sprite
sprite: Nuclear14/Objects/Weapons/Melee/fireaxe.rsi
state: icon
- type: Clothing
sprite: Nuclear14/Objects/Weapons/Melee/fireaxe.rsi
quickEquip: false
slots:
- back
- type: Tool
qualities:
- Prying
- type: TilePrying
advanced: true

- type: entity
name: axe
parent: BaseItem
id: N14BaseAxe
description: A heavy wood axe, classic tool and weapon.
components:
- type: Tag
tags:
- FireAxe
- type: Sharp
- type: Sprite
sprite: Nuclear14/Objects/Weapons/Melee/axe.rsi
state: icon
- type: MeleeWeapon
attackRate: 0.75
damage:
types:
# axes are kinda like sharp hammers, you know?
Blunt: 5
Slash: 5
- type: Wieldable
- type: IncreaseDamageOnWield
damage:
types:
Blunt: 2
Slash: 18
- type: Item
size: 150
- type: Clothing
sprite: Nuclear14/Objects/Weapons/Melee/axe.rsi
quickEquip: false
slots:
- back
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,23 @@
qualities:
- Crushing
useSound:
path: /Audio/Items/eating_2.ogg # TODO: Crushing noise
path: /Audio/Items/eating_2.ogg # TODO: Crushing noise

- type: entity
name: super sledge hammer
parent: N14SledgeHammer
id: N14SuperSledgeHammer
description: A bigger, heavier and more destructive sledge hammer, you really need some strong arms to swing it.
components:
- type: Sprite
sprite: Nuclear14/Objects/Weapons/Melee/supersledge.rsi
state: icon
- type: MeleeWeapon
damage:
types:
Blunt: 5
- type: Wieldable
- type: IncreaseDamageOnWield
damage:
types:
Blunt: 35
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,54 @@
- type: Item
size: 15
sprite: Nuclear14/Objects/Weapons/Melee/machete.rsi

- type: entity
name: tribal machete
parent: N14Machete
id: N14TribalMachete
description: A tribal machete, made from the materials giben by the nature, this long blade has the perfect balance between tool and weapon.
components:
- type: Sprite
sprite: Nuclear14/Objects/Weapons/Melee/tribal_machete.rsi
state: icon
- type: MeleeWeapon
damage:
types:
Slash: 16
soundHit:
path: /Audio/Weapons/bladeslice.ogg

- type: entity
name: scrap machete
parent: N14Machete
id: N14ScrapMachete
description: A makeshift long blade machete, not the most sharp blade but it can still cut some meat.
components:
- type: Sprite
sprite: Nuclear14/Objects/Weapons/Melee/scrap_machete.rsi
state: icon
- type: MeleeWeapon
damage:
types:
Slash: 16
soundHit:
path: /Audio/Weapons/bladeslice.ogg

- type: entity
name: ripper
parent: N14Machete
id: N14ripper
description: A light one handed wield chainsaw, originally designed by the pre-war army sappers to clean selvatic and wooded paths, it also works well against meat.
components:
- type: Sprite
sprite: Nuclear14/Objects/Weapons/Melee/ripper.rsi
state: icon
- type: MeleeWeapon
damage:
types:
Slash: 25
soundHit:
path: /Audio/Weapons/chainsaw.ogg
- type: Item
size: 30
sprite: Nuclear14/Objects/Weapons/Melee/ripper.rsi
2 changes: 1 addition & 1 deletion Resources/Prototypes/Nuclear14/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@
id: Bighorner

- type: Tag
id: Radstag
id: Radstag
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,25 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "made by PatoGrone for N14",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "base"
},
{
"name": "bolt-open"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}
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,25 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "made by PatoGrone for N14",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "base"
},
{
"name": "bolt-open"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading