-
Notifications
You must be signed in to change notification settings - Fork 475
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
170 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
uplink-emp-grenade-launcher-bundle-name = EMP China-Lake Bundle | ||
uplink-emp-grenade-launcher-bundle-desc = An old China-Lake grenade launcher bundled with 8 rounds of EMP. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,4 +66,4 @@ | |
parent: BaseCartridgePistol | ||
components: | ||
- type: CartridgeAmmo | ||
proto: BulletPistolEmp | ||
proto: BulletPistolEmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,4 +59,5 @@ | |
parent: BaseBulletEmp | ||
noSpawn: true | ||
components: | ||
- type: Projectile | ||
- type: Projectile | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -814,4 +814,4 @@ | |
- type: EmpOnTrigger | ||
range: 2 | ||
energyConsumption: 50000 | ||
disableDuration: 30 | ||
disableDuration: 30 |
11 changes: 11 additions & 0 deletions
11
Resources/Prototypes/_NF/Catalog/Fills/Backpacks/duffelbag.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
- type: entity | ||
parent: ClothingBackpackDuffelSyndicateBundle | ||
id: ClothingBackpackDuffelSyndicateFilledEmpGrenadeLauncher | ||
name: China-Lake EMP bundle | ||
description: "An old China-Lake grenade launcher bundled with 8 rounds of EMP." | ||
components: | ||
- type: StorageFill | ||
contents: | ||
- id: WeaponLauncherChinaLakeEmp | ||
- id: GrenadeEmp | ||
amount: 8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
- type: listing | ||
id: UplinkEmpGrenadeLauncherBundle | ||
name: uplink-emp-grenade-launcher-bundle-name | ||
description: uplink-emp-grenade-launcher-bundle-desc | ||
icon: { sprite: /Textures/Objects/Weapons/Guns/Launchers/china_lake.rsi, state: icon } | ||
productEntity: ClothingBackpackDuffelSyndicateFilledEmpGrenadeLauncher | ||
cost: | ||
Telecrystal: 25 | ||
categories: | ||
- UplinkBundles |
Empty file.
Empty file.
Empty file.
Empty file.
38 changes: 38 additions & 0 deletions
38
Resources/Prototypes/_NF/Entities/Objects/Weapons/Ammunition/explosives.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Rockets | ||
|
||
- type: entity | ||
id: CartridgeRocketEmp | ||
name: PG-7VL emp | ||
parent: BaseItem | ||
description: A 1.5 emp warhead designed for the RPG-7 launcher. Has tubular shape. | ||
components: | ||
- type: Tag | ||
tags: | ||
- CartridgeRocket | ||
- type: Item | ||
size: 5 | ||
- type: CartridgeAmmo | ||
proto: BulletRocketEmp | ||
deleteOnSpawn: true | ||
- type: Sprite | ||
sprite: Objects/Weapons/Guns/Ammunition/Explosives/explosives.rsi | ||
state: rpg-emp | ||
|
||
# Grenades | ||
|
||
- type: entity | ||
id: GrenadeEmp | ||
name: emp grenade # Chinalake EMP | ||
parent: BaseGrenade | ||
components: | ||
- type: CartridgeAmmo | ||
proto: BulletGrenadeEmp | ||
- type: Sprite | ||
sprite: Objects/Weapons/Guns/Ammunition/Explosives/explosives.rsi | ||
layers: | ||
- state: emp | ||
map: ["enum.AmmoVisualLayers.Base"] | ||
- type: Appearance | ||
- type: SpentAmmoVisuals | ||
state: emp | ||
suffix: false |
34 changes: 34 additions & 0 deletions
34
Resources/Prototypes/_NF/Entities/Objects/Weapons/Guns/Battery/battery_guns.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
- type: entity | ||
name: emp emitter | ||
parent: BaseWeaponBattery | ||
id: WeaponEmpEmitter | ||
description: Releases electromagnetic pulses that disrupt or damage many electronic devices or drain power cells. | ||
components: | ||
- type: Sprite | ||
sprite: Objects/Weapons/Guns/Battery/xray.rsi | ||
layers: | ||
- state: base | ||
map: ["enum.GunVisualLayers.Base"] | ||
- state: mag-unshaded-0 | ||
map: ["enum.GunVisualLayers.MagUnshaded"] | ||
shader: unshaded | ||
- type: Clothing | ||
sprite: Objects/Weapons/Guns/Battery/xray.rsi | ||
- type: Gun | ||
fireRate: 1 | ||
selectedMode: SemiAuto | ||
availableModes: | ||
- SemiAuto | ||
soundGunshot: | ||
path: /Audio/Weapons/Guns/Gunshots/laser3.ogg | ||
- type: Battery | ||
maxCharge: 1000 | ||
startingCharge: 1000 | ||
- type: ProjectileBatteryAmmoProvider | ||
proto: ProjectileEmp | ||
fireCost: 1000 | ||
- type: MagazineVisuals | ||
magState: mag | ||
steps: 5 | ||
zeroVisible: true | ||
- type: Appearance |
65 changes: 65 additions & 0 deletions
65
Resources/Prototypes/_NF/Entities/Objects/Weapons/Guns/Launchers/launchers.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
- type: entity | ||
name: china lake | ||
parent: BaseWeaponLauncher | ||
suffix: EMP | ||
id: WeaponLauncherChinaLakeEmp | ||
description: PLOOP | ||
components: | ||
- type: Sprite | ||
sprite: Objects/Weapons/Guns/Launchers/china_lake.rsi | ||
layers: | ||
- state: icon | ||
map: ["enum.GunVisualLayers.Base"] | ||
- type: Clothing | ||
sprite: Objects/Weapons/Guns/Launchers/china_lake.rsi | ||
- type: AmmoCounter | ||
- type: Gun | ||
fireRate: 1 | ||
selectedMode: SemiAuto | ||
availableModes: | ||
- SemiAuto | ||
soundGunshot: | ||
path: /Audio/Weapons/Guns/Gunshots/grenade_launcher.ogg | ||
- type: BallisticAmmoProvider | ||
whitelist: | ||
tags: | ||
- Grenade | ||
autoCycle: false | ||
capacity: 3 | ||
proto: GrenadeEmp | ||
soundInsert: | ||
path: /Audio/Weapons/Guns/MagIn/batrifle_magin.ogg | ||
|
||
- type: entity | ||
name: RPG-7 | ||
suffix: EMP | ||
parent: BaseWeaponLauncher | ||
id: WeaponLauncherRocketEmp | ||
description: A modified ancient rocket-propelled grenade launcher. | ||
components: | ||
- type: Sprite | ||
sprite: Objects/Weapons/Guns/Launchers/rocket.rsi | ||
layers: | ||
- state: base | ||
map: ["enum.GunVisualLayers.Base"] | ||
- state: mag-0 | ||
map: ["enum.GunVisualLayers.Mag"] | ||
- type: Clothing | ||
sprite: Objects/Weapons/Guns/Launchers/rocket.rsi | ||
- type: Gun | ||
fireRate: 0.5 | ||
soundGunshot: | ||
path: /Audio/Weapons/Guns/Gunshots/rpgfire.ogg | ||
- type: BallisticAmmoProvider | ||
whitelist: | ||
tags: | ||
- CartridgeRocket | ||
proto: CartridgeRocketEmp | ||
capacity: 1 | ||
soundInsert: | ||
path: /Audio/Weapons/Guns/MagIn/batrifle_magin.ogg | ||
- type: MagazineVisuals | ||
magState: mag | ||
steps: 2 | ||
zeroVisible: false | ||
- type: Appearance |
Empty file.