Captain's Antique Laser Gun and Traitor Objective (#7940)

This commit is contained in:
Emisse
2022-05-09 18:43:36 -06:00
committed by GitHub
parent a7bd808249
commit ea498da45d
22 changed files with 146 additions and 0 deletions

View File

@@ -174,6 +174,27 @@
- type: PowerCellVisualizer
prefix: s_ar
- type: entity
name: antique power cell prototype
description: A small cell that self recharges. Used in old laser arms research.
id: PowerCellAntiqueProto
parent: PowerCellSmallBase
components:
- type: Sprite
sprite: Objects/Power/PowerCells/power_cell_small_autorecharge.rsi
layers:
- state: s_ar
- type: Battery
maxCharge: 60
startingCharge: 60
- type: BatterySelfRecharger
autoRecharge: true
autoRechargeRate: 5
- type: Appearance
visuals:
- type: PowerCellVisualizer
prefix: s_ar
- type: entity
name: medium standard power cell
description: A rechargeable standardized power cell, size M. This is the cheapest kind you can find.

View File

@@ -371,3 +371,40 @@
magState: mag
steps: 5
zeroVisible: true
- type: entity
name: antique laser gun
parent: BatteryGunSmall
id: AntiqueLaserGun
description: This is an antique laser gun. All craftsmanship is of the highest quality. It is decorated with assistant leather and chrome. The object menaces with spikes of energy.
components:
- type: Sprite
netsync: false
sprite: Objects/Weapons/Guns/Battery/antiquelasergun.rsi
layers:
- state: base
map: ["enum.RangedBarrelVisualLayers.Base"]
- state: mag-unshaded-4
map: ["enum.RangedBarrelVisualLayers.MagUnshaded"]
shader: unshaded
- type: Item
size: 12
sprite: Objects/Weapons/Guns/Battery/antiquelasergun.rsi
- type: BatteryBarrel
fireCost: 6
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/laser_cannon.ogg
- type: RangedWeapon
- type: PowerCellSlot
descFormatString : "" # empty string for no examine-text (cell is not ejectable)
cellSlot:
startingItem: PowerCellAntiqueProto
soundOptions:
volume: -2
locked: true
- type: Appearance
visuals:
- type: MagVisualizer
magState: mag
steps: 5
zeroVisible: true