Svalinn Experimental Battery Ammo Research [T3] (#22045)

This commit is contained in:
Emisse
2023-12-16 20:43:49 -07:00
committed by GitHub
parent 8f3d1d8bec
commit 8c1eecffd4
25 changed files with 176 additions and 3 deletions

View File

@@ -28,9 +28,13 @@
- type: Tag
tags:
- DroneUsable
- PowerCell
- type: Appearance
- type: PowerCellVisuals
- type: Riggable
- type: HitscanBatteryAmmoProvider
proto: RedLightLaser
fireCost: 50
- type: entity
name: potato battery
@@ -112,7 +116,7 @@
startingCharge: 720
- type: MachinePart
part: PowerCell
rating: 2
rating: 2
- type: entity
id: PowerCellMediumPrinted
@@ -151,7 +155,7 @@
- type: MachinePart
part: PowerCell
rating: 3
- type: entity
id: PowerCellHighPrinted
suffix: Empty
@@ -189,7 +193,7 @@
- type: MachinePart
part: PowerCell
rating: 4
- type: entity
id: PowerCellHyperPrinted
suffix: Empty

View File

@@ -31,6 +31,41 @@
- type: StaticPrice
price: 500
- type: entity
id: BaseWeaponPowerCell
parent: BaseItem
abstract: true
components:
- type: Sprite
- type: Item
size: Huge
- type: AmmoCounter
- type: Gun
fireRate: 2
selectedMode: SemiAuto
availableModes:
- SemiAuto
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/laser.ogg
- type: MagazineAmmoProvider
- type: ItemSlots
slots:
gun_magazine:
name: Magazine
startingItem: PowerCellSmall
insertSound: /Audio/Weapons/Guns/MagIn/batrifle_magin.ogg
ejectSound: /Audio/Weapons/Guns/MagOut/batrifle_magout.ogg
whitelist:
tags:
- PowerCell
- PowerCellSmall
- type: Appearance
- type: StaticPrice
price: 500
- type: ContainerContainer
containers:
gun_magazine: !type:ContainerSlot
- type: entity
id: BaseWeaponBatterySmall
parent: BaseWeaponBattery
@@ -47,6 +82,43 @@
slots:
- Belt
- type: entity
id: BaseWeaponPowerCellSmall
parent: BaseWeaponPowerCell
abstract: true
components:
- type: Item
size: Small
- type: Tag
tags:
- Sidearm
- type: Clothing
sprite: Objects/Weapons/Guns/Battery/taser.rsi
quickEquip: false
slots:
- Belt
- type: entity
name: svalinn laser pistol
parent: BaseWeaponPowerCellSmall
id: WeaponLaserSvalinn
description: A cheap and widely used laser pistol.
components:
- type: Sprite
sprite: Objects/Weapons/Guns/Battery/svalinn.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-unshaded-4
map: ["enum.GunVisualLayers.MagUnshaded"]
shader: unshaded
- type: Item
sprite: Objects/Weapons/Guns/Battery/svalinn.rsi
- type: MagazineVisuals
magState: mag
steps: 5
zeroVisible: true
- type: entity
name: retro laser blaster
parent: BaseWeaponBatterySmall

View File

@@ -267,6 +267,7 @@
- WeaponCrusherDagger
- WeaponCrusherGlaive
- WeaponForceGun
- WeaponLaserSvalinn
- WeaponProtoKineticAccelerator
- WeaponTetherGun
- WeaponGrapplingGun